Index: src/ia32/lithium-ia32.cc |
diff --git a/src/ia32/lithium-ia32.cc b/src/ia32/lithium-ia32.cc |
index cca07c8c8b42aeeb8c13938dc37bacbd0e753cdd..799e077a330e37fa51443881bd67d402ca8cdd2a 100644 |
--- a/src/ia32/lithium-ia32.cc |
+++ b/src/ia32/lithium-ia32.cc |
@@ -1741,6 +1741,20 @@ LInstruction* LChunkBuilder::DoStoreNamedGeneric(HStoreNamedGeneric* instr) { |
} |
+LInstruction* LChunkBuilder::DoStringCharCodeAt(HStringCharCodeAt* instr) { |
+ LOperand* string = UseRegister(instr->string()); |
+ LOperand* index = UseRegisterOrConstant(instr->index()); |
+ return AssignEnvironment(AssignPointerMap(DefineAsRegister( |
+ new LStringCharCodeAt(string, index)))); |
+} |
+ |
+ |
+LInstruction* LChunkBuilder::DoStringLength(HStringLength* instr) { |
+ LOperand* string = UseRegisterAtStart(instr->value()); |
+ return DefineAsRegister(new LStringLength(string)); |
+} |
+ |
+ |
LInstruction* LChunkBuilder::DoArrayLiteral(HArrayLiteral* instr) { |
return MarkAsCall(DefineFixed(new LArrayLiteral, eax), instr); |
} |