Index: src/ia32/lithium-ia32.cc |
diff --git a/src/ia32/lithium-ia32.cc b/src/ia32/lithium-ia32.cc |
index 29b42fe0ffc7d1377e9d616fff8e7b8b2ab2275d..96fde9af427aa2b408fc59fc0011b8159db3e374 100644 |
--- a/src/ia32/lithium-ia32.cc |
+++ b/src/ia32/lithium-ia32.cc |
@@ -2654,6 +2654,8 @@ 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())); |
} |