Index: src/x64/lithium-x64.h |
diff --git a/src/x64/lithium-x64.h b/src/x64/lithium-x64.h |
index b8a8c8a91bf1aaae9481ddd2903d13e323e62144..d4392c632fc237ca28b7682c4c093a389835c72d 100644 |
--- a/src/x64/lithium-x64.h |
+++ b/src/x64/lithium-x64.h |
@@ -1911,8 +1911,12 @@ class LCheckNonSmi: public LTemplateInstruction<0, 1, 0> { |
}; |
-class LAllocateObject: public LTemplateInstruction<1, 0, 0> { |
+class LAllocateObject: public LTemplateInstruction<1, 0, 1> { |
public: |
+ explicit LAllocateObject(LOperand* temp) { |
+ temps_[0] = temp; |
+ } |
+ |
DECLARE_CONCRETE_INSTRUCTION(AllocateObject, "allocate-object") |
DECLARE_HYDROGEN_ACCESSOR(AllocateObject) |
}; |