aboutsummaryrefslogtreecommitdiffstats
path: root/insnhelper.h
diff options
context:
space:
mode:
Diffstat (limited to 'insnhelper.h')
-rw-r--r--insnhelper.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/insnhelper.h b/insnhelper.h
index 1fe19128b7..29c25d6122 100644
--- a/insnhelper.h
+++ b/insnhelper.h
@@ -13,8 +13,10 @@
#ifndef _INSNHELPER_H_INCLUDED_
#define _INSNHELPER_H_INCLUDED_
+#include "ruby/ruby.h"
#include "vm.h"
+
/*
* deal with control frame pointer
*/
@@ -143,7 +145,7 @@ while (0)
/* optimize insn */
#define FIXNUM_2_P(a, b) ((a) & (b) & 1)
-#define BASIC_OP_UNREDEFINED_P(op) ((yarv_redefined_flag & (op)) == 0)
+#define BASIC_OP_UNREDEFINED_P(op) ((ruby_vm_redefined_flag & (op)) == 0)
#define HEAP_CLASS_OF(obj) RBASIC(obj)->klass
#define CALL_METHOD(num, blockptr, flag, id, mn, recv, klass) do { \