From 1a8d77f1dbfe513ce83c1ebcf3f32044424b5220 Mon Sep 17 00:00:00 2001 From: Guilherme Ottoni Date: Mon, 8 Jul 2013 15:35:15 -0700 Subject: [PATCH] Allow AssertType of Cls We need this with the region JIT. --- hphp/runtime/vm/jit/ir.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hphp/runtime/vm/jit/ir.h b/hphp/runtime/vm/jit/ir.h index 75e526be7..8300418d0 100644 --- a/hphp/runtime/vm/jit/ir.h +++ b/hphp/runtime/vm/jit/ir.h @@ -184,7 +184,7 @@ class FailedCodeGen : public std::runtime_error { #define IR_OPCODES \ /* name dstinfo srcinfo flags */ \ O(CheckType, DParam, S(Gen,Nullptr), E|CRc|PRc|P) \ -O(AssertType, DParam, S(Gen,Nullptr), C|E|CRc|PRc|P) \ +O(AssertType, DParam, S(Gen,Nullptr,Cls), C|E|CRc|PRc|P) \ O(CheckTypeMem, ND, S(PtrToGen), E) \ O(GuardLoc, ND, S(FramePtr), E) \ O(GuardStk, D(StkPtr), S(StkPtr), E) \