1
0
Fork 0
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:
ko1 2007-12-18 12:07:51 +00:00
parent 1f75a4e700
commit cd84310864
9 changed files with 177 additions and 66 deletions

2
id.c
View file

@ -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("[]=");