Index: src/arm/lithium-arm.cc |
diff --git a/src/arm/lithium-arm.cc b/src/arm/lithium-arm.cc |
index 4e2040413d16e4253530082cf4a45f49d79a03ba..e059941de946538315639c8b72ccfae8d6419a9a 100644 |
--- a/src/arm/lithium-arm.cc |
+++ b/src/arm/lithium-arm.cc |
@@ -2095,7 +2095,7 @@ LInstruction* LChunkBuilder::DoStringLength(HStringLength* instr) { |
LInstruction* LChunkBuilder::DoAllocateObject(HAllocateObject* instr) { |
- LAllocateObject* result = new LAllocateObject(); |
+ LAllocateObject* result = new LAllocateObject(TempRegister(), TempRegister()); |
return AssignPointerMap(DefineAsRegister(result)); |
} |