aboutsummaryrefslogtreecommitdiffstats
path: root/vm.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-02-20 03:15:33 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-02-20 03:15:33 +0000
commita7a5c21adf6230d2b5847a9dfaf02e0396599586 (patch)
tree49ca4d9a8d29003bbe34f89da56778043a1e6a53 /vm.c
parent289270c980b364a8378e3476e10b00854d6dcc70 (diff)
downloadruby-a7a5c21adf6230d2b5847a9dfaf02e0396599586.tar.gz
vm.c: disable dtrace in jit source
* vm.c: include dummy dtrace probes header in jit header. * vm_insnhelper.c: probes headers are included by vm.c. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62489 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm.c')
-rw-r--r--vm.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/vm.c b/vm.c
index 93134ff78f..043d7e15e8 100644
--- a/vm.c
+++ b/vm.c
@@ -17,7 +17,11 @@
#include "vm_debug.h"
#include "iseq.h"
#include "eval_intern.h"
+#ifndef MJIT_HEADER
#include "probes.h"
+#else
+#include "probes.dmyh"
+#endif
#include "probes_helper.h"
VALUE rb_str_concat_literals(size_t, const VALUE*);