mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* compile.c, insnhelper.ci, insns.def, object.c, vm.c, vm.h:
optimize !@, != method invocation. * id.c, id.h: ditto. * bootstraptest/test_syntax.rb: add tests for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
1f75a4e700
commit
cd84310864
9 changed files with 177 additions and 66 deletions
2
id.c
2
id.c
|
@ -38,6 +38,8 @@ Init_id(void)
|
|||
idEqq = rb_intern("===");
|
||||
idBackquote = rb_intern("`");
|
||||
idEqTilde = rb_intern("=~");
|
||||
idNot = rb_intern("!");
|
||||
idNeq = rb_intern("!=");
|
||||
|
||||
idAREF = rb_intern("[]");
|
||||
idASET = rb_intern("[]=");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue