mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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
This commit is contained in:
parent
fe5d65f157
commit
49f52937bd
4 changed files with 5 additions and 3 deletions
1
eval.c
1
eval.c
|
@ -18,6 +18,7 @@
|
||||||
#include "ruby/vm.h"
|
#include "ruby/vm.h"
|
||||||
#include "vm_core.h"
|
#include "vm_core.h"
|
||||||
#include "mjit.h"
|
#include "mjit.h"
|
||||||
|
#include "probes.h"
|
||||||
#include "probes_helper.h"
|
#include "probes_helper.h"
|
||||||
|
|
||||||
NORETURN(void rb_raise_jump(VALUE, VALUE));
|
NORETURN(void rb_raise_jump(VALUE, VALUE));
|
||||||
|
|
|
@ -2,7 +2,6 @@
|
||||||
#define RUBY_PROBES_HELPER_H
|
#define RUBY_PROBES_HELPER_H
|
||||||
|
|
||||||
#include "ruby/ruby.h"
|
#include "ruby/ruby.h"
|
||||||
#include "probes.h"
|
|
||||||
|
|
||||||
struct ruby_dtrace_method_hook_args {
|
struct ruby_dtrace_method_hook_args {
|
||||||
const char *classname;
|
const char *classname;
|
||||||
|
|
4
vm.c
4
vm.c
|
@ -17,7 +17,11 @@
|
||||||
#include "vm_debug.h"
|
#include "vm_debug.h"
|
||||||
#include "iseq.h"
|
#include "iseq.h"
|
||||||
#include "eval_intern.h"
|
#include "eval_intern.h"
|
||||||
|
#ifndef MJIT_HEADER
|
||||||
#include "probes.h"
|
#include "probes.h"
|
||||||
|
#else
|
||||||
|
#include "probes.dmyh"
|
||||||
|
#endif
|
||||||
#include "probes_helper.h"
|
#include "probes_helper.h"
|
||||||
|
|
||||||
VALUE rb_str_concat_literals(size_t, const VALUE*);
|
VALUE rb_str_concat_literals(size_t, const VALUE*);
|
||||||
|
|
|
@ -14,8 +14,6 @@
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
#include "constant.h"
|
#include "constant.h"
|
||||||
#include "internal.h"
|
#include "internal.h"
|
||||||
#include "probes.h"
|
|
||||||
#include "probes_helper.h"
|
|
||||||
#include "ruby/config.h"
|
#include "ruby/config.h"
|
||||||
#include "debug_counter.h"
|
#include "debug_counter.h"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue