summaryrefslogtreecommitdiffstats
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
commit519a547448720fddcd732b85e40ce6f57438f7fe (patch)
tree0371cc5a898f2a2661983d5cceee26aede16119e /vm_core.h
parent164f477039b06c79b97bc331f98a5146ff0918e3 (diff)
downloadruby-519a547448720fddcd732b85e40ce6f57438f7fe.tar.gz
ruby-519a547448720fddcd732b85e40ce6f57438f7fe.tar.xz
ruby-519a547448720fddcd732b85e40ce6f57438f7fe.zip
* 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: http://svn.ruby-lang.org/repos/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 e19ff4e7f..566c09663 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)