aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/hipe/hipe_arch.h
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2016-09-16 20:01:11 +0200
committerSverker Eriksson <[email protected]>2016-10-14 14:29:15 +0200
commite36c8d49359db1622ad381f705c54d460c4fb5e9 (patch)
treeff4d704db319f3b60c5ef8af02fa6855c3b489b7 /erts/emulator/hipe/hipe_arch.h
parenta82be01198c1f3714f29f0a0e3ce3ed6d6bce0a6 (diff)
downloadotp-e36c8d49359db1622ad381f705c54d460c4fb5e9.tar.gz
otp-e36c8d49359db1622ad381f705c54d460c4fb5e9.tar.bz2
otp-e36c8d49359db1622ad381f705c54d460c4fb5e9.zip
erts: Use hipe_free_module
Diffstat (limited to 'erts/emulator/hipe/hipe_arch.h')
-rw-r--r--erts/emulator/hipe/hipe_arch.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/emulator/hipe/hipe_arch.h b/erts/emulator/hipe/hipe_arch.h
index df38a80069..059b8e7f29 100644
--- a/erts/emulator/hipe/hipe_arch.h
+++ b/erts/emulator/hipe/hipe_arch.h
@@ -30,8 +30,8 @@ extern void hipe_patch_load_fe(Uint *address, Uint value);
extern int hipe_patch_insn(void *address, Uint value, Eterm type);
extern int hipe_patch_call(void *callAddress, void *destAddress, void *trampoline);
-extern void *hipe_alloc_code(Uint nrbytes, Eterm callees, Eterm *trampolines, Process *p);
-extern void hipe_free_code(void*);
+extern void *hipe_alloc_code(Uint nrbytes, Eterm callees, Eterm *trampolines, struct process *p);
+extern void hipe_free_code(void*, unsigned int);
extern void *hipe_make_native_stub(void *exp, unsigned int beamArity);
extern void hipe_free_native_stub(void*);