Index: src/mips/lithium-mips.cc |
diff --git a/src/mips/lithium-mips.cc b/src/mips/lithium-mips.cc |
index 1635b77fa7ad128fde2753ffc59c02dda8525a93..09bae598db9e738be2cb24a44c37b6bae3c2da50 100644 |
--- a/src/mips/lithium-mips.cc |
+++ b/src/mips/lithium-mips.cc |
@@ -2501,6 +2501,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())); |
} |