mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* vm.c, vm_dump.c: fix typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14378 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
4cf437519f
commit
2a564dfb94
3 changed files with 12 additions and 8 deletions
|
@ -426,8 +426,8 @@ vm_analysis_insn(int insn)
|
|||
VALUE cv;
|
||||
|
||||
if (usage_hash == 0) {
|
||||
usage_hash = rb_intern("USAGE_ANALISYS_INSN");
|
||||
bigram_hash = rb_intern("USAGE_ANALISYS_INSN_BIGRAM");
|
||||
usage_hash = rb_intern("USAGE_ANALYSIS_INSN");
|
||||
bigram_hash = rb_intern("USAGE_ANALYSIS_INSN_BIGRAM");
|
||||
}
|
||||
uh = rb_const_get(rb_cVM, usage_hash);
|
||||
if ((ihash = rb_hash_aref(uh, INT2FIX(insn))) == Qnil) {
|
||||
|
@ -474,7 +474,7 @@ vm_analysis_operand(int insn, int n, VALUE op)
|
|||
VALUE cv;
|
||||
|
||||
if (usage_hash == 0) {
|
||||
usage_hash = rb_intern("USAGE_ANALISYS_INSN");
|
||||
usage_hash = rb_intern("USAGE_ANALYSIS_INSN");
|
||||
}
|
||||
|
||||
uh = rb_const_get(rb_cVM, usage_hash);
|
||||
|
@ -524,7 +524,7 @@ vm_analysis_register(int reg, int isset)
|
|||
char buff[0x10];
|
||||
int i;
|
||||
|
||||
usage_hash = rb_intern("USAGE_ANALISYS_REGS");
|
||||
usage_hash = rb_intern("USAGE_ANALYSIS_REGS");
|
||||
|
||||
for (i = 0; i < sizeof(regstrs) / sizeof(regstrs[0]); i++) {
|
||||
int j;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue