From 8e8e34319ba6d9457b3ffa374738baa41a96be05 Mon Sep 17 00:00:00 2001 From: ko1 Date: Wed, 12 Aug 2009 05:55:06 +0000 Subject: * insns.def, vm.c, vm_insnhelper.c, vm_insnhelper.h: check definition of (classes)#=== for case/when optimization. Fix Bug #1376 [ruby-core:23190]. * string.c (Init_String), bignum.c (Init_Bignum), numeric.c (Init_Numeric): define String#===, Symbol#===, Bignum#===, Fixnum#===, Float#=== as same as (classes)#==. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24511 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- vm_insnhelper.h | 1 + 1 file changed, 1 insertion(+) (limited to 'vm_insnhelper.h') diff --git a/vm_insnhelper.h b/vm_insnhelper.h index a6d3f0469d..d40f3de0a0 100644 --- a/vm_insnhelper.h +++ b/vm_insnhelper.h @@ -41,6 +41,7 @@ enum { BOP_DIV, BOP_MOD, BOP_EQ, + BOP_EQQ, BOP_LT, BOP_LE, BOP_LTLT, -- cgit v1.2.3