Index: src/ia32/lithium-ia32.h |
diff --git a/src/ia32/lithium-ia32.h b/src/ia32/lithium-ia32.h |
index 647ba6aeae0acaa7352925e56d96b9b1f3ec583a..cccf5551f2bf43bec01dff28076e88506dec6b15 100644 |
--- a/src/ia32/lithium-ia32.h |
+++ b/src/ia32/lithium-ia32.h |
@@ -1996,10 +1996,11 @@ class LCheckNonSmi: public LTemplateInstruction<0, 1, 0> { |
}; |
-class LAllocateObject: public LTemplateInstruction<1, 1, 0> { |
+class LAllocateObject: public LTemplateInstruction<1, 1, 1> { |
public: |
- explicit LAllocateObject(LOperand* context) { |
+ LAllocateObject(LOperand* context, LOperand* temp) { |
inputs_[0] = context; |
+ temps_[0] = temp; |
} |
DECLARE_CONCRETE_INSTRUCTION(AllocateObject, "allocate-object") |