| Index: src/arm/lithium-arm.h
|
| diff --git a/src/arm/lithium-arm.h b/src/arm/lithium-arm.h
|
| index 9a6c3958c7e2d024bb1e140299ae2714006bcf6c..d81dc0f57cde1ea708f7a582e3d2fb830571752a 100644
|
| --- a/src/arm/lithium-arm.h
|
| +++ b/src/arm/lithium-arm.h
|
| @@ -189,17 +189,13 @@ class LCodeGen;
|
| V(WrapReceiver)
|
|
|
|
|
| -#define DECLARE_CONCRETE_INSTRUCTION(type, mnemonic) \
|
| - virtual Opcode opcode() const V8_FINAL V8_OVERRIDE { \
|
| - return LInstruction::k##type; \
|
| - } \
|
| - virtual void CompileToNative(LCodeGen* generator) V8_FINAL V8_OVERRIDE; \
|
| - virtual const char* Mnemonic() const V8_FINAL V8_OVERRIDE { \
|
| - return mnemonic; \
|
| - } \
|
| - static L##type* cast(LInstruction* instr) { \
|
| - ASSERT(instr->Is##type()); \
|
| - return reinterpret_cast<L##type*>(instr); \
|
| +#define DECLARE_CONCRETE_INSTRUCTION(type, mnemonic) \
|
| + virtual Opcode opcode() const { return LInstruction::k##type; } \
|
| + virtual void CompileToNative(LCodeGen* generator); \
|
| + virtual const char* Mnemonic() const { return mnemonic; } \
|
| + static L##type* cast(LInstruction* instr) { \
|
| + ASSERT(instr->Is##type()); \
|
| + return reinterpret_cast<L##type*>(instr); \
|
| }
|
|
|
|
|
| @@ -209,7 +205,7 @@ class LCodeGen;
|
| }
|
|
|
|
|
| -class LInstruction : public ZoneObject {
|
| +class LInstruction: public ZoneObject {
|
| public:
|
| LInstruction()
|
| : environment_(NULL),
|
| @@ -218,7 +214,7 @@ class LInstruction : public ZoneObject {
|
| set_position(RelocInfo::kNoPosition);
|
| }
|
|
|
| - virtual ~LInstruction() {}
|
| + virtual ~LInstruction() { }
|
|
|
| virtual void CompileToNative(LCodeGen* generator) = 0;
|
| virtual const char* Mnemonic() const = 0;
|
| @@ -317,13 +313,11 @@ class LInstruction : public ZoneObject {
|
| // I = number of input operands.
|
| // T = number of temporary operands.
|
| template<int R, int I, int T>
|
| -class LTemplateInstruction : public LInstruction {
|
| +class LTemplateInstruction: public LInstruction {
|
| public:
|
| // Allow 0 or 1 output operands.
|
| STATIC_ASSERT(R == 0 || R == 1);
|
| - virtual bool HasResult() const V8_FINAL V8_OVERRIDE {
|
| - return R != 0 && result() != NULL;
|
| - }
|
| + virtual bool HasResult() const { return R != 0 && result() != NULL; }
|
| void set_result(LOperand* operand) { results_[0] = operand; }
|
| LOperand* result() const { return results_[0]; }
|
|
|
| @@ -333,15 +327,15 @@ class LTemplateInstruction : public LInstruction {
|
| EmbeddedContainer<LOperand*, T> temps_;
|
|
|
| private:
|
| - virtual int InputCount() V8_FINAL V8_OVERRIDE { return I; }
|
| - virtual LOperand* InputAt(int i) V8_FINAL V8_OVERRIDE { return inputs_[i]; }
|
| + virtual int InputCount() { return I; }
|
| + virtual LOperand* InputAt(int i) { return inputs_[i]; }
|
|
|
| - virtual int TempCount() V8_FINAL V8_OVERRIDE { return T; }
|
| - virtual LOperand* TempAt(int i) V8_FINAL V8_OVERRIDE { return temps_[i]; }
|
| + virtual int TempCount() { return T; }
|
| + virtual LOperand* TempAt(int i) { return temps_[i]; }
|
| };
|
|
|
|
|
| -class LGap : public LTemplateInstruction<0, 0, 0> {
|
| +class LGap: public LTemplateInstruction<0, 0, 0> {
|
| public:
|
| explicit LGap(HBasicBlock* block)
|
| : block_(block) {
|
| @@ -352,8 +346,8 @@ class LGap : public LTemplateInstruction<0, 0, 0> {
|
| }
|
|
|
| // Can't use the DECLARE-macro here because of sub-classes.
|
| - virtual bool IsGap() const V8_OVERRIDE { return true; }
|
| - virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE;
|
| + virtual bool IsGap() const { return true; }
|
| + virtual void PrintDataTo(StringStream* stream);
|
| static LGap* cast(LInstruction* instr) {
|
| ASSERT(instr->IsGap());
|
| return reinterpret_cast<LGap*>(instr);
|
| @@ -389,11 +383,11 @@ class LGap : public LTemplateInstruction<0, 0, 0> {
|
| };
|
|
|
|
|
| -class LInstructionGap V8_FINAL : public LGap {
|
| +class LInstructionGap: public LGap {
|
| public:
|
| explicit LInstructionGap(HBasicBlock* block) : LGap(block) { }
|
|
|
| - virtual bool HasInterestingComment(LCodeGen* gen) const V8_OVERRIDE {
|
| + virtual bool HasInterestingComment(LCodeGen* gen) const {
|
| return !IsRedundant();
|
| }
|
|
|
| @@ -401,14 +395,14 @@ class LInstructionGap V8_FINAL : public LGap {
|
| };
|
|
|
|
|
| -class LGoto V8_FINAL : public LTemplateInstruction<0, 0, 0> {
|
| +class LGoto: public LTemplateInstruction<0, 0, 0> {
|
| public:
|
| explicit LGoto(int block_id) : block_id_(block_id) { }
|
|
|
| - virtual bool HasInterestingComment(LCodeGen* gen) const V8_OVERRIDE;
|
| + virtual bool HasInterestingComment(LCodeGen* gen) const;
|
| DECLARE_CONCRETE_INSTRUCTION(Goto, "goto")
|
| - virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE;
|
| - virtual bool IsControl() const V8_OVERRIDE { return true; }
|
| + virtual void PrintDataTo(StringStream* stream);
|
| + virtual bool IsControl() const { return true; }
|
|
|
| int block_id() const { return block_id_; }
|
|
|
| @@ -417,7 +411,7 @@ class LGoto V8_FINAL : public LTemplateInstruction<0, 0, 0> {
|
| };
|
|
|
|
|
| -class LLazyBailout V8_FINAL : public LTemplateInstruction<0, 0, 0> {
|
| +class LLazyBailout: public LTemplateInstruction<0, 0, 0> {
|
| public:
|
| LLazyBailout() : gap_instructions_size_(0) { }
|
|
|
| @@ -433,7 +427,7 @@ class LLazyBailout V8_FINAL : public LTemplateInstruction<0, 0, 0> {
|
| };
|
|
|
|
|
| -class LDummyUse V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| +class LDummyUse: public LTemplateInstruction<1, 1, 0> {
|
| public:
|
| explicit LDummyUse(LOperand* value) {
|
| inputs_[0] = value;
|
| @@ -442,24 +436,22 @@ class LDummyUse V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| };
|
|
|
|
|
| -class LDeoptimize V8_FINAL : public LTemplateInstruction<0, 0, 0> {
|
| +class LDeoptimize: public LTemplateInstruction<0, 0, 0> {
|
| public:
|
| DECLARE_CONCRETE_INSTRUCTION(Deoptimize, "deoptimize")
|
| DECLARE_HYDROGEN_ACCESSOR(Deoptimize)
|
| };
|
|
|
|
|
| -class LLabel V8_FINAL : public LGap {
|
| +class LLabel: public LGap {
|
| public:
|
| explicit LLabel(HBasicBlock* block)
|
| : LGap(block), replacement_(NULL) { }
|
|
|
| - virtual bool HasInterestingComment(LCodeGen* gen) const V8_OVERRIDE {
|
| - return false;
|
| - }
|
| + virtual bool HasInterestingComment(LCodeGen* gen) const { return false; }
|
| DECLARE_CONCRETE_INSTRUCTION(Label, "label")
|
|
|
| - virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE;
|
| + virtual void PrintDataTo(StringStream* stream);
|
|
|
| int block_id() const { return block()->block_id(); }
|
| bool is_loop_header() const { return block()->IsLoopHeader(); }
|
| @@ -475,14 +467,14 @@ class LLabel V8_FINAL : public LGap {
|
| };
|
|
|
|
|
| -class LParameter V8_FINAL : public LTemplateInstruction<1, 0, 0> {
|
| +class LParameter: public LTemplateInstruction<1, 0, 0> {
|
| public:
|
| virtual bool HasInterestingComment(LCodeGen* gen) const { return false; }
|
| DECLARE_CONCRETE_INSTRUCTION(Parameter, "parameter")
|
| };
|
|
|
|
|
| -class LCallStub V8_FINAL : public LTemplateInstruction<1, 0, 0> {
|
| +class LCallStub: public LTemplateInstruction<1, 0, 0> {
|
| public:
|
| DECLARE_CONCRETE_INSTRUCTION(CallStub, "call-stub")
|
| DECLARE_HYDROGEN_ACCESSOR(CallStub)
|
| @@ -493,21 +485,19 @@ class LCallStub V8_FINAL : public LTemplateInstruction<1, 0, 0> {
|
| };
|
|
|
|
|
| -class LUnknownOSRValue V8_FINAL : public LTemplateInstruction<1, 0, 0> {
|
| +class LUnknownOSRValue: public LTemplateInstruction<1, 0, 0> {
|
| public:
|
| - virtual bool HasInterestingComment(LCodeGen* gen) const V8_OVERRIDE {
|
| - return false;
|
| - }
|
| + virtual bool HasInterestingComment(LCodeGen* gen) const { return false; }
|
| DECLARE_CONCRETE_INSTRUCTION(UnknownOSRValue, "unknown-osr-value")
|
| };
|
|
|
|
|
| template<int I, int T>
|
| -class LControlInstruction : public LTemplateInstruction<0, I, T> {
|
| +class LControlInstruction: public LTemplateInstruction<0, I, T> {
|
| public:
|
| LControlInstruction() : false_label_(NULL), true_label_(NULL) { }
|
|
|
| - virtual bool IsControl() const V8_FINAL V8_OVERRIDE { return true; }
|
| + virtual bool IsControl() const { return true; }
|
|
|
| int SuccessorCount() { return hydrogen()->SuccessorCount(); }
|
| HBasicBlock* SuccessorAt(int i) { return hydrogen()->SuccessorAt(i); }
|
| @@ -546,7 +536,7 @@ class LControlInstruction : public LTemplateInstruction<0, I, T> {
|
| };
|
|
|
|
|
| -class LWrapReceiver V8_FINAL : public LTemplateInstruction<1, 2, 0> {
|
| +class LWrapReceiver: public LTemplateInstruction<1, 2, 0> {
|
| public:
|
| LWrapReceiver(LOperand* receiver, LOperand* function) {
|
| inputs_[0] = receiver;
|
| @@ -560,7 +550,7 @@ class LWrapReceiver V8_FINAL : public LTemplateInstruction<1, 2, 0> {
|
| };
|
|
|
|
|
| -class LApplyArguments V8_FINAL : public LTemplateInstruction<1, 4, 0> {
|
| +class LApplyArguments: public LTemplateInstruction<1, 4, 0> {
|
| public:
|
| LApplyArguments(LOperand* function,
|
| LOperand* receiver,
|
| @@ -581,7 +571,7 @@ class LApplyArguments V8_FINAL : public LTemplateInstruction<1, 4, 0> {
|
| };
|
|
|
|
|
| -class LAccessArgumentsAt V8_FINAL : public LTemplateInstruction<1, 3, 0> {
|
| +class LAccessArgumentsAt: public LTemplateInstruction<1, 3, 0> {
|
| public:
|
| LAccessArgumentsAt(LOperand* arguments, LOperand* length, LOperand* index) {
|
| inputs_[0] = arguments;
|
| @@ -595,11 +585,11 @@ class LAccessArgumentsAt V8_FINAL : public LTemplateInstruction<1, 3, 0> {
|
| LOperand* length() { return inputs_[1]; }
|
| LOperand* index() { return inputs_[2]; }
|
|
|
| - virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE;
|
| + virtual void PrintDataTo(StringStream* stream);
|
| };
|
|
|
|
|
| -class LArgumentsLength V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| +class LArgumentsLength: public LTemplateInstruction<1, 1, 0> {
|
| public:
|
| explicit LArgumentsLength(LOperand* elements) {
|
| inputs_[0] = elements;
|
| @@ -611,14 +601,14 @@ class LArgumentsLength V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| };
|
|
|
|
|
| -class LArgumentsElements V8_FINAL : public LTemplateInstruction<1, 0, 0> {
|
| +class LArgumentsElements: public LTemplateInstruction<1, 0, 0> {
|
| public:
|
| DECLARE_CONCRETE_INSTRUCTION(ArgumentsElements, "arguments-elements")
|
| DECLARE_HYDROGEN_ACCESSOR(ArgumentsElements)
|
| };
|
|
|
|
|
| -class LModI V8_FINAL : public LTemplateInstruction<1, 2, 2> {
|
| +class LModI: public LTemplateInstruction<1, 2, 2> {
|
| public:
|
| LModI(LOperand* left,
|
| LOperand* right,
|
| @@ -640,7 +630,7 @@ class LModI V8_FINAL : public LTemplateInstruction<1, 2, 2> {
|
| };
|
|
|
|
|
| -class LDivI V8_FINAL : public LTemplateInstruction<1, 2, 1> {
|
| +class LDivI: public LTemplateInstruction<1, 2, 1> {
|
| public:
|
| LDivI(LOperand* left, LOperand* right, LOperand* temp) {
|
| inputs_[0] = left;
|
| @@ -657,7 +647,7 @@ class LDivI V8_FINAL : public LTemplateInstruction<1, 2, 1> {
|
| };
|
|
|
|
|
| -class LMathFloorOfDiv V8_FINAL : public LTemplateInstruction<1, 2, 1> {
|
| +class LMathFloorOfDiv: public LTemplateInstruction<1, 2, 1> {
|
| public:
|
| LMathFloorOfDiv(LOperand* left,
|
| LOperand* right,
|
| @@ -676,7 +666,7 @@ class LMathFloorOfDiv V8_FINAL : public LTemplateInstruction<1, 2, 1> {
|
| };
|
|
|
|
|
| -class LMulI V8_FINAL : public LTemplateInstruction<1, 2, 1> {
|
| +class LMulI: public LTemplateInstruction<1, 2, 1> {
|
| public:
|
| LMulI(LOperand* left, LOperand* right, LOperand* temp) {
|
| inputs_[0] = left;
|
| @@ -694,7 +684,7 @@ class LMulI V8_FINAL : public LTemplateInstruction<1, 2, 1> {
|
|
|
|
|
| // Instruction for computing multiplier * multiplicand + addend.
|
| -class LMultiplyAddD V8_FINAL : public LTemplateInstruction<1, 3, 0> {
|
| +class LMultiplyAddD: public LTemplateInstruction<1, 3, 0> {
|
| public:
|
| LMultiplyAddD(LOperand* addend, LOperand* multiplier,
|
| LOperand* multiplicand) {
|
| @@ -712,7 +702,7 @@ class LMultiplyAddD V8_FINAL : public LTemplateInstruction<1, 3, 0> {
|
|
|
|
|
| // Instruction for computing minuend - multiplier * multiplicand.
|
| -class LMultiplySubD V8_FINAL : public LTemplateInstruction<1, 3, 0> {
|
| +class LMultiplySubD: public LTemplateInstruction<1, 3, 0> {
|
| public:
|
| LMultiplySubD(LOperand* minuend, LOperand* multiplier,
|
| LOperand* multiplicand) {
|
| @@ -729,13 +719,13 @@ class LMultiplySubD V8_FINAL : public LTemplateInstruction<1, 3, 0> {
|
| };
|
|
|
|
|
| -class LDebugBreak V8_FINAL : public LTemplateInstruction<0, 0, 0> {
|
| +class LDebugBreak: public LTemplateInstruction<0, 0, 0> {
|
| public:
|
| DECLARE_CONCRETE_INSTRUCTION(DebugBreak, "break")
|
| };
|
|
|
|
|
| -class LCompareNumericAndBranch V8_FINAL : public LControlInstruction<2, 0> {
|
| +class LCompareNumericAndBranch: public LControlInstruction<2, 0> {
|
| public:
|
| LCompareNumericAndBranch(LOperand* left, LOperand* right) {
|
| inputs_[0] = left;
|
| @@ -754,11 +744,11 @@ class LCompareNumericAndBranch V8_FINAL : public LControlInstruction<2, 0> {
|
| return hydrogen()->representation().IsDouble();
|
| }
|
|
|
| - virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE;
|
| + virtual void PrintDataTo(StringStream* stream);
|
| };
|
|
|
|
|
| -class LMathFloor V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| +class LMathFloor: public LTemplateInstruction<1, 1, 0> {
|
| public:
|
| explicit LMathFloor(LOperand* value) {
|
| inputs_[0] = value;
|
| @@ -771,7 +761,7 @@ class LMathFloor V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| };
|
|
|
|
|
| -class LMathRound V8_FINAL : public LTemplateInstruction<1, 1, 1> {
|
| +class LMathRound: public LTemplateInstruction<1, 1, 1> {
|
| public:
|
| LMathRound(LOperand* value, LOperand* temp) {
|
| inputs_[0] = value;
|
| @@ -786,7 +776,7 @@ class LMathRound V8_FINAL : public LTemplateInstruction<1, 1, 1> {
|
| };
|
|
|
|
|
| -class LMathAbs V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| +class LMathAbs: public LTemplateInstruction<1, 1, 0> {
|
| public:
|
| explicit LMathAbs(LOperand* value) {
|
| inputs_[0] = value;
|
| @@ -799,7 +789,7 @@ class LMathAbs V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| };
|
|
|
|
|
| -class LMathLog V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| +class LMathLog: public LTemplateInstruction<1, 1, 0> {
|
| public:
|
| explicit LMathLog(LOperand* value) {
|
| inputs_[0] = value;
|
| @@ -811,7 +801,7 @@ class LMathLog V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| };
|
|
|
|
|
| -class LMathSin V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| +class LMathSin: public LTemplateInstruction<1, 1, 0> {
|
| public:
|
| explicit LMathSin(LOperand* value) {
|
| inputs_[0] = value;
|
| @@ -823,7 +813,7 @@ class LMathSin V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| };
|
|
|
|
|
| -class LMathCos V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| +class LMathCos: public LTemplateInstruction<1, 1, 0> {
|
| public:
|
| explicit LMathCos(LOperand* value) {
|
| inputs_[0] = value;
|
| @@ -835,7 +825,7 @@ class LMathCos V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| };
|
|
|
|
|
| -class LMathTan V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| +class LMathTan: public LTemplateInstruction<1, 1, 0> {
|
| public:
|
| explicit LMathTan(LOperand* value) {
|
| inputs_[0] = value;
|
| @@ -847,7 +837,7 @@ class LMathTan V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| };
|
|
|
|
|
| -class LMathExp V8_FINAL : public LTemplateInstruction<1, 1, 3> {
|
| +class LMathExp: public LTemplateInstruction<1, 1, 3> {
|
| public:
|
| LMathExp(LOperand* value,
|
| LOperand* double_temp,
|
| @@ -869,7 +859,7 @@ class LMathExp V8_FINAL : public LTemplateInstruction<1, 1, 3> {
|
| };
|
|
|
|
|
| -class LMathSqrt V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| +class LMathSqrt: public LTemplateInstruction<1, 1, 0> {
|
| public:
|
| explicit LMathSqrt(LOperand* value) {
|
| inputs_[0] = value;
|
| @@ -881,7 +871,7 @@ class LMathSqrt V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| };
|
|
|
|
|
| -class LMathPowHalf V8_FINAL : public LTemplateInstruction<1, 1, 1> {
|
| +class LMathPowHalf: public LTemplateInstruction<1, 1, 1> {
|
| public:
|
| LMathPowHalf(LOperand* value, LOperand* temp) {
|
| inputs_[0] = value;
|
| @@ -895,7 +885,7 @@ class LMathPowHalf V8_FINAL : public LTemplateInstruction<1, 1, 1> {
|
| };
|
|
|
|
|
| -class LCmpObjectEqAndBranch V8_FINAL : public LControlInstruction<2, 0> {
|
| +class LCmpObjectEqAndBranch: public LControlInstruction<2, 0> {
|
| public:
|
| LCmpObjectEqAndBranch(LOperand* left, LOperand* right) {
|
| inputs_[0] = left;
|
| @@ -910,7 +900,7 @@ class LCmpObjectEqAndBranch V8_FINAL : public LControlInstruction<2, 0> {
|
| };
|
|
|
|
|
| -class LCmpHoleAndBranch V8_FINAL : public LControlInstruction<1, 0> {
|
| +class LCmpHoleAndBranch: public LControlInstruction<1, 0> {
|
| public:
|
| explicit LCmpHoleAndBranch(LOperand* object) {
|
| inputs_[0] = object;
|
| @@ -923,7 +913,7 @@ class LCmpHoleAndBranch V8_FINAL : public LControlInstruction<1, 0> {
|
| };
|
|
|
|
|
| -class LIsObjectAndBranch V8_FINAL : public LControlInstruction<1, 1> {
|
| +class LIsObjectAndBranch: public LControlInstruction<1, 1> {
|
| public:
|
| LIsObjectAndBranch(LOperand* value, LOperand* temp) {
|
| inputs_[0] = value;
|
| @@ -936,11 +926,11 @@ class LIsObjectAndBranch V8_FINAL : public LControlInstruction<1, 1> {
|
| DECLARE_CONCRETE_INSTRUCTION(IsObjectAndBranch, "is-object-and-branch")
|
| DECLARE_HYDROGEN_ACCESSOR(IsObjectAndBranch)
|
|
|
| - virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE;
|
| + virtual void PrintDataTo(StringStream* stream);
|
| };
|
|
|
|
|
| -class LIsNumberAndBranch V8_FINAL : public LControlInstruction<1, 0> {
|
| +class LIsNumberAndBranch: public LControlInstruction<1, 0> {
|
| public:
|
| explicit LIsNumberAndBranch(LOperand* value) {
|
| inputs_[0] = value;
|
| @@ -953,7 +943,7 @@ class LIsNumberAndBranch V8_FINAL : public LControlInstruction<1, 0> {
|
| };
|
|
|
|
|
| -class LIsStringAndBranch V8_FINAL : public LControlInstruction<1, 1> {
|
| +class LIsStringAndBranch: public LControlInstruction<1, 1> {
|
| public:
|
| LIsStringAndBranch(LOperand* value, LOperand* temp) {
|
| inputs_[0] = value;
|
| @@ -966,11 +956,11 @@ class LIsStringAndBranch V8_FINAL : public LControlInstruction<1, 1> {
|
| DECLARE_CONCRETE_INSTRUCTION(IsStringAndBranch, "is-string-and-branch")
|
| DECLARE_HYDROGEN_ACCESSOR(IsStringAndBranch)
|
|
|
| - virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE;
|
| + virtual void PrintDataTo(StringStream* stream);
|
| };
|
|
|
|
|
| -class LIsSmiAndBranch V8_FINAL : public LControlInstruction<1, 0> {
|
| +class LIsSmiAndBranch: public LControlInstruction<1, 0> {
|
| public:
|
| explicit LIsSmiAndBranch(LOperand* value) {
|
| inputs_[0] = value;
|
| @@ -981,11 +971,11 @@ class LIsSmiAndBranch V8_FINAL : public LControlInstruction<1, 0> {
|
| DECLARE_CONCRETE_INSTRUCTION(IsSmiAndBranch, "is-smi-and-branch")
|
| DECLARE_HYDROGEN_ACCESSOR(IsSmiAndBranch)
|
|
|
| - virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE;
|
| + virtual void PrintDataTo(StringStream* stream);
|
| };
|
|
|
|
|
| -class LIsUndetectableAndBranch V8_FINAL : public LControlInstruction<1, 1> {
|
| +class LIsUndetectableAndBranch: public LControlInstruction<1, 1> {
|
| public:
|
| explicit LIsUndetectableAndBranch(LOperand* value, LOperand* temp) {
|
| inputs_[0] = value;
|
| @@ -999,11 +989,11 @@ class LIsUndetectableAndBranch V8_FINAL : public LControlInstruction<1, 1> {
|
| "is-undetectable-and-branch")
|
| DECLARE_HYDROGEN_ACCESSOR(IsUndetectableAndBranch)
|
|
|
| - virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE;
|
| + virtual void PrintDataTo(StringStream* stream);
|
| };
|
|
|
|
|
| -class LStringCompareAndBranch V8_FINAL : public LControlInstruction<2, 0> {
|
| +class LStringCompareAndBranch: public LControlInstruction<2, 0> {
|
| public:
|
| LStringCompareAndBranch(LOperand* left, LOperand* right) {
|
| inputs_[0] = left;
|
| @@ -1019,11 +1009,11 @@ class LStringCompareAndBranch V8_FINAL : public LControlInstruction<2, 0> {
|
|
|
| Token::Value op() const { return hydrogen()->token(); }
|
|
|
| - virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE;
|
| + virtual void PrintDataTo(StringStream* stream);
|
| };
|
|
|
|
|
| -class LHasInstanceTypeAndBranch V8_FINAL : public LControlInstruction<1, 0> {
|
| +class LHasInstanceTypeAndBranch: public LControlInstruction<1, 0> {
|
| public:
|
| explicit LHasInstanceTypeAndBranch(LOperand* value) {
|
| inputs_[0] = value;
|
| @@ -1035,11 +1025,11 @@ class LHasInstanceTypeAndBranch V8_FINAL : public LControlInstruction<1, 0> {
|
| "has-instance-type-and-branch")
|
| DECLARE_HYDROGEN_ACCESSOR(HasInstanceTypeAndBranch)
|
|
|
| - virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE;
|
| + virtual void PrintDataTo(StringStream* stream);
|
| };
|
|
|
|
|
| -class LGetCachedArrayIndex V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| +class LGetCachedArrayIndex: public LTemplateInstruction<1, 1, 0> {
|
| public:
|
| explicit LGetCachedArrayIndex(LOperand* value) {
|
| inputs_[0] = value;
|
| @@ -1052,8 +1042,7 @@ class LGetCachedArrayIndex V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| };
|
|
|
|
|
| -class LHasCachedArrayIndexAndBranch V8_FINAL
|
| - : public LControlInstruction<1, 0> {
|
| +class LHasCachedArrayIndexAndBranch: public LControlInstruction<1, 0> {
|
| public:
|
| explicit LHasCachedArrayIndexAndBranch(LOperand* value) {
|
| inputs_[0] = value;
|
| @@ -1065,11 +1054,11 @@ class LHasCachedArrayIndexAndBranch V8_FINAL
|
| "has-cached-array-index-and-branch")
|
| DECLARE_HYDROGEN_ACCESSOR(HasCachedArrayIndexAndBranch)
|
|
|
| - virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE;
|
| + virtual void PrintDataTo(StringStream* stream);
|
| };
|
|
|
|
|
| -class LClassOfTestAndBranch V8_FINAL : public LControlInstruction<1, 1> {
|
| +class LClassOfTestAndBranch: public LControlInstruction<1, 1> {
|
| public:
|
| LClassOfTestAndBranch(LOperand* value, LOperand* temp) {
|
| inputs_[0] = value;
|
| @@ -1083,11 +1072,11 @@ class LClassOfTestAndBranch V8_FINAL : public LControlInstruction<1, 1> {
|
| "class-of-test-and-branch")
|
| DECLARE_HYDROGEN_ACCESSOR(ClassOfTestAndBranch)
|
|
|
| - virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE;
|
| + virtual void PrintDataTo(StringStream* stream);
|
| };
|
|
|
|
|
| -class LCmpT V8_FINAL : public LTemplateInstruction<1, 2, 0> {
|
| +class LCmpT: public LTemplateInstruction<1, 2, 0> {
|
| public:
|
| LCmpT(LOperand* left, LOperand* right) {
|
| inputs_[0] = left;
|
| @@ -1104,7 +1093,7 @@ class LCmpT V8_FINAL : public LTemplateInstruction<1, 2, 0> {
|
| };
|
|
|
|
|
| -class LInstanceOf V8_FINAL : public LTemplateInstruction<1, 2, 0> {
|
| +class LInstanceOf: public LTemplateInstruction<1, 2, 0> {
|
| public:
|
| LInstanceOf(LOperand* left, LOperand* right) {
|
| inputs_[0] = left;
|
| @@ -1118,7 +1107,7 @@ class LInstanceOf V8_FINAL : public LTemplateInstruction<1, 2, 0> {
|
| };
|
|
|
|
|
| -class LInstanceOfKnownGlobal V8_FINAL : public LTemplateInstruction<1, 1, 1> {
|
| +class LInstanceOfKnownGlobal: public LTemplateInstruction<1, 1, 1> {
|
| public:
|
| LInstanceOfKnownGlobal(LOperand* value, LOperand* temp) {
|
| inputs_[0] = value;
|
| @@ -1136,8 +1125,7 @@ class LInstanceOfKnownGlobal V8_FINAL : public LTemplateInstruction<1, 1, 1> {
|
| LEnvironment* GetDeferredLazyDeoptimizationEnvironment() {
|
| return lazy_deopt_env_;
|
| }
|
| - virtual void SetDeferredLazyDeoptimizationEnvironment(
|
| - LEnvironment* env) V8_OVERRIDE {
|
| + virtual void SetDeferredLazyDeoptimizationEnvironment(LEnvironment* env) {
|
| lazy_deopt_env_ = env;
|
| }
|
|
|
| @@ -1146,7 +1134,7 @@ class LInstanceOfKnownGlobal V8_FINAL : public LTemplateInstruction<1, 1, 1> {
|
| };
|
|
|
|
|
| -class LInstanceSize V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| +class LInstanceSize: public LTemplateInstruction<1, 1, 0> {
|
| public:
|
| explicit LInstanceSize(LOperand* object) {
|
| inputs_[0] = object;
|
| @@ -1159,7 +1147,7 @@ class LInstanceSize V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| };
|
|
|
|
|
| -class LBoundsCheck V8_FINAL : public LTemplateInstruction<0, 2, 0> {
|
| +class LBoundsCheck: public LTemplateInstruction<0, 2, 0> {
|
| public:
|
| LBoundsCheck(LOperand* index, LOperand* length) {
|
| inputs_[0] = index;
|
| @@ -1174,7 +1162,7 @@ class LBoundsCheck V8_FINAL : public LTemplateInstruction<0, 2, 0> {
|
| };
|
|
|
|
|
| -class LBitI V8_FINAL : public LTemplateInstruction<1, 2, 0> {
|
| +class LBitI: public LTemplateInstruction<1, 2, 0> {
|
| public:
|
| LBitI(LOperand* left, LOperand* right) {
|
| inputs_[0] = left;
|
| @@ -1191,7 +1179,7 @@ class LBitI V8_FINAL : public LTemplateInstruction<1, 2, 0> {
|
| };
|
|
|
|
|
| -class LShiftI V8_FINAL : public LTemplateInstruction<1, 2, 0> {
|
| +class LShiftI: public LTemplateInstruction<1, 2, 0> {
|
| public:
|
| LShiftI(Token::Value op, LOperand* left, LOperand* right, bool can_deopt)
|
| : op_(op), can_deopt_(can_deopt) {
|
| @@ -1212,7 +1200,7 @@ class LShiftI V8_FINAL : public LTemplateInstruction<1, 2, 0> {
|
| };
|
|
|
|
|
| -class LSubI V8_FINAL : public LTemplateInstruction<1, 2, 0> {
|
| +class LSubI: public LTemplateInstruction<1, 2, 0> {
|
| public:
|
| LSubI(LOperand* left, LOperand* right) {
|
| inputs_[0] = left;
|
| @@ -1227,7 +1215,7 @@ class LSubI V8_FINAL : public LTemplateInstruction<1, 2, 0> {
|
| };
|
|
|
|
|
| -class LRSubI V8_FINAL : public LTemplateInstruction<1, 2, 0> {
|
| +class LRSubI: public LTemplateInstruction<1, 2, 0> {
|
| public:
|
| LRSubI(LOperand* left, LOperand* right) {
|
| inputs_[0] = left;
|
| @@ -1242,7 +1230,7 @@ class LRSubI V8_FINAL : public LTemplateInstruction<1, 2, 0> {
|
| };
|
|
|
|
|
| -class LConstantI V8_FINAL : public LTemplateInstruction<1, 0, 0> {
|
| +class LConstantI: public LTemplateInstruction<1, 0, 0> {
|
| public:
|
| DECLARE_CONCRETE_INSTRUCTION(ConstantI, "constant-i")
|
| DECLARE_HYDROGEN_ACCESSOR(Constant)
|
| @@ -1251,7 +1239,7 @@ class LConstantI V8_FINAL : public LTemplateInstruction<1, 0, 0> {
|
| };
|
|
|
|
|
| -class LConstantS V8_FINAL : public LTemplateInstruction<1, 0, 0> {
|
| +class LConstantS: public LTemplateInstruction<1, 0, 0> {
|
| public:
|
| DECLARE_CONCRETE_INSTRUCTION(ConstantS, "constant-s")
|
| DECLARE_HYDROGEN_ACCESSOR(Constant)
|
| @@ -1260,7 +1248,7 @@ class LConstantS V8_FINAL : public LTemplateInstruction<1, 0, 0> {
|
| };
|
|
|
|
|
| -class LConstantD V8_FINAL : public LTemplateInstruction<1, 0, 0> {
|
| +class LConstantD: public LTemplateInstruction<1, 0, 0> {
|
| public:
|
| DECLARE_CONCRETE_INSTRUCTION(ConstantD, "constant-d")
|
| DECLARE_HYDROGEN_ACCESSOR(Constant)
|
| @@ -1269,7 +1257,7 @@ class LConstantD V8_FINAL : public LTemplateInstruction<1, 0, 0> {
|
| };
|
|
|
|
|
| -class LConstantE V8_FINAL : public LTemplateInstruction<1, 0, 0> {
|
| +class LConstantE: public LTemplateInstruction<1, 0, 0> {
|
| public:
|
| DECLARE_CONCRETE_INSTRUCTION(ConstantE, "constant-e")
|
| DECLARE_HYDROGEN_ACCESSOR(Constant)
|
| @@ -1280,7 +1268,7 @@ class LConstantE V8_FINAL : public LTemplateInstruction<1, 0, 0> {
|
| };
|
|
|
|
|
| -class LConstantT V8_FINAL : public LTemplateInstruction<1, 0, 0> {
|
| +class LConstantT: public LTemplateInstruction<1, 0, 0> {
|
| public:
|
| DECLARE_CONCRETE_INSTRUCTION(ConstantT, "constant-t")
|
| DECLARE_HYDROGEN_ACCESSOR(Constant)
|
| @@ -1289,7 +1277,7 @@ class LConstantT V8_FINAL : public LTemplateInstruction<1, 0, 0> {
|
| };
|
|
|
|
|
| -class LBranch V8_FINAL : public LControlInstruction<1, 0> {
|
| +class LBranch: public LControlInstruction<1, 0> {
|
| public:
|
| explicit LBranch(LOperand* value) {
|
| inputs_[0] = value;
|
| @@ -1300,11 +1288,11 @@ class LBranch V8_FINAL : public LControlInstruction<1, 0> {
|
| DECLARE_CONCRETE_INSTRUCTION(Branch, "branch")
|
| DECLARE_HYDROGEN_ACCESSOR(Branch)
|
|
|
| - virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE;
|
| + virtual void PrintDataTo(StringStream* stream);
|
| };
|
|
|
|
|
| -class LCmpMapAndBranch V8_FINAL : public LControlInstruction<1, 1> {
|
| +class LCmpMapAndBranch: public LControlInstruction<1, 1> {
|
| public:
|
| LCmpMapAndBranch(LOperand* value, LOperand* temp) {
|
| inputs_[0] = value;
|
| @@ -1321,7 +1309,7 @@ class LCmpMapAndBranch V8_FINAL : public LControlInstruction<1, 1> {
|
| };
|
|
|
|
|
| -class LMapEnumLength V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| +class LMapEnumLength: public LTemplateInstruction<1, 1, 0> {
|
| public:
|
| explicit LMapEnumLength(LOperand* value) {
|
| inputs_[0] = value;
|
| @@ -1333,7 +1321,7 @@ class LMapEnumLength V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| };
|
|
|
|
|
| -class LElementsKind V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| +class LElementsKind: public LTemplateInstruction<1, 1, 0> {
|
| public:
|
| explicit LElementsKind(LOperand* value) {
|
| inputs_[0] = value;
|
| @@ -1346,7 +1334,7 @@ class LElementsKind V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| };
|
|
|
|
|
| -class LValueOf V8_FINAL : public LTemplateInstruction<1, 1, 1> {
|
| +class LValueOf: public LTemplateInstruction<1, 1, 1> {
|
| public:
|
| LValueOf(LOperand* value, LOperand* temp) {
|
| inputs_[0] = value;
|
| @@ -1361,7 +1349,7 @@ class LValueOf V8_FINAL : public LTemplateInstruction<1, 1, 1> {
|
| };
|
|
|
|
|
| -class LDateField V8_FINAL : public LTemplateInstruction<1, 1, 1> {
|
| +class LDateField: public LTemplateInstruction<1, 1, 1> {
|
| public:
|
| LDateField(LOperand* date, LOperand* temp, Smi* index) : index_(index) {
|
| inputs_[0] = date;
|
| @@ -1380,7 +1368,7 @@ class LDateField V8_FINAL : public LTemplateInstruction<1, 1, 1> {
|
| };
|
|
|
|
|
| -class LSeqStringSetChar V8_FINAL : public LTemplateInstruction<1, 3, 0> {
|
| +class LSeqStringSetChar: public LTemplateInstruction<1, 3, 0> {
|
| public:
|
| LSeqStringSetChar(String::Encoding encoding,
|
| LOperand* string,
|
| @@ -1404,7 +1392,7 @@ class LSeqStringSetChar V8_FINAL : public LTemplateInstruction<1, 3, 0> {
|
| };
|
|
|
|
|
| -class LThrow V8_FINAL : public LTemplateInstruction<0, 1, 0> {
|
| +class LThrow: public LTemplateInstruction<0, 1, 0> {
|
| public:
|
| explicit LThrow(LOperand* value) {
|
| inputs_[0] = value;
|
| @@ -1416,7 +1404,7 @@ class LThrow V8_FINAL : public LTemplateInstruction<0, 1, 0> {
|
| };
|
|
|
|
|
| -class LAddI V8_FINAL : public LTemplateInstruction<1, 2, 0> {
|
| +class LAddI: public LTemplateInstruction<1, 2, 0> {
|
| public:
|
| LAddI(LOperand* left, LOperand* right) {
|
| inputs_[0] = left;
|
| @@ -1431,7 +1419,7 @@ class LAddI V8_FINAL : public LTemplateInstruction<1, 2, 0> {
|
| };
|
|
|
|
|
| -class LMathMinMax V8_FINAL : public LTemplateInstruction<1, 2, 0> {
|
| +class LMathMinMax: public LTemplateInstruction<1, 2, 0> {
|
| public:
|
| LMathMinMax(LOperand* left, LOperand* right) {
|
| inputs_[0] = left;
|
| @@ -1446,7 +1434,7 @@ class LMathMinMax V8_FINAL : public LTemplateInstruction<1, 2, 0> {
|
| };
|
|
|
|
|
| -class LPower V8_FINAL : public LTemplateInstruction<1, 2, 0> {
|
| +class LPower: public LTemplateInstruction<1, 2, 0> {
|
| public:
|
| LPower(LOperand* left, LOperand* right) {
|
| inputs_[0] = left;
|
| @@ -1461,7 +1449,7 @@ class LPower V8_FINAL : public LTemplateInstruction<1, 2, 0> {
|
| };
|
|
|
|
|
| -class LRandom V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| +class LRandom: public LTemplateInstruction<1, 1, 0> {
|
| public:
|
| explicit LRandom(LOperand* global_object) {
|
| inputs_[0] = global_object;
|
| @@ -1474,7 +1462,7 @@ class LRandom V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| };
|
|
|
|
|
| -class LArithmeticD V8_FINAL : public LTemplateInstruction<1, 2, 0> {
|
| +class LArithmeticD: public LTemplateInstruction<1, 2, 0> {
|
| public:
|
| LArithmeticD(Token::Value op, LOperand* left, LOperand* right)
|
| : op_(op) {
|
| @@ -1486,18 +1474,16 @@ class LArithmeticD V8_FINAL : public LTemplateInstruction<1, 2, 0> {
|
| LOperand* left() { return inputs_[0]; }
|
| LOperand* right() { return inputs_[1]; }
|
|
|
| - virtual Opcode opcode() const V8_OVERRIDE {
|
| - return LInstruction::kArithmeticD;
|
| - }
|
| - virtual void CompileToNative(LCodeGen* generator) V8_OVERRIDE;
|
| - virtual const char* Mnemonic() const V8_OVERRIDE;
|
| + virtual Opcode opcode() const { return LInstruction::kArithmeticD; }
|
| + virtual void CompileToNative(LCodeGen* generator);
|
| + virtual const char* Mnemonic() const;
|
|
|
| private:
|
| Token::Value op_;
|
| };
|
|
|
|
|
| -class LArithmeticT V8_FINAL : public LTemplateInstruction<1, 2, 0> {
|
| +class LArithmeticT: public LTemplateInstruction<1, 2, 0> {
|
| public:
|
| LArithmeticT(Token::Value op, LOperand* left, LOperand* right)
|
| : op_(op) {
|
| @@ -1509,18 +1495,16 @@ class LArithmeticT V8_FINAL : public LTemplateInstruction<1, 2, 0> {
|
| LOperand* right() { return inputs_[1]; }
|
| Token::Value op() const { return op_; }
|
|
|
| - virtual Opcode opcode() const V8_OVERRIDE {
|
| - return LInstruction::kArithmeticT;
|
| - }
|
| - virtual void CompileToNative(LCodeGen* generator) V8_OVERRIDE;
|
| - virtual const char* Mnemonic() const V8_OVERRIDE;
|
| + virtual Opcode opcode() const { return LInstruction::kArithmeticT; }
|
| + virtual void CompileToNative(LCodeGen* generator);
|
| + virtual const char* Mnemonic() const;
|
|
|
| private:
|
| Token::Value op_;
|
| };
|
|
|
|
|
| -class LReturn V8_FINAL : public LTemplateInstruction<0, 2, 0> {
|
| +class LReturn: public LTemplateInstruction<0, 2, 0> {
|
| public:
|
| explicit LReturn(LOperand* value, LOperand* parameter_count) {
|
| inputs_[0] = value;
|
| @@ -1542,7 +1526,7 @@ class LReturn V8_FINAL : public LTemplateInstruction<0, 2, 0> {
|
| };
|
|
|
|
|
| -class LLoadNamedField V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| +class LLoadNamedField: public LTemplateInstruction<1, 1, 0> {
|
| public:
|
| explicit LLoadNamedField(LOperand* object) {
|
| inputs_[0] = object;
|
| @@ -1555,7 +1539,7 @@ class LLoadNamedField V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| };
|
|
|
|
|
| -class LLoadNamedGeneric V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| +class LLoadNamedGeneric: public LTemplateInstruction<1, 1, 0> {
|
| public:
|
| explicit LLoadNamedGeneric(LOperand* object) {
|
| inputs_[0] = object;
|
| @@ -1570,7 +1554,7 @@ class LLoadNamedGeneric V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| };
|
|
|
|
|
| -class LLoadFunctionPrototype V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| +class LLoadFunctionPrototype: public LTemplateInstruction<1, 1, 0> {
|
| public:
|
| explicit LLoadFunctionPrototype(LOperand* function) {
|
| inputs_[0] = function;
|
| @@ -1583,8 +1567,7 @@ class LLoadFunctionPrototype V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| };
|
|
|
|
|
| -class LLoadExternalArrayPointer V8_FINAL
|
| - : public LTemplateInstruction<1, 1, 0> {
|
| +class LLoadExternalArrayPointer: public LTemplateInstruction<1, 1, 0> {
|
| public:
|
| explicit LLoadExternalArrayPointer(LOperand* object) {
|
| inputs_[0] = object;
|
| @@ -1597,7 +1580,7 @@ class LLoadExternalArrayPointer V8_FINAL
|
| };
|
|
|
|
|
| -class LLoadKeyed V8_FINAL : public LTemplateInstruction<1, 2, 0> {
|
| +class LLoadKeyed: public LTemplateInstruction<1, 2, 0> {
|
| public:
|
| LLoadKeyed(LOperand* elements, LOperand* key) {
|
| inputs_[0] = elements;
|
| @@ -1616,12 +1599,12 @@ class LLoadKeyed V8_FINAL : public LTemplateInstruction<1, 2, 0> {
|
| DECLARE_CONCRETE_INSTRUCTION(LoadKeyed, "load-keyed")
|
| DECLARE_HYDROGEN_ACCESSOR(LoadKeyed)
|
|
|
| - virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE;
|
| + virtual void PrintDataTo(StringStream* stream);
|
| uint32_t additional_index() const { return hydrogen()->index_offset(); }
|
| };
|
|
|
|
|
| -class LLoadKeyedGeneric V8_FINAL : public LTemplateInstruction<1, 2, 0> {
|
| +class LLoadKeyedGeneric: public LTemplateInstruction<1, 2, 0> {
|
| public:
|
| LLoadKeyedGeneric(LOperand* object, LOperand* key) {
|
| inputs_[0] = object;
|
| @@ -1635,14 +1618,14 @@ class LLoadKeyedGeneric V8_FINAL : public LTemplateInstruction<1, 2, 0> {
|
| };
|
|
|
|
|
| -class LLoadGlobalCell V8_FINAL : public LTemplateInstruction<1, 0, 0> {
|
| +class LLoadGlobalCell: public LTemplateInstruction<1, 0, 0> {
|
| public:
|
| DECLARE_CONCRETE_INSTRUCTION(LoadGlobalCell, "load-global-cell")
|
| DECLARE_HYDROGEN_ACCESSOR(LoadGlobalCell)
|
| };
|
|
|
|
|
| -class LLoadGlobalGeneric V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| +class LLoadGlobalGeneric: public LTemplateInstruction<1, 1, 0> {
|
| public:
|
| explicit LLoadGlobalGeneric(LOperand* global_object) {
|
| inputs_[0] = global_object;
|
| @@ -1658,7 +1641,7 @@ class LLoadGlobalGeneric V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| };
|
|
|
|
|
| -class LStoreGlobalCell V8_FINAL : public LTemplateInstruction<0, 1, 1> {
|
| +class LStoreGlobalCell: public LTemplateInstruction<0, 1, 1> {
|
| public:
|
| LStoreGlobalCell(LOperand* value, LOperand* temp) {
|
| inputs_[0] = value;
|
| @@ -1673,7 +1656,7 @@ class LStoreGlobalCell V8_FINAL : public LTemplateInstruction<0, 1, 1> {
|
| };
|
|
|
|
|
| -class LStoreGlobalGeneric V8_FINAL : public LTemplateInstruction<0, 2, 0> {
|
| +class LStoreGlobalGeneric: public LTemplateInstruction<0, 2, 0> {
|
| public:
|
| explicit LStoreGlobalGeneric(LOperand* global_object,
|
| LOperand* value) {
|
| @@ -1692,7 +1675,7 @@ class LStoreGlobalGeneric V8_FINAL : public LTemplateInstruction<0, 2, 0> {
|
| };
|
|
|
|
|
| -class LLoadContextSlot V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| +class LLoadContextSlot: public LTemplateInstruction<1, 1, 0> {
|
| public:
|
| explicit LLoadContextSlot(LOperand* context) {
|
| inputs_[0] = context;
|
| @@ -1705,11 +1688,11 @@ class LLoadContextSlot V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
|
|
| int slot_index() { return hydrogen()->slot_index(); }
|
|
|
| - virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE;
|
| + virtual void PrintDataTo(StringStream* stream);
|
| };
|
|
|
|
|
| -class LStoreContextSlot V8_FINAL : public LTemplateInstruction<0, 2, 0> {
|
| +class LStoreContextSlot: public LTemplateInstruction<0, 2, 0> {
|
| public:
|
| LStoreContextSlot(LOperand* context, LOperand* value) {
|
| inputs_[0] = context;
|
| @@ -1724,11 +1707,11 @@ class LStoreContextSlot V8_FINAL : public LTemplateInstruction<0, 2, 0> {
|
|
|
| int slot_index() { return hydrogen()->slot_index(); }
|
|
|
| - virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE;
|
| + virtual void PrintDataTo(StringStream* stream);
|
| };
|
|
|
|
|
| -class LPushArgument V8_FINAL : public LTemplateInstruction<0, 1, 0> {
|
| +class LPushArgument: public LTemplateInstruction<0, 1, 0> {
|
| public:
|
| explicit LPushArgument(LOperand* value) {
|
| inputs_[0] = value;
|
| @@ -1740,7 +1723,7 @@ class LPushArgument V8_FINAL : public LTemplateInstruction<0, 1, 0> {
|
| };
|
|
|
|
|
| -class LDrop V8_FINAL : public LTemplateInstruction<0, 0, 0> {
|
| +class LDrop: public LTemplateInstruction<0, 0, 0> {
|
| public:
|
| explicit LDrop(int count) : count_(count) { }
|
|
|
| @@ -1753,7 +1736,7 @@ class LDrop V8_FINAL : public LTemplateInstruction<0, 0, 0> {
|
| };
|
|
|
|
|
| -class LInnerAllocatedObject V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| +class LInnerAllocatedObject: public LTemplateInstruction<1, 1, 0> {
|
| public:
|
| explicit LInnerAllocatedObject(LOperand* base_object) {
|
| inputs_[0] = base_object;
|
| @@ -1762,28 +1745,28 @@ class LInnerAllocatedObject V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| LOperand* base_object() { return inputs_[0]; }
|
| int offset() { return hydrogen()->offset(); }
|
|
|
| - virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE;
|
| + virtual void PrintDataTo(StringStream* stream);
|
|
|
| DECLARE_CONCRETE_INSTRUCTION(InnerAllocatedObject, "sub-allocated-object")
|
| DECLARE_HYDROGEN_ACCESSOR(InnerAllocatedObject)
|
| };
|
|
|
|
|
| -class LThisFunction V8_FINAL : public LTemplateInstruction<1, 0, 0> {
|
| +class LThisFunction: public LTemplateInstruction<1, 0, 0> {
|
| public:
|
| DECLARE_CONCRETE_INSTRUCTION(ThisFunction, "this-function")
|
| DECLARE_HYDROGEN_ACCESSOR(ThisFunction)
|
| };
|
|
|
|
|
| -class LContext V8_FINAL : public LTemplateInstruction<1, 0, 0> {
|
| +class LContext: public LTemplateInstruction<1, 0, 0> {
|
| public:
|
| DECLARE_CONCRETE_INSTRUCTION(Context, "context")
|
| DECLARE_HYDROGEN_ACCESSOR(Context)
|
| };
|
|
|
|
|
| -class LOuterContext V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| +class LOuterContext: public LTemplateInstruction<1, 1, 0> {
|
| public:
|
| explicit LOuterContext(LOperand* context) {
|
| inputs_[0] = context;
|
| @@ -1795,14 +1778,14 @@ class LOuterContext V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| };
|
|
|
|
|
| -class LDeclareGlobals V8_FINAL : public LTemplateInstruction<0, 0, 0> {
|
| +class LDeclareGlobals: public LTemplateInstruction<0, 0, 0> {
|
| public:
|
| DECLARE_CONCRETE_INSTRUCTION(DeclareGlobals, "declare-globals")
|
| DECLARE_HYDROGEN_ACCESSOR(DeclareGlobals)
|
| };
|
|
|
|
|
| -class LGlobalObject V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| +class LGlobalObject: public LTemplateInstruction<1, 1, 0> {
|
| public:
|
| explicit LGlobalObject(LOperand* context) {
|
| inputs_[0] = context;
|
| @@ -1814,7 +1797,7 @@ class LGlobalObject V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| };
|
|
|
|
|
| -class LGlobalReceiver V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| +class LGlobalReceiver: public LTemplateInstruction<1, 1, 0> {
|
| public:
|
| explicit LGlobalReceiver(LOperand* global_object) {
|
| inputs_[0] = global_object;
|
| @@ -1826,19 +1809,19 @@ class LGlobalReceiver V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| };
|
|
|
|
|
| -class LCallConstantFunction V8_FINAL : public LTemplateInstruction<1, 0, 0> {
|
| +class LCallConstantFunction: public LTemplateInstruction<1, 0, 0> {
|
| public:
|
| DECLARE_CONCRETE_INSTRUCTION(CallConstantFunction, "call-constant-function")
|
| DECLARE_HYDROGEN_ACCESSOR(CallConstantFunction)
|
|
|
| - virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE;
|
| + virtual void PrintDataTo(StringStream* stream);
|
|
|
| Handle<JSFunction> function() { return hydrogen()->function(); }
|
| int arity() const { return hydrogen()->argument_count() - 1; }
|
| };
|
|
|
|
|
| -class LInvokeFunction V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| +class LInvokeFunction: public LTemplateInstruction<1, 1, 0> {
|
| public:
|
| explicit LInvokeFunction(LOperand* function) {
|
| inputs_[0] = function;
|
| @@ -1849,13 +1832,13 @@ class LInvokeFunction V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| DECLARE_CONCRETE_INSTRUCTION(InvokeFunction, "invoke-function")
|
| DECLARE_HYDROGEN_ACCESSOR(InvokeFunction)
|
|
|
| - virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE;
|
| + virtual void PrintDataTo(StringStream* stream);
|
|
|
| int arity() const { return hydrogen()->argument_count() - 1; }
|
| };
|
|
|
|
|
| -class LCallKeyed V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| +class LCallKeyed: public LTemplateInstruction<1, 1, 0> {
|
| public:
|
| explicit LCallKeyed(LOperand* key) {
|
| inputs_[0] = key;
|
| @@ -1866,26 +1849,26 @@ class LCallKeyed V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| DECLARE_CONCRETE_INSTRUCTION(CallKeyed, "call-keyed")
|
| DECLARE_HYDROGEN_ACCESSOR(CallKeyed)
|
|
|
| - virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE;
|
| + virtual void PrintDataTo(StringStream* stream);
|
|
|
| int arity() const { return hydrogen()->argument_count() - 1; }
|
| };
|
|
|
|
|
|
|
| -class LCallNamed V8_FINAL : public LTemplateInstruction<1, 0, 0> {
|
| +class LCallNamed: public LTemplateInstruction<1, 0, 0> {
|
| public:
|
| DECLARE_CONCRETE_INSTRUCTION(CallNamed, "call-named")
|
| DECLARE_HYDROGEN_ACCESSOR(CallNamed)
|
|
|
| - virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE;
|
| + virtual void PrintDataTo(StringStream* stream);
|
|
|
| Handle<String> name() const { return hydrogen()->name(); }
|
| int arity() const { return hydrogen()->argument_count() - 1; }
|
| };
|
|
|
|
|
| -class LCallFunction V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| +class LCallFunction: public LTemplateInstruction<1, 1, 0> {
|
| public:
|
| explicit LCallFunction(LOperand* function) {
|
| inputs_[0] = function;
|
| @@ -1900,30 +1883,30 @@ class LCallFunction V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| };
|
|
|
|
|
| -class LCallGlobal V8_FINAL : public LTemplateInstruction<1, 0, 0> {
|
| +class LCallGlobal: public LTemplateInstruction<1, 0, 0> {
|
| public:
|
| DECLARE_CONCRETE_INSTRUCTION(CallGlobal, "call-global")
|
| DECLARE_HYDROGEN_ACCESSOR(CallGlobal)
|
|
|
| - virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE;
|
| + virtual void PrintDataTo(StringStream* stream);
|
|
|
| Handle<String> name() const {return hydrogen()->name(); }
|
| int arity() const { return hydrogen()->argument_count() - 1; }
|
| };
|
|
|
|
|
| -class LCallKnownGlobal V8_FINAL : public LTemplateInstruction<1, 0, 0> {
|
| +class LCallKnownGlobal: public LTemplateInstruction<1, 0, 0> {
|
| public:
|
| DECLARE_CONCRETE_INSTRUCTION(CallKnownGlobal, "call-known-global")
|
| DECLARE_HYDROGEN_ACCESSOR(CallKnownGlobal)
|
|
|
| - virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE;
|
| + virtual void PrintDataTo(StringStream* stream);
|
|
|
| int arity() const { return hydrogen()->argument_count() - 1; }
|
| };
|
|
|
|
|
| -class LCallNew V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| +class LCallNew: public LTemplateInstruction<1, 1, 0> {
|
| public:
|
| explicit LCallNew(LOperand* constructor) {
|
| inputs_[0] = constructor;
|
| @@ -1934,13 +1917,13 @@ class LCallNew V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| DECLARE_CONCRETE_INSTRUCTION(CallNew, "call-new")
|
| DECLARE_HYDROGEN_ACCESSOR(CallNew)
|
|
|
| - virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE;
|
| + virtual void PrintDataTo(StringStream* stream);
|
|
|
| int arity() const { return hydrogen()->argument_count() - 1; }
|
| };
|
|
|
|
|
| -class LCallNewArray V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| +class LCallNewArray: public LTemplateInstruction<1, 1, 0> {
|
| public:
|
| explicit LCallNewArray(LOperand* constructor) {
|
| inputs_[0] = constructor;
|
| @@ -1951,13 +1934,13 @@ class LCallNewArray V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| DECLARE_CONCRETE_INSTRUCTION(CallNewArray, "call-new-array")
|
| DECLARE_HYDROGEN_ACCESSOR(CallNewArray)
|
|
|
| - virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE;
|
| + virtual void PrintDataTo(StringStream* stream);
|
|
|
| int arity() const { return hydrogen()->argument_count() - 1; }
|
| };
|
|
|
|
|
| -class LCallRuntime V8_FINAL : public LTemplateInstruction<1, 0, 0> {
|
| +class LCallRuntime: public LTemplateInstruction<1, 0, 0> {
|
| public:
|
| DECLARE_CONCRETE_INSTRUCTION(CallRuntime, "call-runtime")
|
| DECLARE_HYDROGEN_ACCESSOR(CallRuntime)
|
| @@ -1967,7 +1950,7 @@ class LCallRuntime V8_FINAL : public LTemplateInstruction<1, 0, 0> {
|
| };
|
|
|
|
|
| -class LInteger32ToDouble V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| +class LInteger32ToDouble: public LTemplateInstruction<1, 1, 0> {
|
| public:
|
| explicit LInteger32ToDouble(LOperand* value) {
|
| inputs_[0] = value;
|
| @@ -1979,7 +1962,7 @@ class LInteger32ToDouble V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| };
|
|
|
|
|
| -class LInteger32ToSmi V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| +class LInteger32ToSmi: public LTemplateInstruction<1, 1, 0> {
|
| public:
|
| explicit LInteger32ToSmi(LOperand* value) {
|
| inputs_[0] = value;
|
| @@ -1992,7 +1975,7 @@ class LInteger32ToSmi V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| };
|
|
|
|
|
| -class LUint32ToDouble V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| +class LUint32ToDouble: public LTemplateInstruction<1, 1, 0> {
|
| public:
|
| explicit LUint32ToDouble(LOperand* value) {
|
| inputs_[0] = value;
|
| @@ -2004,7 +1987,7 @@ class LUint32ToDouble V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| };
|
|
|
|
|
| -class LNumberTagI V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| +class LNumberTagI: public LTemplateInstruction<1, 1, 0> {
|
| public:
|
| explicit LNumberTagI(LOperand* value) {
|
| inputs_[0] = value;
|
| @@ -2016,7 +1999,7 @@ class LNumberTagI V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| };
|
|
|
|
|
| -class LNumberTagU V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| +class LNumberTagU: public LTemplateInstruction<1, 1, 0> {
|
| public:
|
| explicit LNumberTagU(LOperand* value) {
|
| inputs_[0] = value;
|
| @@ -2028,7 +2011,7 @@ class LNumberTagU V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| };
|
|
|
|
|
| -class LNumberTagD V8_FINAL : public LTemplateInstruction<1, 1, 2> {
|
| +class LNumberTagD: public LTemplateInstruction<1, 1, 2> {
|
| public:
|
| LNumberTagD(LOperand* value, LOperand* temp, LOperand* temp2) {
|
| inputs_[0] = value;
|
| @@ -2045,7 +2028,7 @@ class LNumberTagD V8_FINAL : public LTemplateInstruction<1, 1, 2> {
|
| };
|
|
|
|
|
| -class LDoubleToSmi V8_FINAL : public LTemplateInstruction<1, 1, 2> {
|
| +class LDoubleToSmi: public LTemplateInstruction<1, 1, 2> {
|
| public:
|
| LDoubleToSmi(LOperand* value, LOperand* temp, LOperand* temp2) {
|
| inputs_[0] = value;
|
| @@ -2065,7 +2048,7 @@ class LDoubleToSmi V8_FINAL : public LTemplateInstruction<1, 1, 2> {
|
|
|
|
|
| // Sometimes truncating conversion from a tagged value to an int32.
|
| -class LDoubleToI V8_FINAL : public LTemplateInstruction<1, 1, 2> {
|
| +class LDoubleToI: public LTemplateInstruction<1, 1, 2> {
|
| public:
|
| LDoubleToI(LOperand* value, LOperand* temp, LOperand* temp2) {
|
| inputs_[0] = value;
|
| @@ -2085,7 +2068,7 @@ class LDoubleToI V8_FINAL : public LTemplateInstruction<1, 1, 2> {
|
|
|
|
|
| // Truncating conversion from a tagged value to an int32.
|
| -class LTaggedToI V8_FINAL : public LTemplateInstruction<1, 1, 3> {
|
| +class LTaggedToI: public LTemplateInstruction<1, 1, 3> {
|
| public:
|
| LTaggedToI(LOperand* value,
|
| LOperand* temp,
|
| @@ -2109,7 +2092,7 @@ class LTaggedToI V8_FINAL : public LTemplateInstruction<1, 1, 3> {
|
| };
|
|
|
|
|
| -class LSmiTag V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| +class LSmiTag: public LTemplateInstruction<1, 1, 0> {
|
| public:
|
| explicit LSmiTag(LOperand* value) {
|
| inputs_[0] = value;
|
| @@ -2121,7 +2104,7 @@ class LSmiTag V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| };
|
|
|
|
|
| -class LNumberUntagD V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| +class LNumberUntagD: public LTemplateInstruction<1, 1, 0> {
|
| public:
|
| explicit LNumberUntagD(LOperand* value) {
|
| inputs_[0] = value;
|
| @@ -2134,7 +2117,7 @@ class LNumberUntagD V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| };
|
|
|
|
|
| -class LSmiUntag V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| +class LSmiUntag: public LTemplateInstruction<1, 1, 0> {
|
| public:
|
| LSmiUntag(LOperand* value, bool needs_check)
|
| : needs_check_(needs_check) {
|
| @@ -2151,7 +2134,7 @@ class LSmiUntag V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| };
|
|
|
|
|
| -class LStoreNamedField V8_FINAL : public LTemplateInstruction<0, 2, 1> {
|
| +class LStoreNamedField: public LTemplateInstruction<0, 2, 1> {
|
| public:
|
| LStoreNamedField(LOperand* object, LOperand* value, LOperand* temp) {
|
| inputs_[0] = object;
|
| @@ -2166,7 +2149,7 @@ class LStoreNamedField V8_FINAL : public LTemplateInstruction<0, 2, 1> {
|
| DECLARE_CONCRETE_INSTRUCTION(StoreNamedField, "store-named-field")
|
| DECLARE_HYDROGEN_ACCESSOR(StoreNamedField)
|
|
|
| - virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE;
|
| + virtual void PrintDataTo(StringStream* stream);
|
|
|
| Handle<Map> transition() const { return hydrogen()->transition_map(); }
|
| Representation representation() const {
|
| @@ -2175,7 +2158,7 @@ class LStoreNamedField V8_FINAL : public LTemplateInstruction<0, 2, 1> {
|
| };
|
|
|
|
|
| -class LStoreNamedGeneric V8_FINAL : public LTemplateInstruction<0, 2, 0> {
|
| +class LStoreNamedGeneric: public LTemplateInstruction<0, 2, 0> {
|
| public:
|
| LStoreNamedGeneric(LOperand* object, LOperand* value) {
|
| inputs_[0] = object;
|
| @@ -2188,14 +2171,14 @@ class LStoreNamedGeneric V8_FINAL : public LTemplateInstruction<0, 2, 0> {
|
| DECLARE_CONCRETE_INSTRUCTION(StoreNamedGeneric, "store-named-generic")
|
| DECLARE_HYDROGEN_ACCESSOR(StoreNamedGeneric)
|
|
|
| - virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE;
|
| + virtual void PrintDataTo(StringStream* stream);
|
|
|
| Handle<Object> name() const { return hydrogen()->name(); }
|
| StrictModeFlag strict_mode_flag() { return hydrogen()->strict_mode_flag(); }
|
| };
|
|
|
|
|
| -class LStoreKeyed V8_FINAL : public LTemplateInstruction<0, 3, 0> {
|
| +class LStoreKeyed: public LTemplateInstruction<0, 3, 0> {
|
| public:
|
| LStoreKeyed(LOperand* object, LOperand* key, LOperand* value) {
|
| inputs_[0] = object;
|
| @@ -2214,7 +2197,7 @@ class LStoreKeyed V8_FINAL : public LTemplateInstruction<0, 3, 0> {
|
| DECLARE_CONCRETE_INSTRUCTION(StoreKeyed, "store-keyed")
|
| DECLARE_HYDROGEN_ACCESSOR(StoreKeyed)
|
|
|
| - virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE;
|
| + virtual void PrintDataTo(StringStream* stream);
|
| bool NeedsCanonicalization() {
|
| if (hydrogen()->value()->IsAdd() || hydrogen()->value()->IsSub() ||
|
| hydrogen()->value()->IsMul() || hydrogen()->value()->IsDiv()) {
|
| @@ -2226,7 +2209,7 @@ class LStoreKeyed V8_FINAL : public LTemplateInstruction<0, 3, 0> {
|
| };
|
|
|
|
|
| -class LStoreKeyedGeneric V8_FINAL : public LTemplateInstruction<0, 3, 0> {
|
| +class LStoreKeyedGeneric: public LTemplateInstruction<0, 3, 0> {
|
| public:
|
| LStoreKeyedGeneric(LOperand* obj, LOperand* key, LOperand* value) {
|
| inputs_[0] = obj;
|
| @@ -2241,13 +2224,13 @@ class LStoreKeyedGeneric V8_FINAL : public LTemplateInstruction<0, 3, 0> {
|
| DECLARE_CONCRETE_INSTRUCTION(StoreKeyedGeneric, "store-keyed-generic")
|
| DECLARE_HYDROGEN_ACCESSOR(StoreKeyedGeneric)
|
|
|
| - virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE;
|
| + virtual void PrintDataTo(StringStream* stream);
|
|
|
| StrictModeFlag strict_mode_flag() { return hydrogen()->strict_mode_flag(); }
|
| };
|
|
|
|
|
| -class LTransitionElementsKind V8_FINAL : public LTemplateInstruction<0, 1, 1> {
|
| +class LTransitionElementsKind: public LTemplateInstruction<0, 1, 1> {
|
| public:
|
| LTransitionElementsKind(LOperand* object,
|
| LOperand* new_map_temp) {
|
| @@ -2262,7 +2245,7 @@ class LTransitionElementsKind V8_FINAL : public LTemplateInstruction<0, 1, 1> {
|
| "transition-elements-kind")
|
| DECLARE_HYDROGEN_ACCESSOR(TransitionElementsKind)
|
|
|
| - virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE;
|
| + virtual void PrintDataTo(StringStream* stream);
|
|
|
| Handle<Map> original_map() { return hydrogen()->original_map(); }
|
| Handle<Map> transitioned_map() { return hydrogen()->transitioned_map(); }
|
| @@ -2271,7 +2254,7 @@ class LTransitionElementsKind V8_FINAL : public LTemplateInstruction<0, 1, 1> {
|
| };
|
|
|
|
|
| -class LTrapAllocationMemento V8_FINAL : public LTemplateInstruction<0, 1, 1> {
|
| +class LTrapAllocationMemento : public LTemplateInstruction<0, 1, 1> {
|
| public:
|
| LTrapAllocationMemento(LOperand* object,
|
| LOperand* temp) {
|
| @@ -2287,7 +2270,7 @@ class LTrapAllocationMemento V8_FINAL : public LTemplateInstruction<0, 1, 1> {
|
| };
|
|
|
|
|
| -class LStringAdd V8_FINAL : public LTemplateInstruction<1, 2, 0> {
|
| +class LStringAdd: public LTemplateInstruction<1, 2, 0> {
|
| public:
|
| LStringAdd(LOperand* left, LOperand* right) {
|
| inputs_[0] = left;
|
| @@ -2303,7 +2286,7 @@ class LStringAdd V8_FINAL : public LTemplateInstruction<1, 2, 0> {
|
|
|
|
|
|
|
| -class LStringCharCodeAt V8_FINAL : public LTemplateInstruction<1, 2, 0> {
|
| +class LStringCharCodeAt: public LTemplateInstruction<1, 2, 0> {
|
| public:
|
| LStringCharCodeAt(LOperand* string, LOperand* index) {
|
| inputs_[0] = string;
|
| @@ -2318,7 +2301,7 @@ class LStringCharCodeAt V8_FINAL : public LTemplateInstruction<1, 2, 0> {
|
| };
|
|
|
|
|
| -class LStringCharFromCode V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| +class LStringCharFromCode: public LTemplateInstruction<1, 1, 0> {
|
| public:
|
| explicit LStringCharFromCode(LOperand* char_code) {
|
| inputs_[0] = char_code;
|
| @@ -2331,7 +2314,7 @@ class LStringCharFromCode V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| };
|
|
|
|
|
| -class LCheckFunction V8_FINAL : public LTemplateInstruction<0, 1, 0> {
|
| +class LCheckFunction: public LTemplateInstruction<0, 1, 0> {
|
| public:
|
| explicit LCheckFunction(LOperand* value) {
|
| inputs_[0] = value;
|
| @@ -2344,7 +2327,7 @@ class LCheckFunction V8_FINAL : public LTemplateInstruction<0, 1, 0> {
|
| };
|
|
|
|
|
| -class LCheckInstanceType V8_FINAL : public LTemplateInstruction<0, 1, 0> {
|
| +class LCheckInstanceType: public LTemplateInstruction<0, 1, 0> {
|
| public:
|
| explicit LCheckInstanceType(LOperand* value) {
|
| inputs_[0] = value;
|
| @@ -2357,7 +2340,7 @@ class LCheckInstanceType V8_FINAL : public LTemplateInstruction<0, 1, 0> {
|
| };
|
|
|
|
|
| -class LCheckMaps V8_FINAL : public LTemplateInstruction<0, 1, 0> {
|
| +class LCheckMaps: public LTemplateInstruction<0, 1, 0> {
|
| public:
|
| explicit LCheckMaps(LOperand* value) {
|
| inputs_[0] = value;
|
| @@ -2370,7 +2353,7 @@ class LCheckMaps V8_FINAL : public LTemplateInstruction<0, 1, 0> {
|
| };
|
|
|
|
|
| -class LCheckSmi V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| +class LCheckSmi: public LTemplateInstruction<1, 1, 0> {
|
| public:
|
| explicit LCheckSmi(LOperand* value) {
|
| inputs_[0] = value;
|
| @@ -2382,7 +2365,7 @@ class LCheckSmi V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| };
|
|
|
|
|
| -class LCheckNonSmi V8_FINAL : public LTemplateInstruction<0, 1, 0> {
|
| +class LCheckNonSmi: public LTemplateInstruction<0, 1, 0> {
|
| public:
|
| explicit LCheckNonSmi(LOperand* value) {
|
| inputs_[0] = value;
|
| @@ -2395,7 +2378,7 @@ class LCheckNonSmi V8_FINAL : public LTemplateInstruction<0, 1, 0> {
|
| };
|
|
|
|
|
| -class LClampDToUint8 V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| +class LClampDToUint8: public LTemplateInstruction<1, 1, 0> {
|
| public:
|
| explicit LClampDToUint8(LOperand* unclamped) {
|
| inputs_[0] = unclamped;
|
| @@ -2407,7 +2390,7 @@ class LClampDToUint8 V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| };
|
|
|
|
|
| -class LClampIToUint8 V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| +class LClampIToUint8: public LTemplateInstruction<1, 1, 0> {
|
| public:
|
| explicit LClampIToUint8(LOperand* unclamped) {
|
| inputs_[0] = unclamped;
|
| @@ -2419,7 +2402,7 @@ class LClampIToUint8 V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| };
|
|
|
|
|
| -class LClampTToUint8 V8_FINAL : public LTemplateInstruction<1, 1, 1> {
|
| +class LClampTToUint8: public LTemplateInstruction<1, 1, 1> {
|
| public:
|
| LClampTToUint8(LOperand* unclamped, LOperand* temp) {
|
| inputs_[0] = unclamped;
|
| @@ -2433,7 +2416,7 @@ class LClampTToUint8 V8_FINAL : public LTemplateInstruction<1, 1, 1> {
|
| };
|
|
|
|
|
| -class LAllocate V8_FINAL : public LTemplateInstruction<1, 2, 2> {
|
| +class LAllocate: public LTemplateInstruction<1, 2, 2> {
|
| public:
|
| LAllocate(LOperand* size, LOperand* temp1, LOperand* temp2) {
|
| inputs_[1] = size;
|
| @@ -2450,21 +2433,21 @@ class LAllocate V8_FINAL : public LTemplateInstruction<1, 2, 2> {
|
| };
|
|
|
|
|
| -class LRegExpLiteral V8_FINAL : public LTemplateInstruction<1, 0, 0> {
|
| +class LRegExpLiteral: public LTemplateInstruction<1, 0, 0> {
|
| public:
|
| DECLARE_CONCRETE_INSTRUCTION(RegExpLiteral, "regexp-literal")
|
| DECLARE_HYDROGEN_ACCESSOR(RegExpLiteral)
|
| };
|
|
|
|
|
| -class LFunctionLiteral V8_FINAL : public LTemplateInstruction<1, 0, 0> {
|
| +class LFunctionLiteral: public LTemplateInstruction<1, 0, 0> {
|
| public:
|
| DECLARE_CONCRETE_INSTRUCTION(FunctionLiteral, "function-literal")
|
| DECLARE_HYDROGEN_ACCESSOR(FunctionLiteral)
|
| };
|
|
|
|
|
| -class LToFastProperties V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| +class LToFastProperties: public LTemplateInstruction<1, 1, 0> {
|
| public:
|
| explicit LToFastProperties(LOperand* value) {
|
| inputs_[0] = value;
|
| @@ -2477,7 +2460,7 @@ class LToFastProperties V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| };
|
|
|
|
|
| -class LTypeof V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| +class LTypeof: public LTemplateInstruction<1, 1, 0> {
|
| public:
|
| explicit LTypeof(LOperand* value) {
|
| inputs_[0] = value;
|
| @@ -2489,7 +2472,7 @@ class LTypeof V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| };
|
|
|
|
|
| -class LTypeofIsAndBranch V8_FINAL : public LControlInstruction<1, 0> {
|
| +class LTypeofIsAndBranch: public LControlInstruction<1, 0> {
|
| public:
|
| explicit LTypeofIsAndBranch(LOperand* value) {
|
| inputs_[0] = value;
|
| @@ -2502,11 +2485,11 @@ class LTypeofIsAndBranch V8_FINAL : public LControlInstruction<1, 0> {
|
|
|
| Handle<String> type_literal() { return hydrogen()->type_literal(); }
|
|
|
| - virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE;
|
| + virtual void PrintDataTo(StringStream* stream);
|
| };
|
|
|
|
|
| -class LIsConstructCallAndBranch V8_FINAL : public LControlInstruction<0, 1> {
|
| +class LIsConstructCallAndBranch: public LControlInstruction<0, 1> {
|
| public:
|
| explicit LIsConstructCallAndBranch(LOperand* temp) {
|
| temps_[0] = temp;
|
| @@ -2519,18 +2502,16 @@ class LIsConstructCallAndBranch V8_FINAL : public LControlInstruction<0, 1> {
|
| };
|
|
|
|
|
| -class LOsrEntry V8_FINAL : public LTemplateInstruction<0, 0, 0> {
|
| +class LOsrEntry: public LTemplateInstruction<0, 0, 0> {
|
| public:
|
| LOsrEntry() {}
|
|
|
| - virtual bool HasInterestingComment(LCodeGen* gen) const V8_OVERRIDE {
|
| - return false;
|
| - }
|
| + virtual bool HasInterestingComment(LCodeGen* gen) const { return false; }
|
| DECLARE_CONCRETE_INSTRUCTION(OsrEntry, "osr-entry")
|
| };
|
|
|
|
|
| -class LStackCheck V8_FINAL : public LTemplateInstruction<0, 0, 0> {
|
| +class LStackCheck: public LTemplateInstruction<0, 0, 0> {
|
| public:
|
| DECLARE_CONCRETE_INSTRUCTION(StackCheck, "stack-check")
|
| DECLARE_HYDROGEN_ACCESSOR(StackCheck)
|
| @@ -2542,7 +2523,7 @@ class LStackCheck V8_FINAL : public LTemplateInstruction<0, 0, 0> {
|
| };
|
|
|
|
|
| -class LForInPrepareMap V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| +class LForInPrepareMap: public LTemplateInstruction<1, 1, 0> {
|
| public:
|
| explicit LForInPrepareMap(LOperand* object) {
|
| inputs_[0] = object;
|
| @@ -2554,7 +2535,7 @@ class LForInPrepareMap V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| };
|
|
|
|
|
| -class LForInCacheArray V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| +class LForInCacheArray: public LTemplateInstruction<1, 1, 0> {
|
| public:
|
| explicit LForInCacheArray(LOperand* map) {
|
| inputs_[0] = map;
|
| @@ -2570,7 +2551,7 @@ class LForInCacheArray V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| };
|
|
|
|
|
| -class LCheckMapValue V8_FINAL : public LTemplateInstruction<0, 2, 0> {
|
| +class LCheckMapValue: public LTemplateInstruction<0, 2, 0> {
|
| public:
|
| LCheckMapValue(LOperand* value, LOperand* map) {
|
| inputs_[0] = value;
|
| @@ -2584,7 +2565,7 @@ class LCheckMapValue V8_FINAL : public LTemplateInstruction<0, 2, 0> {
|
| };
|
|
|
|
|
| -class LLoadFieldByIndex V8_FINAL : public LTemplateInstruction<1, 2, 0> {
|
| +class LLoadFieldByIndex: public LTemplateInstruction<1, 2, 0> {
|
| public:
|
| LLoadFieldByIndex(LOperand* object, LOperand* index) {
|
| inputs_[0] = object;
|
| @@ -2599,7 +2580,7 @@ class LLoadFieldByIndex V8_FINAL : public LTemplateInstruction<1, 2, 0> {
|
|
|
|
|
| class LChunkBuilder;
|
| -class LPlatformChunk V8_FINAL : public LChunk {
|
| +class LPlatformChunk: public LChunk {
|
| public:
|
| LPlatformChunk(CompilationInfo* info, HGraph* graph)
|
| : LChunk(info, graph) { }
|
| @@ -2609,7 +2590,7 @@ class LPlatformChunk V8_FINAL : public LChunk {
|
| };
|
|
|
|
|
| -class LChunkBuilder V8_FINAL BASE_EMBEDDED {
|
| +class LChunkBuilder BASE_EMBEDDED {
|
| public:
|
| LChunkBuilder(CompilationInfo* info, HGraph* graph, LAllocator* allocator)
|
| : chunk_(NULL),
|
|
|