aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/hipe/hipe_mode_switch.h
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2017-04-04 18:55:46 +0200
committerSverker Eriksson <[email protected]>2017-04-04 19:26:58 +0200
commitcbaddb165393002bd76f4d70247662588d3dee26 (patch)
tree21d5c139c4b42594174bb5ce57dc6ed1189209ba /erts/emulator/hipe/hipe_mode_switch.h
parent566ff495cb0f5f87306c81fc8d8ab2323b34d840 (diff)
downloadotp-cbaddb165393002bd76f4d70247662588d3dee26.tar.gz
otp-cbaddb165393002bd76f4d70247662588d3dee26.tar.bz2
otp-cbaddb165393002bd76f4d70247662588d3dee26.zip
Refactor hipe specific code to use ErtsCodeInfo
instead of ugly negative indexing.
Diffstat (limited to 'erts/emulator/hipe/hipe_mode_switch.h')
-rw-r--r--erts/emulator/hipe/hipe_mode_switch.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/hipe/hipe_mode_switch.h b/erts/emulator/hipe/hipe_mode_switch.h
index 334e978307..7b896872a6 100644
--- a/erts/emulator/hipe/hipe_mode_switch.h
+++ b/erts/emulator/hipe/hipe_mode_switch.h
@@ -55,7 +55,7 @@
extern int hipe_modeswitch_debug;
void hipe_mode_switch_init(void);
-void hipe_set_call_trap(Uint *bfun, void *nfun, int is_closure);
+void hipe_set_call_trap(ErtsCodeInfo*, void *nfun, int is_closure);
Process *hipe_mode_switch(Process*, unsigned, Eterm*);
void hipe_inc_nstack(Process *p);
void hipe_empty_nstack(Process *p);