aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/Makefile.in
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2012-03-09 14:47:23 +0100
committerPatrik Nyblom <[email protected]>2012-03-22 18:16:15 +0100
commitc79e1106853bcfdabe7325a7073ce911ef75afaa (patch)
treea84bf66aa1a3596f724348d261a49ecf0bbe3fbd /erts/emulator/Makefile.in
parentc7f21d552b8034baecf8e7d078da5c9243826d2b (diff)
downloadotp-c79e1106853bcfdabe7325a7073ce911ef75afaa.tar.gz
otp-c79e1106853bcfdabe7325a7073ce911ef75afaa.tar.bz2
otp-c79e1106853bcfdabe7325a7073ce911ef75afaa.zip
If VM probes are not enabled, short-circuit calls to probe BIFs
Diffstat (limited to 'erts/emulator/Makefile.in')
-rw-r--r--erts/emulator/Makefile.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/erts/emulator/Makefile.in b/erts/emulator/Makefile.in
index d8fad98de2..2efbe2d57e 100644
--- a/erts/emulator/Makefile.in
+++ b/erts/emulator/Makefile.in
@@ -25,6 +25,7 @@ ENABLE_ALLOC_TYPE_VARS = @ENABLE_ALLOC_TYPE_VARS@
HIPE_ENABLED=@HIPE_ENABLED@
DTRACE_ENABLED=@DTRACE_ENABLED@
DTRACE_ENABLED_2STEP=@DTRACE_ENABLED_2STEP@
+USE_VM_PROBES=@USE_VM_PROBES@
LIBS = @LIBS@
Z_LIB=@Z_LIB@
NO_INLINE_FUNCTIONS=false
@@ -508,6 +509,7 @@ $(TTF_DIR)/OPCODES-GENERATED: $(OPCODE_TABLES) utils/beam_makeops
LANG=C $(PERL) utils/beam_makeops \
-wordsize @EXTERNAL_WORD_SIZE@ \
-outdir $(TTF_DIR) \
+ -DUSE_VM_PROBES=$(if $(USE_VM_PROBES),1,0) \
-emulator $(OPCODE_TABLES) && echo $? >$(TTF_DIR)/OPCODES-GENERATED
GENERATE += $(TTF_DIR)/OPCODES-GENERATED