diff options
author | Sverker Eriksson <[email protected]> | 2014-10-24 17:36:05 +0200 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2014-10-24 17:36:05 +0200 |
commit | 389b65126d2777cf61a7995e082b00ef7a0e7778 (patch) | |
tree | 16090b85ef7361f821e34eea1da6c28d00590f09 /erts/emulator/hipe/hipe_risc_glue.h | |
parent | 9c6a5be013be2d88935a4c74e8dff92376821a0d (diff) | |
parent | a70f0ce9b34e4db61dacb8db24f9ab5671ed4c8a (diff) | |
download | otp-389b65126d2777cf61a7995e082b00ef7a0e7778.tar.gz otp-389b65126d2777cf61a7995e082b00ef7a0e7778.tar.bz2 otp-389b65126d2777cf61a7995e082b00ef7a0e7778.zip |
Merge branch 'maint'
Diffstat (limited to 'erts/emulator/hipe/hipe_risc_glue.h')
-rw-r--r-- | erts/emulator/hipe/hipe_risc_glue.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/erts/emulator/hipe/hipe_risc_glue.h b/erts/emulator/hipe/hipe_risc_glue.h index cc2671c016..dbb7086dae 100644 --- a/erts/emulator/hipe/hipe_risc_glue.h +++ b/erts/emulator/hipe/hipe_risc_glue.h @@ -214,6 +214,14 @@ hipe_trap_from_native_is_recursive(Process *p) return 0; } +/* Native called BIF. Is it a recursive call? + i.e should we return back to native when BIF is done? */ +static __inline__ int +hipe_bifcall_from_native_is_recursive(Process *p) +{ + return (p->hipe.nra != (void(*)(void))&nbif_return); +} + /* Native makes a call which needs to unload the parameters. This differs from hipe_call_from_native_is_recursive() in |