Index: src/ia32/lithium-ia32.h |
diff --git a/src/ia32/lithium-ia32.h b/src/ia32/lithium-ia32.h |
index ed33668a4fbfd858dff349c587297f84cb22da1f..5529759e5a703c6733a936b7d7271d6ac4819c33 100644 |
--- a/src/ia32/lithium-ia32.h |
+++ b/src/ia32/lithium-ia32.h |
@@ -44,6 +44,7 @@ class LCodeGen; |
V(AccessArgumentsAt) \ |
V(AddI) \ |
V(Allocate) \ |
+ V(AllocateObject) \ |
V(ApplyArguments) \ |
V(ArgumentsElements) \ |
V(ArgumentsLength) \ |
@@ -2551,6 +2552,21 @@ class LCheckNonSmi: public LTemplateInstruction<0, 1, 0> { |
}; |
+class LAllocateObject: public LTemplateInstruction<1, 1, 1> { |
+ public: |
+ LAllocateObject(LOperand* context, LOperand* temp) { |
+ inputs_[0] = context; |
+ temps_[0] = temp; |
+ } |
+ |
+ LOperand* context() { return inputs_[0]; } |
+ LOperand* temp() { return temps_[0]; } |
+ |
+ DECLARE_CONCRETE_INSTRUCTION(AllocateObject, "allocate-object") |
+ DECLARE_HYDROGEN_ACCESSOR(AllocateObject) |
+}; |
+ |
+ |
class LAllocate: public LTemplateInstruction<1, 2, 1> { |
public: |
LAllocate(LOperand* context, LOperand* size, LOperand* temp) { |