diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-11-29 07:15:30 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-11-29 07:15:30 +0000 |
commit | e8af0046b72bb5a1da549a90888b445525d6cfff () | |
tree | 71a40a84adee7e1c368dc404d1b563fdf0755bbe /vm_backtrace.c | |
parent | 585ac7f1a2a1e96460cc78e050d2700d2e2680e5 (diff) |
* vm_backtrace.c (rb_debug_inspector_open): use RARRAY_LENINT() for
int variable. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37980 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | vm_backtrace.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -931,7 +931,7 @@ rb_debug_inspector_open(rb_debug_inspector_func_t func, void *data) dbg_context.th = th; dbg_context.cfp = dbg_context.th->cfp; dbg_context.backtrace = vm_backtrace_location_ary(th, 0, 0); - dbg_context.backtrace_size = RARRAY_LEN(dbg_context.backtrace); dbg_context.contexts = collect_caller_bindings(th); TH_PUSH_TAG(th); |