aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_utils.h
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2014-01-16 23:45:42 +0100
committerBjörn-Egil Dahlberg <[email protected]>2014-01-29 11:08:47 +0100
commit9eddc8eb4c7f4ef45b51650750334a787c5f9ef7 (patch)
tree818f864dee178e7d64fc9155a33f960f0fb41d0d /erts/emulator/beam/erl_utils.h
parente21989fdc834c9c9e75454bd06cb6ef29218bf9f (diff)
downloadotp-9eddc8eb4c7f4ef45b51650750334a787c5f9ef7.tar.gz
otp-9eddc8eb4c7f4ef45b51650750334a787c5f9ef7.tar.bz2
otp-9eddc8eb4c7f4ef45b51650750334a787c5f9ef7.zip
erts: Fix compile error for halfword emulator
Diffstat (limited to 'erts/emulator/beam/erl_utils.h')
-rw-r--r--erts/emulator/beam/erl_utils.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/erts/emulator/beam/erl_utils.h b/erts/emulator/beam/erl_utils.h
index c6247c7246..5b81d814c6 100644
--- a/erts/emulator/beam/erl_utils.h
+++ b/erts/emulator/beam/erl_utils.h
@@ -1,7 +1,7 @@
/*
* %CopyrightBegin%
*
- * Copyright Ericsson AB 2012-2013. All Rights Reserved.
+ * Copyright Ericsson AB 2012-2014. All Rights Reserved.
*
* The contents of this file are subject to the Erlang Public License,
* Version 1.1, (the "License"); you may not use this file except in
@@ -204,9 +204,9 @@ int eq(Eterm, Eterm);
#if HALFWORD_HEAP
Sint cmp_rel_opt(Eterm, Eterm*, Eterm, Eterm*, int);
#define cmp_rel(A,A_BASE,B,B_BASE) cmp_rel_opt(A,A_BASE,B,B_BASE,0)
-#define cmp_rel_exact(A,A_BASE,B,B_BASE) cmp_rel_opt(A,A_BASE,B,B_BASE,1)
-#define CMP(A,B) cmp_rel(A,NULL,B,NULL,0)
-#define CMP_TERM(A,B) cmp_rel(A,NULL,B,NULL,1)
+#define cmp_rel_term(A,A_BASE,B,B_BASE) cmp_rel_opt(A,A_BASE,B,B_BASE,1)
+#define CMP(A,B) cmp_rel_opt(A,NULL,B,NULL,0)
+#define CMP_TERM(A,B) cmp_rel_opt(A,NULL,B,NULL,1)
#else
Sint cmp(Eterm, Eterm, int);
#define cmp_rel(A,A_BASE,B,B_BASE) cmp(A,B,0)