From e54e53f355038fa63091fe441c57a735e187eae7 Mon Sep 17 00:00:00 2001 From: ngoto Date: Wed, 16 Jul 2014 11:46:06 +0000 Subject: * vm_core.h (struct rb_iseq_struct): stack_max is changed to int because all calculations related to stack_max in compile.c (iseq_set_sequence) and vm_insnhelper.c (vm_push_frame) are conducted by using int. This partly reverts r23945. * vm_insnhelper.c (vm_push_frame): ditto. This reverts r42401. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46839 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- vm_core.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vm_core.h') diff --git a/vm_core.h b/vm_core.h index b284351b52..9e849da252 100644 --- a/vm_core.h +++ b/vm_core.h @@ -208,7 +208,7 @@ struct rb_iseq_struct { #if defined(WORDS_BIGENDIAN) && (SIZEOF_VALUE > SIZEOF_INT) char dummy[SIZEOF_VALUE - SIZEOF_INT]; /* [Bug #10037][ruby-core:63721] */ #endif - uint32_t stack_max; /* for stack overflow check */ + int stack_max; /* for stack overflow check */ rb_iseq_location_t location; -- cgit v1.2.3