Index: src/ia32/lithium-ia32.cc |
diff --git a/src/ia32/lithium-ia32.cc b/src/ia32/lithium-ia32.cc |
index b31c4eba184b691354b8d5efc6d77305d79bd533..9ec2faf97275459b6abba7bf1f02000cf1eb424b 100644 |
--- a/src/ia32/lithium-ia32.cc |
+++ b/src/ia32/lithium-ia32.cc |
@@ -1098,6 +1098,8 @@ LInstruction* LChunkBuilder::DoTest(HTest* instr) { |
} else if (v->IsTypeofIs()) { |
HTypeofIs* typeof_is = HTypeofIs::cast(v); |
return new LTypeofIsAndBranch(UseTempRegister(typeof_is->value())); |
+ } else if (v->IsIsConstructCall()) { |
+ return new LIsConstructCallAndBranch(TempRegister()); |
} else { |
if (v->IsConstant()) { |
if (HConstant::cast(v)->handle()->IsTrue()) { |
@@ -1925,6 +1927,12 @@ LInstruction* LChunkBuilder::DoTypeofIs(HTypeofIs* instr) { |
return DefineSameAsFirst(new LTypeofIs(UseRegister(instr->value()))); |
} |
+ |
+LInstruction* LChunkBuilder::DoIsConstructCall(HIsConstructCall* instr) { |
+ return DefineAsRegister(new LIsConstructCall); |
+} |
+ |
+ |
LInstruction* LChunkBuilder::DoSimulate(HSimulate* instr) { |
HEnvironment* env = current_block_->last_environment(); |
ASSERT(env != NULL); |