summaryrefslogtreecommitdiff
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
commit49f52937bd9461a677123a16a011c7bc261900a4 (patch)
tree49ca4d9a8d29003bbe34f89da56778043a1e6a53 /vm.c
parentfe5d65f1579aed0aac09329b185b25b61c13cd51 (diff)
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 93134ff..043d7e1 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*);