Index: src/x64/lithium-x64.cc |
diff --git a/src/x64/lithium-x64.cc b/src/x64/lithium-x64.cc |
index c5f7b3b626456c127d6ddd278b021c1cb44f5a06..febf2f770effb1090a00184e7164e84d9dd3d5a1 100644 |
--- a/src/x64/lithium-x64.cc |
+++ b/src/x64/lithium-x64.cc |
@@ -1082,6 +1082,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()) { |
@@ -1763,6 +1765,12 @@ LInstruction* LChunkBuilder::DoTypeofIs(HTypeofIs* instr) { |
return NULL; |
} |
+ |
+LInstruction* LChunkBuilder::DoIsConstructCall(HIsConstructCall* instr) { |
+ return DefineAsRegister(new LIsConstructCall); |
+} |
+ |
+ |
LInstruction* LChunkBuilder::DoSimulate(HSimulate* instr) { |
HEnvironment* env = current_block_->last_environment(); |
ASSERT(env != NULL); |