summaryrefslogtreecommitdiff
path: root/vm.h
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-18 12:07:51 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-18 12:07:51 +0000
commitcd843108646b999e13cfbf04e51eca30b68850b3 (patch)
treeeb87ffe59f0f71747be4fc76d84244c414e3e3da /vm.h
parent1f75a4e700883da8d15048fc3da6528ba53ec1e4 (diff)
* 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 'vm.h')
-rw-r--r--vm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/vm.h b/vm.h
index 360996e3f0..f7cffc1caa 100644
--- a/vm.h
+++ b/vm.h
@@ -279,5 +279,7 @@ default: \
#define BOP_SUCC 0x1000
#define BOP_GT 0x2000
#define BOP_GE 0x4000
+#define BOP_NOT 0x8000
+#define BOP_NEQ 0x10000
#endif /* RUBY_VM_H */