Index: src/x64/lithium-x64.cc |
diff --git a/src/x64/lithium-x64.cc b/src/x64/lithium-x64.cc |
index a1216466df133c9a45c992d78cd3c3a981521c94..044efad16b24c54d815ec49102c593b0db8dbc6f 100644 |
--- a/src/x64/lithium-x64.cc |
+++ b/src/x64/lithium-x64.cc |
@@ -2502,6 +2502,9 @@ LInstruction* LChunkBuilder::DoTypeof(HTypeof* instr) { |
LInstruction* LChunkBuilder::DoTypeofIsAndBranch(HTypeofIsAndBranch* instr) { |
+ LInstruction* goto_instr = CheckElideControlInstruction(instr); |
+ if (goto_instr != NULL) return goto_instr; |
+ |
return new(zone()) LTypeofIsAndBranch(UseTempRegister(instr->value())); |
} |