* vm_insnhelper.h (GET_BLOCK_PTR): return 0 when in class frame.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26283 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
a3973ab1ba
commit
760f0b0647
@ -1,3 +1,7 @@
|
|||||||
|
Mon Jan 11 18:16:38 2010 wanabe <s.wanabe@gmail.com>
|
||||||
|
|
||||||
|
* vm_insnhelper.h (GET_BLOCK_PTR): return 0 when in class frame.
|
||||||
|
|
||||||
Mon Jan 11 16:52:05 2010 NARUSE, Yui <naruse@ruby-lang.org>
|
Mon Jan 11 16:52:05 2010 NARUSE, Yui <naruse@ruby-lang.org>
|
||||||
|
|
||||||
* string.c (rb_str_strlen): added. [ruby-dev:40028]
|
* string.c (rb_str_strlen): added. [ruby-dev:40028]
|
||||||
|
@ -168,7 +168,8 @@ extern VALUE ruby_vm_const_missing_count;
|
|||||||
} while (0)
|
} while (0)
|
||||||
|
|
||||||
#define GET_BLOCK_PTR() \
|
#define GET_BLOCK_PTR() \
|
||||||
((rb_block_t *)(GC_GUARDED_PTR_REF(GET_LFP()[0])))
|
((rb_block_t *)(GC_GUARDED_PTR_REF(GET_LFP()[0] & \
|
||||||
|
((GET_LFP()[0] & 0x02) - 0x02))))
|
||||||
|
|
||||||
/**********************************************************/
|
/**********************************************************/
|
||||||
/* deal with control flow 3: exception */
|
/* deal with control flow 3: exception */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user