Index: src/crankshaft/ia32/lithium-ia32.h |
diff --git a/src/crankshaft/ia32/lithium-ia32.h b/src/crankshaft/ia32/lithium-ia32.h |
index 68541a48c45455a876e1ebd6cf1ac56b5b08eee1..00c06cce13b932ee0c85cf04f29c72987c640c45 100644 |
--- a/src/crankshaft/ia32/lithium-ia32.h |
+++ b/src/crankshaft/ia32/lithium-ia32.h |
@@ -71,6 +71,7 @@ class LCodeGen; |
V(Drop) \ |
V(Dummy) \ |
V(DummyUse) \ |
+ V(FastAllocate) \ |
V(FlooringDivByConstI) \ |
V(FlooringDivByPowerOf2I) \ |
V(FlooringDivI) \ |
@@ -2401,6 +2402,19 @@ class LAllocate final : public LTemplateInstruction<1, 2, 1> { |
DECLARE_HYDROGEN_ACCESSOR(Allocate) |
}; |
+class LFastAllocate final : public LTemplateInstruction<1, 1, 1> { |
+ public: |
+ LFastAllocate(LOperand* size, LOperand* temp) { |
+ inputs_[0] = size; |
+ temps_[0] = temp; |
+ } |
+ |
+ LOperand* size() const { return inputs_[0]; } |
+ LOperand* temp() { return temps_[0]; } |
+ |
+ DECLARE_CONCRETE_INSTRUCTION(FastAllocate, "fast-allocate") |
+ DECLARE_HYDROGEN_ACCESSOR(Allocate) |
+}; |
class LTypeof final : public LTemplateInstruction<1, 2, 0> { |
public: |