| Index: src/crankshaft/x87/lithium-x87.h
|
| diff --git a/src/crankshaft/x87/lithium-x87.h b/src/crankshaft/x87/lithium-x87.h
|
| index d83322acd375b2e60918c76950910b9b5146ea75..bea018491bd67ef6330fd3ad02ba611143443c5a 100644
|
| --- a/src/crankshaft/x87/lithium-x87.h
|
| +++ b/src/crankshaft/x87/lithium-x87.h
|
| @@ -72,6 +72,7 @@ class LCodeGen;
|
| V(Drop) \
|
| V(Dummy) \
|
| V(DummyUse) \
|
| + V(FastAllocate) \
|
| V(FlooringDivByConstI) \
|
| V(FlooringDivByPowerOf2I) \
|
| V(FlooringDivI) \
|
| @@ -153,7 +154,6 @@ class LCodeGen;
|
| V(UnknownOSRValue) \
|
| V(WrapReceiver)
|
|
|
| -
|
| #define DECLARE_CONCRETE_INSTRUCTION(type, mnemonic) \
|
| Opcode opcode() const final { return LInstruction::k##type; } \
|
| void CompileToNative(LCodeGen* generator) final; \
|
| @@ -2398,6 +2398,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:
|
|
|