Index: src/x64/lithium-x64.cc |
diff --git a/src/x64/lithium-x64.cc b/src/x64/lithium-x64.cc |
index 65d57e00c9fd1880abeae82c1bad04f34d83a6be..478891520fe89c703e01b161ff1d2889778a9677 100644 |
--- a/src/x64/lithium-x64.cc |
+++ b/src/x64/lithium-x64.cc |
@@ -2096,7 +2096,7 @@ LInstruction* LChunkBuilder::DoStringLength(HStringLength* instr) { |
LInstruction* LChunkBuilder::DoAllocateObject(HAllocateObject* instr) { |
- LAllocateObject* result = new LAllocateObject(); |
+ LAllocateObject* result = new LAllocateObject(TempRegister()); |
return AssignPointerMap(DefineAsRegister(result)); |
} |