diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-03-06 06:30:03 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-03-06 06:30:03 +0000 |
commit | 2d1c94a18de4f278e49d918d4ba03bc1dce44706 (patch) | |
tree | f90ddd7829c25b8add130728ded76f5e9ecba862 /iseq.c | |
parent | 4f59a115fd9b000ce1cb0feb7272c2795ea934bb (diff) | |
download | ruby-2d1c94a18de4f278e49d918d4ba03bc1dce44706.tar.gz |
prefix global symbols
* iseq.c (rb_insn_operand_intern): prefix global symbols.
* numeric.c (ruby_num_interval_step_size): ditto.
* vm_backtrace.c (rb_vm_backtrace_str_ary),
(rb_vm_backtrace_location_ary, rb_vm_thread_backtrace),
(rb_vm_thread_backtrace_locations): ditto.
* vm_trace.c (rb_vm_trace_mark_event_hooks): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39611 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'iseq.c')
-rw-r--r-- | iseq.c | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -1119,9 +1119,9 @@ id_to_name(ID id, VALUE default_value) } VALUE -insn_operand_intern(rb_iseq_t *iseq, - VALUE insn, int op_no, VALUE op, - int len, size_t pos, VALUE *pnop, VALUE child) +rb_insn_operand_intern(rb_iseq_t *iseq, + VALUE insn, int op_no, VALUE op, + int len, size_t pos, VALUE *pnop, VALUE child) { const char *types = insn_op_types(insn); char type = types[op_no]; @@ -1268,9 +1268,9 @@ rb_iseq_disasm_insn(VALUE ret, VALUE *iseq, size_t pos, for (j = 0; types[j]; j++) { const char *types = insn_op_types(insn); - VALUE opstr = insn_operand_intern(iseqdat, insn, j, iseq[pos + j + 1], - len, pos, &iseq[pos + j + 2], - child); + VALUE opstr = rb_insn_operand_intern(iseqdat, insn, j, iseq[pos + j + 1], + len, pos, &iseq[pos + j + 2], + child); rb_str_concat(str, opstr); if (types[j + 1]) { |