Index: src/ia32/lithium-ia32.cc |
diff --git a/src/ia32/lithium-ia32.cc b/src/ia32/lithium-ia32.cc |
index 799e077a330e37fa51443881bd67d402ca8cdd2a..3a6c99eaac253bc6c47491d4c76ec32344a7f125 100644 |
--- a/src/ia32/lithium-ia32.cc |
+++ b/src/ia32/lithium-ia32.cc |
@@ -1744,8 +1744,8 @@ 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)))); |
+ LStringCharCodeAt* result = new LStringCharCodeAt(string, index); |
+ return AssignEnvironment(AssignPointerMap(DefineAsRegister(result))); |
} |