aboutsummaryrefslogtreecommitdiffstats
path: root/vm_core.h
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-05-23 03:23:08 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-05-23 03:23:08 +0000
commit59432db7f7c5a4408dc413e476eeb48904b977ad (patch)
tree0371cc5a898f2a2661983d5cceee26aede16119e /vm_core.h
parent39a86bf60a2bf8f69e4385e9a593c4ca7749a1c5 (diff)
downloadruby-59432db7f7c5a4408dc413e476eeb48904b977ad.tar.gz
* vm_core.h (rb_num_t): moved form vm.h.
* tool/instruction.rb (RubyVM::Instruction#sp_increase_c_expr), tool/instruction.rb (RubyVM::VmBodyGenerator#make_header_operands): omit unused variables. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16551 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_core.h')
-rw-r--r--vm_core.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/vm_core.h b/vm_core.h
index e19ff4e7fb..566c096636 100644
--- a/vm_core.h
+++ b/vm_core.h
@@ -88,6 +88,8 @@
#define UNLIKELY(x) (x)
#endif /* __GNUC__ >= 3 */
+typedef unsigned long rb_num_t;
+
#define ISEQ_TYPE_TOP INT2FIX(1)
#define ISEQ_TYPE_METHOD INT2FIX(2)
#define ISEQ_TYPE_BLOCK INT2FIX(3)