aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/hipe/hipe_x86_bifs.m4
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2014-10-13 20:09:19 +0200
committerSverker Eriksson <[email protected]>2014-10-24 18:12:16 +0200
commitda3073e8d3d26ec6c63979a22c913d7758eeed71 (patch)
tree57f185f5c002e09f2a3532a1c703be0189fcafc6 /erts/emulator/hipe/hipe_x86_bifs.m4
parente45a4a8a3797a637a23ad5d660138c021f3ba1b1 (diff)
downloadotp-da3073e8d3d26ec6c63979a22c913d7758eeed71.tar.gz
otp-da3073e8d3d26ec6c63979a22c913d7758eeed71.tar.bz2
otp-da3073e8d3d26ec6c63979a22c913d7758eeed71.zip
erts: Extend usage of ASM macro to avoid including asm macros in C code
and reduce the probability of macro name collisions Catalyst: ppc macro "r0" conflicting with local variable in external.c
Diffstat (limited to 'erts/emulator/hipe/hipe_x86_bifs.m4')
-rw-r--r--erts/emulator/hipe/hipe_x86_bifs.m41
1 files changed, 1 insertions, 0 deletions
diff --git a/erts/emulator/hipe/hipe_x86_bifs.m4 b/erts/emulator/hipe/hipe_x86_bifs.m4
index dd6980f555..a0f16efa33 100644
--- a/erts/emulator/hipe/hipe_x86_bifs.m4
+++ b/erts/emulator/hipe/hipe_x86_bifs.m4
@@ -19,6 +19,7 @@ changecom(`/*', `*/')dnl
*/
+#`define ASM'
include(`hipe/hipe_x86_asm.m4')
#`include' "config.h"
#`include' "hipe_literals.h"