diff options
author | Henrik Nord <[email protected]> | 2014-03-21 16:37:11 +0100 |
---|---|---|
committer | Henrik Nord <[email protected]> | 2014-03-21 16:37:26 +0100 |
commit | 9d46875b53ffb21bc55aec4a2c76472133ea5d1c (patch) | |
tree | 2e0fa6e8829213470acc239b8885c3a79ced63f0 /erts/emulator | |
parent | bbe92ec2c359373205149dabc61ef0d50784760f (diff) | |
parent | b326df0d935d221574abf58d5e2a3efddd020278 (diff) | |
download | otp-9d46875b53ffb21bc55aec4a2c76472133ea5d1c.tar.gz otp-9d46875b53ffb21bc55aec4a2c76472133ea5d1c.tar.bz2 otp-9d46875b53ffb21bc55aec4a2c76472133ea5d1c.zip |
Merge branch 'yiannist/hipe-llvm-backend'
* yiannist/hipe-llvm-backend:
Support the LLVM backend in HiPE
Implement the LLVM backend
Extend RTL API to support the LLVM backend
Add support for llvm unique symbols in hipe_gensym
Add a BIF that only returns the atom ok
Move some common code in hipe_pack_constants
Add better specs in hipe_pack_constants and cleanup
OTP-11801
Diffstat (limited to 'erts/emulator')
-rw-r--r-- | erts/emulator/hipe/hipe_bif2.c | 7 | ||||
-rw-r--r-- | erts/emulator/hipe/hipe_bif2.tab | 1 |
2 files changed, 8 insertions, 0 deletions
diff --git a/erts/emulator/hipe/hipe_bif2.c b/erts/emulator/hipe/hipe_bif2.c index 7637049bc3..054911e822 100644 --- a/erts/emulator/hipe/hipe_bif2.c +++ b/erts/emulator/hipe/hipe_bif2.c @@ -182,3 +182,10 @@ BIF_RETTYPE hipe_bifs_debug_native_called_2(BIF_ALIST_2) BIF_RET(am_ok); } +/* Stub-BIF for LLVM: + * Reloads BP, SP (in llvm unwind label) */ + +BIF_RETTYPE hipe_bifs_llvm_fix_pinned_regs_0(BIF_ALIST_0) +{ + BIF_RET(am_ok); +} diff --git a/erts/emulator/hipe/hipe_bif2.tab b/erts/emulator/hipe/hipe_bif2.tab index 45a395bf57..1b659cfa90 100644 --- a/erts/emulator/hipe/hipe_bif2.tab +++ b/erts/emulator/hipe/hipe_bif2.tab @@ -30,3 +30,4 @@ bif hipe_bifs:in_native/0 bif hipe_bifs:modeswitch_debug_on/0 bif hipe_bifs:modeswitch_debug_off/0 bif hipe_bifs:debug_native_called/2 +bif hipe_bifs:llvm_fix_pinned_regs/0 |