Project

General

Profile

« Previous | Next » 

Revision 38292

compile.c, vm_insnhelper.c: flip-flop without hidden string key

  • compile.c (iseq_compile_each): count flip-flop state in local iseq not in each iseqs, so that the keys can be other than hidden strings. [ruby-core:47253] [Bug #6899]
  • vm_insnhelper.c (lep_svar_get, lep_svar_set, vm_getspecial): store flip-flop states in an array instead of a hash.
  • iseq.c (set_relation): main iseq also can has local scope.