aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/global.h
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2010-12-15 17:20:46 +0100
committerSverker Eriksson <[email protected]>2011-02-03 17:33:43 +0100
commit651c99b7aac8ac7ca7f84efa0d3bd3b541d6f3a4 (patch)
tree29e555424f947f7a29fa615dd89de5c9017b6d5b /erts/emulator/beam/global.h
parent561f6fd2bc8367acd1bceea291303adb18ad0b93 (diff)
downloadotp-651c99b7aac8ac7ca7f84efa0d3bd3b541d6f3a4.tar.gz
otp-651c99b7aac8ac7ca7f84efa0d3bd3b541d6f3a4.tar.bz2
otp-651c99b7aac8ac7ca7f84efa0d3bd3b541d6f3a4.zip
HALFWORD ETS Real matching on relative terms
Diffstat (limited to 'erts/emulator/beam/global.h')
-rw-r--r--erts/emulator/beam/global.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/erts/emulator/beam/global.h b/erts/emulator/beam/global.h
index 1516d08299..b59f26b2bf 100644
--- a/erts/emulator/beam/global.h
+++ b/erts/emulator/beam/global.h
@@ -901,7 +901,7 @@ Eterm copy_struct_rel(Eterm, Uint, Eterm**, ErlOffHeap*, Eterm* src_base, Eterm*
Eterm copy_shallow_rel(Eterm*, Uint, Eterm**, ErlOffHeap*, Eterm* src_base);
# define copy_shallow(A,B,C,D) copy_shallow_rel(A,B,C,D,NULL)
-#else /* HALFWORD_HEAP */
+#else /* !HALFWORD_HEAP */
Uint size_object(Eterm);
# define size_object_rel(A,B) size_object(A)
@@ -1506,11 +1506,11 @@ erts_dsprintf_buf_t *erts_create_tmp_dsbuf(Uint);
void erts_destroy_tmp_dsbuf(erts_dsprintf_buf_t *);
#if HALFWORD_HEAP
-int eq_rel(Eterm a, Eterm b, Eterm* b_base);
-# define eq(A,B) eq_rel(A,B,NULL)
+int eq_rel(Eterm a, Eterm* a_base, Eterm b, Eterm* b_base);
+# define eq(A,B) eq_rel(A,NULL,B,NULL)
#else
int eq(Eterm, Eterm);
-# define eq_rel(A,B,B_BASE) eq(A,B)
+# define eq_rel(A,A_BASE,B,B_BASE) eq(A,B)
#endif
#define EQ(x,y) (((x) == (y)) || (is_not_both_immed((x),(y)) && eq((x),(y))))