aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/hipe/hipe_ppc.h
diff options
context:
space:
mode:
authorMikael Pettersson <[email protected]>2015-01-11 16:29:47 +0100
committerMarcus Arendt <[email protected]>2015-01-26 15:43:08 +0100
commitf9886a6d15c396ae1e0e69a58fb265c4c338ac93 (patch)
treea8098537b6118de4aabc568ff3e2acc057e70c2b /erts/emulator/hipe/hipe_ppc.h
parente2001315febed13f8889ff1a33c046f36a4c8c54 (diff)
downloadotp-f9886a6d15c396ae1e0e69a58fb265c4c338ac93.tar.gz
otp-f9886a6d15c396ae1e0e69a58fb265c4c338ac93.tar.bz2
otp-f9886a6d15c396ae1e0e69a58fb265c4c338ac93.zip
hipe: remove HIPE_ALLOC_CODE macro
The HIPE_ALLOC_CODE macro in the HiPE runtime was introduced ages ago to allow x86 and amd64 to switch from erts_alloc() to an mmap() implementation with proper flag setting. Nowadays the macro is identical on all platforms, and serves no purpose. Delete the macro, move the hipe_alloc_code() prototype to hipe_arch.h, and simplify hipe_bifs_enter_code_2().
Diffstat (limited to 'erts/emulator/hipe/hipe_ppc.h')
-rw-r--r--erts/emulator/hipe/hipe_ppc.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/erts/emulator/hipe/hipe_ppc.h b/erts/emulator/hipe/hipe_ppc.h
index 66000c1846..e9d3e6564b 100644
--- a/erts/emulator/hipe/hipe_ppc.h
+++ b/erts/emulator/hipe/hipe_ppc.h
@@ -64,10 +64,6 @@ AEXTERN(void,hipe_ppc_inc_stack,(void));
extern void hipe_ppc_inc_stack(void); /* we don't have the AEXTERN() fallback :-( */
#endif
-/* for hipe_bifs_enter_code_2 */
-extern void *hipe_alloc_code(Uint nrbytes, Eterm callees, Eterm *trampolines, Process *p);
-#define HIPE_ALLOC_CODE(n,c,t,p) hipe_alloc_code((n),(c),(t),(p))
-
#if !defined(__powerpc64__)
extern const unsigned int fconv_constant[];
#endif