diff options
author | Sverker Eriksson <[email protected]> | 2011-10-12 16:12:53 +0200 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2011-10-26 11:36:00 +0200 |
commit | 9dbccbfa2759e2232cba8b3ffb7c5c44d564ec69 (patch) | |
tree | 3076a3963d881fe1087fecde321ee370de4bba49 /erts/emulator/hipe/hipe_arm_bifs.m4 | |
parent | f167442302b722c1b963a2647ffa3557b75de94a (diff) | |
download | otp-9dbccbfa2759e2232cba8b3ffb7c5c44d564ec69.tar.gz otp-9dbccbfa2759e2232cba8b3ffb7c5c44d564ec69.tar.bz2 otp-9dbccbfa2759e2232cba8b3ffb7c5c44d564ec69.zip |
erts-hipe: Remove obscuring macros in generated assembler code
No semantic change.
Just easier to debug when jumps are spelled out
and not obscured by yet another layer of macros.
Diffstat (limited to 'erts/emulator/hipe/hipe_arm_bifs.m4')
-rw-r--r-- | erts/emulator/hipe/hipe_arm_bifs.m4 | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/erts/emulator/hipe/hipe_arm_bifs.m4 b/erts/emulator/hipe/hipe_arm_bifs.m4 index 3664fb6502..f20739ec52 100644 --- a/erts/emulator/hipe/hipe_arm_bifs.m4 +++ b/erts/emulator/hipe/hipe_arm_bifs.m4 @@ -25,8 +25,9 @@ include(`hipe/hipe_arm_asm.m4') .text .p2align 2 -`#define JOIN3(A,B,C) A##B##C -#define TEST_GOT_MBUF(ARITY) ldr r1, [P, #P_MBUF]; cmp r1, #0; blne JOIN3(nbif_,ARITY,_gc_after_bif)' +define(TEST_GOT_MBUF,`ldr r1, [P, #P_MBUF] /* `TEST_GOT_MBUF' */ + cmp r1, #0 + blne nbif_$1_gc_after_bif') /* * standard_bif_interface_1(nbif_name, cbif_name) |