Index: src/crankshaft/mips64/lithium-mips64.h |
diff --git a/src/crankshaft/mips64/lithium-mips64.h b/src/crankshaft/mips64/lithium-mips64.h |
index 41cf93c2a4ed7c785b6752f4c452678145de733b..d2db6384d01a8691cee9b31538020946f5309973 100644 |
--- a/src/crankshaft/mips64/lithium-mips64.h |
+++ b/src/crankshaft/mips64/lithium-mips64.h |
@@ -69,6 +69,7 @@ class LCodeGen; |
V(Drop) \ |
V(Dummy) \ |
V(DummyUse) \ |
+ V(FastAllocate) \ |
V(FlooringDivByConstI) \ |
V(FlooringDivByPowerOf2I) \ |
V(FlooringDivI) \ |
@@ -2396,6 +2397,21 @@ class LAllocate final : public LTemplateInstruction<1, 2, 2> { |
DECLARE_HYDROGEN_ACCESSOR(Allocate) |
}; |
+class LFastAllocate final : public LTemplateInstruction<1, 1, 2> { |
+ public: |
+ LFastAllocate(LOperand* size, LOperand* temp1, LOperand* temp2) { |
+ inputs_[0] = size; |
+ temps_[0] = temp1; |
+ temps_[1] = temp2; |
+ } |
+ |
+ LOperand* size() { return inputs_[0]; } |
+ LOperand* temp1() { return temps_[0]; } |
+ LOperand* temp2() { return temps_[1]; } |
+ |
+ DECLARE_CONCRETE_INSTRUCTION(FastAllocate, "fast-allocate") |
+ DECLARE_HYDROGEN_ACCESSOR(Allocate) |
+}; |
class LTypeof final : public LTemplateInstruction<1, 2, 0> { |
public: |