diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-18 12:07:51 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-18 12:07:51 +0000 |
commit | cd843108646b999e13cfbf04e51eca30b68850b3 (patch) | |
tree | eb87ffe59f0f71747be4fc76d84244c414e3e3da /id.c | |
parent | 1f75a4e700883da8d15048fc3da6528ba53ec1e4 (diff) | |
download | ruby-cd843108646b999e13cfbf04e51eca30b68850b3.tar.gz |
* 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
Diffstat (limited to 'id.c')
-rw-r--r-- | id.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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("[]="); |