Index: src/x64/lithium-x64.cc |
diff --git a/src/x64/lithium-x64.cc b/src/x64/lithium-x64.cc |
index 598f89004a4b082b8bb8bd78e7d3ee0db8ee2fc3..9bc298b44090d076f47fd2d4a597fe8fa3e16e93 100644 |
--- a/src/x64/lithium-x64.cc |
+++ b/src/x64/lithium-x64.cc |
@@ -1450,6 +1450,13 @@ LInstruction* LChunkBuilder::DoIsObjectAndBranch(HIsObjectAndBranch* instr) { |
} |
+LInstruction* LChunkBuilder::DoIsStringAndBranch(HIsStringAndBranch* instr) { |
+ ASSERT(instr->value()->representation().IsTagged()); |
+ LOperand* temp = TempRegister(); |
+ return new LIsStringAndBranch(UseRegisterAtStart(instr->value()), temp); |
+} |
+ |
+ |
LInstruction* LChunkBuilder::DoIsSmiAndBranch(HIsSmiAndBranch* instr) { |
ASSERT(instr->value()->representation().IsTagged()); |
return new LIsSmiAndBranch(Use(instr->value())); |