aboutsummaryrefslogtreecommitdiffstats
path: root/erts
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2010-10-01 11:53:09 +0200
committerBjörn Gustavsson <[email protected]>2010-10-01 11:53:09 +0200
commitfa5f3dffb5f93645bf6a4d2af2b78084395f0875 (patch)
tree99b1b3b239dd43a572bd64dfb8e2da11ed1a2a42 /erts
parent132e46f29297ab3de25b33bd52ddbad078900276 (diff)
parent105cc37ee041873c201bf1d0673b0ee071842758 (diff)
downloadotp-fa5f3dffb5f93645bf6a4d2af2b78084395f0875.tar.gz
otp-fa5f3dffb5f93645bf6a4d2af2b78084395f0875.tar.bz2
otp-fa5f3dffb5f93645bf6a4d2af2b78084395f0875.zip
Merge branch 'bjorn/halfword-emulator' into dev
* bjorn/halfword-emulator: Fix a bug in the ERTS_BIF_PREP_TRAPx() macros ts_install: Identify the halfword emulator
Diffstat (limited to 'erts')
-rw-r--r--erts/emulator/beam/bif.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/erts/emulator/beam/bif.h b/erts/emulator/beam/bif.h
index 50f5f4fbd6..a84ee7bb23 100644
--- a/erts/emulator/beam/bif.h
+++ b/erts/emulator/beam/bif.h
@@ -135,7 +135,6 @@ do { \
(Proc)->arity = 1; \
(Proc)->def_arg_reg[0] = (Eterm) (A0); \
*((UWord *) (UWord) ((Proc)->def_arg_reg + 3)) = (UWord) ((Trap)->address); \
- (Proc)->def_arg_reg[3] = (UWord) ((Trap)->address); \
(Proc)->freason = TRAP; \
(Ret) = THE_NON_VALUE; \
} while (0)
@@ -146,7 +145,6 @@ do { \
(Proc)->def_arg_reg[0] = (Eterm) (A0); \
(Proc)->def_arg_reg[1] = (Eterm) (A1); \
*((UWord *) (UWord) ((Proc)->def_arg_reg + 3)) = (UWord) ((Trap)->address); \
- (Proc)->def_arg_reg[3] = (UWord) ((Trap)->address); \
(Proc)->freason = TRAP; \
(Ret) = THE_NON_VALUE; \
} while (0)
@@ -158,7 +156,6 @@ do { \
(Proc)->def_arg_reg[1] = (Eterm) (A1); \
(Proc)->def_arg_reg[2] = (Eterm) (A2); \
*((UWord *) (UWord) ((Proc)->def_arg_reg + 3)) = (UWord) ((Trap)->address); \
- (Proc)->def_arg_reg[3] = (UWord) ((Trap)->address); \
(Proc)->freason = TRAP; \
(Ret) = THE_NON_VALUE; \
} while (0)