summaryrefslogtreecommitdiff
path: root/vm_core.h
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-07-03 09:35:08 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-07-03 09:35:08 +0000
commit61203382872a9f6dd9b2589c88e8d571856332dd (patch)
treefc6eddc9841d986fe578118815c26b434cb6a047 /vm_core.h
parent0cc978e2a11d252f9df5a824c2ed55c57388e80b (diff)
* vm_core.h (struct rb_iseq_struct): fixed types.
* vm_core.h (ic_vmstat): VM state version is VALUE. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23945 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_core.h')
-rw-r--r--vm_core.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/vm_core.h b/vm_core.h
index ad9183e27e..43784803db 100644
--- a/vm_core.h
+++ b/vm_core.h
@@ -135,7 +135,7 @@ struct rb_iseq_struct {
/* insn info, must be freed */
struct iseq_insn_info_entry *insn_info_table;
- unsigned long insn_info_size;
+ size_t insn_info_size;
ID *local_table; /* must free */
int local_table_size;
@@ -176,7 +176,7 @@ struct rb_iseq_struct {
int arg_size;
VALUE *arg_opt_table;
- int stack_max; /* for stack overflow check */
+ size_t stack_max; /* for stack overflow check */
/* catch table */
struct iseq_catch_table_entry *catch_table;
@@ -527,7 +527,7 @@ typedef struct {
#define ic_class u1.value
#define ic_method u2.node
#define ic_value u2.value
-#define ic_vmstat u3.cnt
+#define ic_vmstat u3.value
typedef NODE *IC;
void rb_vm_change_state(void);