| Index: src/x64/lithium-x64.h
|
| diff --git a/src/x64/lithium-x64.h b/src/x64/lithium-x64.h
|
| index d46fd1252206a33cb610a0a9191baff49cb21d64..b3a20cf6914dbae8373dec50475ea77356a3d1a6 100644
|
| --- a/src/x64/lithium-x64.h
|
| +++ b/src/x64/lithium-x64.h
|
| @@ -187,11 +187,13 @@ class LCodeGen;
|
|
|
|
|
| #define DECLARE_CONCRETE_INSTRUCTION(type, mnemonic) \
|
| - virtual Opcode opcode() const FINAL OVERRIDE { \
|
| + virtual Opcode opcode() const V8_FINAL V8_OVERRIDE { \
|
| return LInstruction::k##type; \
|
| } \
|
| - virtual void CompileToNative(LCodeGen* generator) FINAL OVERRIDE; \
|
| - virtual const char* Mnemonic() const FINAL OVERRIDE { return mnemonic; } \
|
| + 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); \
|
| @@ -316,7 +318,7 @@ class LTemplateInstruction : public LInstruction {
|
| public:
|
| // Allow 0 or 1 output operands.
|
| STATIC_ASSERT(R == 0 || R == 1);
|
| - virtual bool HasResult() const FINAL OVERRIDE {
|
| + virtual bool HasResult() const V8_FINAL V8_OVERRIDE {
|
| return R != 0 && result() != NULL;
|
| }
|
| void set_result(LOperand* operand) { results_[0] = operand; }
|
| @@ -329,11 +331,11 @@ class LTemplateInstruction : public LInstruction {
|
|
|
| private:
|
| // Iterator support.
|
| - virtual int InputCount() FINAL OVERRIDE { return I; }
|
| - virtual LOperand* InputAt(int i) FINAL OVERRIDE { return inputs_[i]; }
|
| + virtual int InputCount() V8_FINAL V8_OVERRIDE { return I; }
|
| + virtual LOperand* InputAt(int i) V8_FINAL V8_OVERRIDE { return inputs_[i]; }
|
|
|
| - virtual int TempCount() FINAL OVERRIDE { return T; }
|
| - virtual LOperand* TempAt(int i) FINAL OVERRIDE { return temps_[i]; }
|
| + virtual int TempCount() V8_FINAL V8_OVERRIDE { return T; }
|
| + virtual LOperand* TempAt(int i) V8_FINAL V8_OVERRIDE { return temps_[i]; }
|
| };
|
|
|
|
|
| @@ -348,8 +350,8 @@ class LGap : public LTemplateInstruction<0, 0, 0> {
|
| }
|
|
|
| // Can't use the DECLARE-macro here because of sub-classes.
|
| - virtual bool IsGap() const FINAL OVERRIDE { return true; }
|
| - virtual void PrintDataTo(StringStream* stream) OVERRIDE;
|
| + virtual bool IsGap() const V8_FINAL V8_OVERRIDE { return true; }
|
| + virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE;
|
| static LGap* cast(LInstruction* instr) {
|
| ASSERT(instr->IsGap());
|
| return reinterpret_cast<LGap*>(instr);
|
| @@ -386,11 +388,11 @@ class LGap : public LTemplateInstruction<0, 0, 0> {
|
| };
|
|
|
|
|
| -class LInstructionGap FINAL : public LGap {
|
| +class LInstructionGap V8_FINAL : public LGap {
|
| public:
|
| explicit LInstructionGap(HBasicBlock* block) : LGap(block) { }
|
|
|
| - virtual bool HasInterestingComment(LCodeGen* gen) const OVERRIDE {
|
| + virtual bool HasInterestingComment(LCodeGen* gen) const V8_OVERRIDE {
|
| return !IsRedundant();
|
| }
|
|
|
| @@ -398,14 +400,14 @@ class LInstructionGap FINAL : public LGap {
|
| };
|
|
|
|
|
| -class LGoto FINAL : public LTemplateInstruction<0, 0, 0> {
|
| +class LGoto V8_FINAL : public LTemplateInstruction<0, 0, 0> {
|
| public:
|
| explicit LGoto(int block_id) : block_id_(block_id) { }
|
|
|
| - virtual bool HasInterestingComment(LCodeGen* gen) const OVERRIDE;
|
| + virtual bool HasInterestingComment(LCodeGen* gen) const V8_OVERRIDE;
|
| DECLARE_CONCRETE_INSTRUCTION(Goto, "goto")
|
| - virtual void PrintDataTo(StringStream* stream) OVERRIDE;
|
| - virtual bool IsControl() const OVERRIDE { return true; }
|
| + virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE;
|
| + virtual bool IsControl() const V8_OVERRIDE { return true; }
|
|
|
| int block_id() const { return block_id_; }
|
|
|
| @@ -414,7 +416,7 @@ class LGoto FINAL : public LTemplateInstruction<0, 0, 0> {
|
| };
|
|
|
|
|
| -class LLazyBailout FINAL : public LTemplateInstruction<0, 0, 0> {
|
| +class LLazyBailout V8_FINAL : public LTemplateInstruction<0, 0, 0> {
|
| public:
|
| LLazyBailout() : gap_instructions_size_(0) { }
|
|
|
| @@ -430,7 +432,7 @@ class LLazyBailout FINAL : public LTemplateInstruction<0, 0, 0> {
|
| };
|
|
|
|
|
| -class LDummyUse FINAL : public LTemplateInstruction<1, 1, 0> {
|
| +class LDummyUse V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| public:
|
| explicit LDummyUse(LOperand* value) {
|
| inputs_[0] = value;
|
| @@ -439,24 +441,24 @@ class LDummyUse FINAL : public LTemplateInstruction<1, 1, 0> {
|
| };
|
|
|
|
|
| -class LDeoptimize FINAL : public LTemplateInstruction<0, 0, 0> {
|
| +class LDeoptimize V8_FINAL : public LTemplateInstruction<0, 0, 0> {
|
| public:
|
| DECLARE_CONCRETE_INSTRUCTION(Deoptimize, "deoptimize")
|
| DECLARE_HYDROGEN_ACCESSOR(Deoptimize)
|
| };
|
|
|
|
|
| -class LLabel FINAL : public LGap {
|
| +class LLabel V8_FINAL : public LGap {
|
| public:
|
| explicit LLabel(HBasicBlock* block)
|
| : LGap(block), replacement_(NULL) { }
|
|
|
| - virtual bool HasInterestingComment(LCodeGen* gen) const OVERRIDE {
|
| + virtual bool HasInterestingComment(LCodeGen* gen) const V8_OVERRIDE {
|
| return false;
|
| }
|
| DECLARE_CONCRETE_INSTRUCTION(Label, "label")
|
|
|
| - virtual void PrintDataTo(StringStream* stream) OVERRIDE;
|
| + virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE;
|
|
|
| int block_id() const { return block()->block_id(); }
|
| bool is_loop_header() const { return block()->IsLoopHeader(); }
|
| @@ -472,16 +474,16 @@ class LLabel FINAL : public LGap {
|
| };
|
|
|
|
|
| -class LParameter FINAL : public LTemplateInstruction<1, 0, 0> {
|
| +class LParameter V8_FINAL : public LTemplateInstruction<1, 0, 0> {
|
| public:
|
| - virtual bool HasInterestingComment(LCodeGen* gen) const OVERRIDE {
|
| + virtual bool HasInterestingComment(LCodeGen* gen) const V8_OVERRIDE {
|
| return false;
|
| }
|
| DECLARE_CONCRETE_INSTRUCTION(Parameter, "parameter")
|
| };
|
|
|
|
|
| -class LCallStub FINAL : public LTemplateInstruction<1, 0, 0> {
|
| +class LCallStub V8_FINAL : public LTemplateInstruction<1, 0, 0> {
|
| public:
|
| DECLARE_CONCRETE_INSTRUCTION(CallStub, "call-stub")
|
| DECLARE_HYDROGEN_ACCESSOR(CallStub)
|
| @@ -492,9 +494,9 @@ class LCallStub FINAL : public LTemplateInstruction<1, 0, 0> {
|
| };
|
|
|
|
|
| -class LUnknownOSRValue FINAL : public LTemplateInstruction<1, 0, 0> {
|
| +class LUnknownOSRValue V8_FINAL : public LTemplateInstruction<1, 0, 0> {
|
| public:
|
| - virtual bool HasInterestingComment(LCodeGen* gen) const OVERRIDE {
|
| + virtual bool HasInterestingComment(LCodeGen* gen) const V8_OVERRIDE {
|
| return false;
|
| }
|
| DECLARE_CONCRETE_INSTRUCTION(UnknownOSRValue, "unknown-osr-value")
|
| @@ -506,7 +508,7 @@ class LControlInstruction : public LTemplateInstruction<0, I, T> {
|
| public:
|
| LControlInstruction() : false_label_(NULL), true_label_(NULL) { }
|
|
|
| - virtual bool IsControl() const FINAL OVERRIDE { return true; }
|
| + virtual bool IsControl() const V8_FINAL V8_OVERRIDE { return true; }
|
|
|
| int SuccessorCount() { return hydrogen()->SuccessorCount(); }
|
| HBasicBlock* SuccessorAt(int i) { return hydrogen()->SuccessorAt(i); }
|
| @@ -545,7 +547,7 @@ class LControlInstruction : public LTemplateInstruction<0, I, T> {
|
| };
|
|
|
|
|
| -class LWrapReceiver FINAL : public LTemplateInstruction<1, 2, 0> {
|
| +class LWrapReceiver V8_FINAL : public LTemplateInstruction<1, 2, 0> {
|
| public:
|
| LWrapReceiver(LOperand* receiver, LOperand* function) {
|
| inputs_[0] = receiver;
|
| @@ -559,7 +561,7 @@ class LWrapReceiver FINAL : public LTemplateInstruction<1, 2, 0> {
|
| };
|
|
|
|
|
| -class LApplyArguments FINAL : public LTemplateInstruction<1, 4, 0> {
|
| +class LApplyArguments V8_FINAL : public LTemplateInstruction<1, 4, 0> {
|
| public:
|
| LApplyArguments(LOperand* function,
|
| LOperand* receiver,
|
| @@ -580,7 +582,7 @@ class LApplyArguments FINAL : public LTemplateInstruction<1, 4, 0> {
|
| };
|
|
|
|
|
| -class LAccessArgumentsAt FINAL : public LTemplateInstruction<1, 3, 0> {
|
| +class LAccessArgumentsAt V8_FINAL : public LTemplateInstruction<1, 3, 0> {
|
| public:
|
| LAccessArgumentsAt(LOperand* arguments, LOperand* length, LOperand* index) {
|
| inputs_[0] = arguments;
|
| @@ -594,11 +596,11 @@ class LAccessArgumentsAt FINAL : public LTemplateInstruction<1, 3, 0> {
|
|
|
| DECLARE_CONCRETE_INSTRUCTION(AccessArgumentsAt, "access-arguments-at")
|
|
|
| - virtual void PrintDataTo(StringStream* stream) OVERRIDE;
|
| + virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE;
|
| };
|
|
|
|
|
| -class LArgumentsLength FINAL : public LTemplateInstruction<1, 1, 0> {
|
| +class LArgumentsLength V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| public:
|
| explicit LArgumentsLength(LOperand* elements) {
|
| inputs_[0] = elements;
|
| @@ -610,14 +612,14 @@ class LArgumentsLength FINAL : public LTemplateInstruction<1, 1, 0> {
|
| };
|
|
|
|
|
| -class LArgumentsElements FINAL : public LTemplateInstruction<1, 0, 0> {
|
| +class LArgumentsElements V8_FINAL : public LTemplateInstruction<1, 0, 0> {
|
| public:
|
| DECLARE_CONCRETE_INSTRUCTION(ArgumentsElements, "arguments-elements")
|
| DECLARE_HYDROGEN_ACCESSOR(ArgumentsElements)
|
| };
|
|
|
|
|
| -class LModI FINAL : public LTemplateInstruction<1, 2, 1> {
|
| +class LModI V8_FINAL : public LTemplateInstruction<1, 2, 1> {
|
| public:
|
| LModI(LOperand* left, LOperand* right, LOperand* temp) {
|
| inputs_[0] = left;
|
| @@ -634,7 +636,7 @@ class LModI FINAL : public LTemplateInstruction<1, 2, 1> {
|
| };
|
|
|
|
|
| -class LDivI FINAL : public LTemplateInstruction<1, 2, 1> {
|
| +class LDivI V8_FINAL : public LTemplateInstruction<1, 2, 1> {
|
| public:
|
| LDivI(LOperand* left, LOperand* right, LOperand* temp) {
|
| inputs_[0] = left;
|
| @@ -653,7 +655,7 @@ class LDivI FINAL : public LTemplateInstruction<1, 2, 1> {
|
| };
|
|
|
|
|
| -class LMathFloorOfDiv FINAL : public LTemplateInstruction<1, 2, 1> {
|
| +class LMathFloorOfDiv V8_FINAL : public LTemplateInstruction<1, 2, 1> {
|
| public:
|
| LMathFloorOfDiv(LOperand* left,
|
| LOperand* right,
|
| @@ -672,7 +674,7 @@ class LMathFloorOfDiv FINAL : public LTemplateInstruction<1, 2, 1> {
|
| };
|
|
|
|
|
| -class LMulI FINAL : public LTemplateInstruction<1, 2, 0> {
|
| +class LMulI V8_FINAL : public LTemplateInstruction<1, 2, 0> {
|
| public:
|
| LMulI(LOperand* left, LOperand* right) {
|
| inputs_[0] = left;
|
| @@ -687,7 +689,7 @@ class LMulI FINAL : public LTemplateInstruction<1, 2, 0> {
|
| };
|
|
|
|
|
| -class LCompareNumericAndBranch FINAL : public LControlInstruction<2, 0> {
|
| +class LCompareNumericAndBranch V8_FINAL : public LControlInstruction<2, 0> {
|
| public:
|
| LCompareNumericAndBranch(LOperand* left, LOperand* right) {
|
| inputs_[0] = left;
|
| @@ -706,11 +708,11 @@ class LCompareNumericAndBranch FINAL : public LControlInstruction<2, 0> {
|
| return hydrogen()->representation().IsDouble();
|
| }
|
|
|
| - virtual void PrintDataTo(StringStream* stream) OVERRIDE;
|
| + virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE;
|
| };
|
|
|
|
|
| -class LMathFloor FINAL : public LTemplateInstruction<1, 1, 0> {
|
| +class LMathFloor V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| public:
|
| explicit LMathFloor(LOperand* value) {
|
| inputs_[0] = value;
|
| @@ -723,7 +725,7 @@ class LMathFloor FINAL : public LTemplateInstruction<1, 1, 0> {
|
| };
|
|
|
|
|
| -class LMathRound FINAL : public LTemplateInstruction<1, 1, 0> {
|
| +class LMathRound V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| public:
|
| explicit LMathRound(LOperand* value) {
|
| inputs_[0] = value;
|
| @@ -736,7 +738,7 @@ class LMathRound FINAL : public LTemplateInstruction<1, 1, 0> {
|
| };
|
|
|
|
|
| -class LMathAbs FINAL : public LTemplateInstruction<1, 1, 0> {
|
| +class LMathAbs V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| public:
|
| explicit LMathAbs(LOperand* value) {
|
| inputs_[0] = value;
|
| @@ -749,7 +751,7 @@ class LMathAbs FINAL : public LTemplateInstruction<1, 1, 0> {
|
| };
|
|
|
|
|
| -class LMathLog FINAL : public LTemplateInstruction<1, 1, 0> {
|
| +class LMathLog V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| public:
|
| explicit LMathLog(LOperand* value) {
|
| inputs_[0] = value;
|
| @@ -761,7 +763,7 @@ class LMathLog FINAL : public LTemplateInstruction<1, 1, 0> {
|
| };
|
|
|
|
|
| -class LMathSin FINAL : public LTemplateInstruction<1, 1, 0> {
|
| +class LMathSin V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| public:
|
| explicit LMathSin(LOperand* value) {
|
| inputs_[0] = value;
|
| @@ -773,7 +775,7 @@ class LMathSin FINAL : public LTemplateInstruction<1, 1, 0> {
|
| };
|
|
|
|
|
| -class LMathCos FINAL : public LTemplateInstruction<1, 1, 0> {
|
| +class LMathCos V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| public:
|
| explicit LMathCos(LOperand* value) {
|
| inputs_[0] = value;
|
| @@ -785,7 +787,7 @@ class LMathCos FINAL : public LTemplateInstruction<1, 1, 0> {
|
| };
|
|
|
|
|
| -class LMathTan FINAL : public LTemplateInstruction<1, 1, 0> {
|
| +class LMathTan V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| public:
|
| explicit LMathTan(LOperand* value) {
|
| inputs_[0] = value;
|
| @@ -797,7 +799,7 @@ class LMathTan FINAL : public LTemplateInstruction<1, 1, 0> {
|
| };
|
|
|
|
|
| -class LMathExp FINAL : public LTemplateInstruction<1, 1, 2> {
|
| +class LMathExp V8_FINAL : public LTemplateInstruction<1, 1, 2> {
|
| public:
|
| LMathExp(LOperand* value, LOperand* temp1, LOperand* temp2) {
|
| inputs_[0] = value;
|
| @@ -814,7 +816,7 @@ class LMathExp FINAL : public LTemplateInstruction<1, 1, 2> {
|
| };
|
|
|
|
|
| -class LMathSqrt FINAL : public LTemplateInstruction<1, 1, 0> {
|
| +class LMathSqrt V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| public:
|
| explicit LMathSqrt(LOperand* value) {
|
| inputs_[0] = value;
|
| @@ -826,7 +828,7 @@ class LMathSqrt FINAL : public LTemplateInstruction<1, 1, 0> {
|
| };
|
|
|
|
|
| -class LMathPowHalf FINAL : public LTemplateInstruction<1, 1, 0> {
|
| +class LMathPowHalf V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| public:
|
| explicit LMathPowHalf(LOperand* value) {
|
| inputs_[0] = value;
|
| @@ -838,7 +840,7 @@ class LMathPowHalf FINAL : public LTemplateInstruction<1, 1, 0> {
|
| };
|
|
|
|
|
| -class LCmpObjectEqAndBranch FINAL : public LControlInstruction<2, 0> {
|
| +class LCmpObjectEqAndBranch V8_FINAL : public LControlInstruction<2, 0> {
|
| public:
|
| LCmpObjectEqAndBranch(LOperand* left, LOperand* right) {
|
| inputs_[0] = left;
|
| @@ -852,7 +854,7 @@ class LCmpObjectEqAndBranch FINAL : public LControlInstruction<2, 0> {
|
| };
|
|
|
|
|
| -class LCmpHoleAndBranch FINAL : public LControlInstruction<1, 0> {
|
| +class LCmpHoleAndBranch V8_FINAL : public LControlInstruction<1, 0> {
|
| public:
|
| explicit LCmpHoleAndBranch(LOperand* object) {
|
| inputs_[0] = object;
|
| @@ -865,7 +867,7 @@ class LCmpHoleAndBranch FINAL : public LControlInstruction<1, 0> {
|
| };
|
|
|
|
|
| -class LIsObjectAndBranch FINAL : public LControlInstruction<1, 0> {
|
| +class LIsObjectAndBranch V8_FINAL : public LControlInstruction<1, 0> {
|
| public:
|
| explicit LIsObjectAndBranch(LOperand* value) {
|
| inputs_[0] = value;
|
| @@ -876,11 +878,11 @@ class LIsObjectAndBranch FINAL : public LControlInstruction<1, 0> {
|
| DECLARE_CONCRETE_INSTRUCTION(IsObjectAndBranch, "is-object-and-branch")
|
| DECLARE_HYDROGEN_ACCESSOR(IsObjectAndBranch)
|
|
|
| - virtual void PrintDataTo(StringStream* stream) OVERRIDE;
|
| + virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE;
|
| };
|
|
|
|
|
| -class LIsNumberAndBranch FINAL : public LControlInstruction<1, 0> {
|
| +class LIsNumberAndBranch V8_FINAL : public LControlInstruction<1, 0> {
|
| public:
|
| explicit LIsNumberAndBranch(LOperand* value) {
|
| inputs_[0] = value;
|
| @@ -893,7 +895,7 @@ class LIsNumberAndBranch FINAL : public LControlInstruction<1, 0> {
|
| };
|
|
|
|
|
| -class LIsStringAndBranch FINAL : public LControlInstruction<1, 1> {
|
| +class LIsStringAndBranch V8_FINAL : public LControlInstruction<1, 1> {
|
| public:
|
| explicit LIsStringAndBranch(LOperand* value, LOperand* temp) {
|
| inputs_[0] = value;
|
| @@ -906,11 +908,11 @@ class LIsStringAndBranch FINAL : public LControlInstruction<1, 1> {
|
| DECLARE_CONCRETE_INSTRUCTION(IsStringAndBranch, "is-string-and-branch")
|
| DECLARE_HYDROGEN_ACCESSOR(IsStringAndBranch)
|
|
|
| - virtual void PrintDataTo(StringStream* stream) OVERRIDE;
|
| + virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE;
|
| };
|
|
|
|
|
| -class LIsSmiAndBranch FINAL : public LControlInstruction<1, 0> {
|
| +class LIsSmiAndBranch V8_FINAL : public LControlInstruction<1, 0> {
|
| public:
|
| explicit LIsSmiAndBranch(LOperand* value) {
|
| inputs_[0] = value;
|
| @@ -921,11 +923,11 @@ class LIsSmiAndBranch FINAL : public LControlInstruction<1, 0> {
|
| DECLARE_CONCRETE_INSTRUCTION(IsSmiAndBranch, "is-smi-and-branch")
|
| DECLARE_HYDROGEN_ACCESSOR(IsSmiAndBranch)
|
|
|
| - virtual void PrintDataTo(StringStream* stream) OVERRIDE;
|
| + virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE;
|
| };
|
|
|
|
|
| -class LIsUndetectableAndBranch FINAL : public LControlInstruction<1, 1> {
|
| +class LIsUndetectableAndBranch V8_FINAL : public LControlInstruction<1, 1> {
|
| public:
|
| explicit LIsUndetectableAndBranch(LOperand* value, LOperand* temp) {
|
| inputs_[0] = value;
|
| @@ -939,11 +941,11 @@ class LIsUndetectableAndBranch FINAL : public LControlInstruction<1, 1> {
|
| "is-undetectable-and-branch")
|
| DECLARE_HYDROGEN_ACCESSOR(IsUndetectableAndBranch)
|
|
|
| - virtual void PrintDataTo(StringStream* stream) OVERRIDE;
|
| + virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE;
|
| };
|
|
|
|
|
| -class LStringCompareAndBranch FINAL : public LControlInstruction<2, 0> {
|
| +class LStringCompareAndBranch V8_FINAL : public LControlInstruction<2, 0> {
|
| public:
|
| explicit LStringCompareAndBranch(LOperand* left, LOperand* right) {
|
| inputs_[0] = left;
|
| @@ -957,13 +959,13 @@ class LStringCompareAndBranch FINAL : public LControlInstruction<2, 0> {
|
| "string-compare-and-branch")
|
| DECLARE_HYDROGEN_ACCESSOR(StringCompareAndBranch)
|
|
|
| - virtual void PrintDataTo(StringStream* stream) OVERRIDE;
|
| + virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE;
|
|
|
| Token::Value op() const { return hydrogen()->token(); }
|
| };
|
|
|
|
|
| -class LHasInstanceTypeAndBranch FINAL : public LControlInstruction<1, 0> {
|
| +class LHasInstanceTypeAndBranch V8_FINAL : public LControlInstruction<1, 0> {
|
| public:
|
| explicit LHasInstanceTypeAndBranch(LOperand* value) {
|
| inputs_[0] = value;
|
| @@ -975,11 +977,11 @@ class LHasInstanceTypeAndBranch FINAL : public LControlInstruction<1, 0> {
|
| "has-instance-type-and-branch")
|
| DECLARE_HYDROGEN_ACCESSOR(HasInstanceTypeAndBranch)
|
|
|
| - virtual void PrintDataTo(StringStream* stream) OVERRIDE;
|
| + virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE;
|
| };
|
|
|
|
|
| -class LGetCachedArrayIndex FINAL : public LTemplateInstruction<1, 1, 0> {
|
| +class LGetCachedArrayIndex V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| public:
|
| explicit LGetCachedArrayIndex(LOperand* value) {
|
| inputs_[0] = value;
|
| @@ -992,7 +994,8 @@ class LGetCachedArrayIndex FINAL : public LTemplateInstruction<1, 1, 0> {
|
| };
|
|
|
|
|
| -class LHasCachedArrayIndexAndBranch FINAL : public LControlInstruction<1, 0> {
|
| +class LHasCachedArrayIndexAndBranch V8_FINAL
|
| + : public LControlInstruction<1, 0> {
|
| public:
|
| explicit LHasCachedArrayIndexAndBranch(LOperand* value) {
|
| inputs_[0] = value;
|
| @@ -1004,11 +1007,11 @@ class LHasCachedArrayIndexAndBranch FINAL : public LControlInstruction<1, 0> {
|
| "has-cached-array-index-and-branch")
|
| DECLARE_HYDROGEN_ACCESSOR(HasCachedArrayIndexAndBranch)
|
|
|
| - virtual void PrintDataTo(StringStream* stream) OVERRIDE;
|
| + virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE;
|
| };
|
|
|
|
|
| -class LClassOfTestAndBranch FINAL : public LControlInstruction<1, 2> {
|
| +class LClassOfTestAndBranch V8_FINAL : public LControlInstruction<1, 2> {
|
| public:
|
| LClassOfTestAndBranch(LOperand* value, LOperand* temp, LOperand* temp2) {
|
| inputs_[0] = value;
|
| @@ -1024,11 +1027,11 @@ class LClassOfTestAndBranch FINAL : public LControlInstruction<1, 2> {
|
| "class-of-test-and-branch")
|
| DECLARE_HYDROGEN_ACCESSOR(ClassOfTestAndBranch)
|
|
|
| - virtual void PrintDataTo(StringStream* stream) OVERRIDE;
|
| + virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE;
|
| };
|
|
|
|
|
| -class LCmpT FINAL : public LTemplateInstruction<1, 2, 0> {
|
| +class LCmpT V8_FINAL : public LTemplateInstruction<1, 2, 0> {
|
| public:
|
| LCmpT(LOperand* left, LOperand* right) {
|
| inputs_[0] = left;
|
| @@ -1045,7 +1048,7 @@ class LCmpT FINAL : public LTemplateInstruction<1, 2, 0> {
|
| };
|
|
|
|
|
| -class LInstanceOf FINAL : public LTemplateInstruction<1, 2, 0> {
|
| +class LInstanceOf V8_FINAL : public LTemplateInstruction<1, 2, 0> {
|
| public:
|
| LInstanceOf(LOperand* left, LOperand* right) {
|
| inputs_[0] = left;
|
| @@ -1059,7 +1062,7 @@ class LInstanceOf FINAL : public LTemplateInstruction<1, 2, 0> {
|
| };
|
|
|
|
|
| -class LInstanceOfKnownGlobal FINAL : public LTemplateInstruction<1, 1, 1> {
|
| +class LInstanceOfKnownGlobal V8_FINAL : public LTemplateInstruction<1, 1, 1> {
|
| public:
|
| LInstanceOfKnownGlobal(LOperand* value, LOperand* temp) {
|
| inputs_[0] = value;
|
| @@ -1078,7 +1081,7 @@ class LInstanceOfKnownGlobal FINAL : public LTemplateInstruction<1, 1, 1> {
|
| return lazy_deopt_env_;
|
| }
|
| virtual void SetDeferredLazyDeoptimizationEnvironment(
|
| - LEnvironment* env) OVERRIDE {
|
| + LEnvironment* env) V8_OVERRIDE {
|
| lazy_deopt_env_ = env;
|
| }
|
|
|
| @@ -1087,7 +1090,7 @@ class LInstanceOfKnownGlobal FINAL : public LTemplateInstruction<1, 1, 1> {
|
| };
|
|
|
|
|
| -class LInstanceSize FINAL : public LTemplateInstruction<1, 1, 0> {
|
| +class LInstanceSize V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| public:
|
| explicit LInstanceSize(LOperand* object) {
|
| inputs_[0] = object;
|
| @@ -1100,7 +1103,7 @@ class LInstanceSize FINAL : public LTemplateInstruction<1, 1, 0> {
|
| };
|
|
|
|
|
| -class LBoundsCheck FINAL : public LTemplateInstruction<0, 2, 0> {
|
| +class LBoundsCheck V8_FINAL : public LTemplateInstruction<0, 2, 0> {
|
| public:
|
| LBoundsCheck(LOperand* index, LOperand* length) {
|
| inputs_[0] = index;
|
| @@ -1115,7 +1118,7 @@ class LBoundsCheck FINAL : public LTemplateInstruction<0, 2, 0> {
|
| };
|
|
|
|
|
| -class LBitI FINAL : public LTemplateInstruction<1, 2, 0> {
|
| +class LBitI V8_FINAL : public LTemplateInstruction<1, 2, 0> {
|
| public:
|
| LBitI(LOperand* left, LOperand* right) {
|
| inputs_[0] = left;
|
| @@ -1132,7 +1135,7 @@ class LBitI FINAL : public LTemplateInstruction<1, 2, 0> {
|
| };
|
|
|
|
|
| -class LShiftI FINAL : public LTemplateInstruction<1, 2, 0> {
|
| +class LShiftI V8_FINAL : public LTemplateInstruction<1, 2, 0> {
|
| public:
|
| LShiftI(Token::Value op, LOperand* left, LOperand* right, bool can_deopt)
|
| : op_(op), can_deopt_(can_deopt) {
|
| @@ -1153,7 +1156,7 @@ class LShiftI FINAL : public LTemplateInstruction<1, 2, 0> {
|
| };
|
|
|
|
|
| -class LSubI FINAL : public LTemplateInstruction<1, 2, 0> {
|
| +class LSubI V8_FINAL : public LTemplateInstruction<1, 2, 0> {
|
| public:
|
| LSubI(LOperand* left, LOperand* right) {
|
| inputs_[0] = left;
|
| @@ -1168,7 +1171,7 @@ class LSubI FINAL : public LTemplateInstruction<1, 2, 0> {
|
| };
|
|
|
|
|
| -class LConstantI FINAL : public LTemplateInstruction<1, 0, 0> {
|
| +class LConstantI V8_FINAL : public LTemplateInstruction<1, 0, 0> {
|
| public:
|
| DECLARE_CONCRETE_INSTRUCTION(ConstantI, "constant-i")
|
| DECLARE_HYDROGEN_ACCESSOR(Constant)
|
| @@ -1177,7 +1180,7 @@ class LConstantI FINAL : public LTemplateInstruction<1, 0, 0> {
|
| };
|
|
|
|
|
| -class LConstantS FINAL : public LTemplateInstruction<1, 0, 0> {
|
| +class LConstantS V8_FINAL : public LTemplateInstruction<1, 0, 0> {
|
| public:
|
| DECLARE_CONCRETE_INSTRUCTION(ConstantS, "constant-s")
|
| DECLARE_HYDROGEN_ACCESSOR(Constant)
|
| @@ -1186,7 +1189,7 @@ class LConstantS FINAL : public LTemplateInstruction<1, 0, 0> {
|
| };
|
|
|
|
|
| -class LConstantD FINAL : public LTemplateInstruction<1, 0, 1> {
|
| +class LConstantD V8_FINAL : public LTemplateInstruction<1, 0, 1> {
|
| public:
|
| explicit LConstantD(LOperand* temp) {
|
| temps_[0] = temp;
|
| @@ -1201,7 +1204,7 @@ class LConstantD FINAL : public LTemplateInstruction<1, 0, 1> {
|
| };
|
|
|
|
|
| -class LConstantE FINAL : public LTemplateInstruction<1, 0, 0> {
|
| +class LConstantE V8_FINAL : public LTemplateInstruction<1, 0, 0> {
|
| public:
|
| DECLARE_CONCRETE_INSTRUCTION(ConstantE, "constant-e")
|
| DECLARE_HYDROGEN_ACCESSOR(Constant)
|
| @@ -1212,7 +1215,7 @@ class LConstantE FINAL : public LTemplateInstruction<1, 0, 0> {
|
| };
|
|
|
|
|
| -class LConstantT FINAL : public LTemplateInstruction<1, 0, 0> {
|
| +class LConstantT V8_FINAL : public LTemplateInstruction<1, 0, 0> {
|
| public:
|
| DECLARE_CONCRETE_INSTRUCTION(ConstantT, "constant-t")
|
| DECLARE_HYDROGEN_ACCESSOR(Constant)
|
| @@ -1221,7 +1224,7 @@ class LConstantT FINAL : public LTemplateInstruction<1, 0, 0> {
|
| };
|
|
|
|
|
| -class LBranch FINAL : public LControlInstruction<1, 0> {
|
| +class LBranch V8_FINAL : public LControlInstruction<1, 0> {
|
| public:
|
| explicit LBranch(LOperand* value) {
|
| inputs_[0] = value;
|
| @@ -1232,17 +1235,17 @@ class LBranch FINAL : public LControlInstruction<1, 0> {
|
| DECLARE_CONCRETE_INSTRUCTION(Branch, "branch")
|
| DECLARE_HYDROGEN_ACCESSOR(Branch)
|
|
|
| - virtual void PrintDataTo(StringStream* stream) OVERRIDE;
|
| + virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE;
|
| };
|
|
|
|
|
| -class LDebugBreak FINAL : public LTemplateInstruction<0, 0, 0> {
|
| +class LDebugBreak V8_FINAL : public LTemplateInstruction<0, 0, 0> {
|
| public:
|
| DECLARE_CONCRETE_INSTRUCTION(DebugBreak, "break")
|
| };
|
|
|
|
|
| -class LCmpMapAndBranch FINAL : public LControlInstruction<1, 0> {
|
| +class LCmpMapAndBranch V8_FINAL : public LControlInstruction<1, 0> {
|
| public:
|
| explicit LCmpMapAndBranch(LOperand* value) {
|
| inputs_[0] = value;
|
| @@ -1257,7 +1260,7 @@ class LCmpMapAndBranch FINAL : public LControlInstruction<1, 0> {
|
| };
|
|
|
|
|
| -class LMapEnumLength FINAL : public LTemplateInstruction<1, 1, 0> {
|
| +class LMapEnumLength V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| public:
|
| explicit LMapEnumLength(LOperand* value) {
|
| inputs_[0] = value;
|
| @@ -1269,7 +1272,7 @@ class LMapEnumLength FINAL : public LTemplateInstruction<1, 1, 0> {
|
| };
|
|
|
|
|
| -class LElementsKind FINAL : public LTemplateInstruction<1, 1, 0> {
|
| +class LElementsKind V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| public:
|
| explicit LElementsKind(LOperand* value) {
|
| inputs_[0] = value;
|
| @@ -1282,7 +1285,7 @@ class LElementsKind FINAL : public LTemplateInstruction<1, 1, 0> {
|
| };
|
|
|
|
|
| -class LValueOf FINAL : public LTemplateInstruction<1, 1, 0> {
|
| +class LValueOf V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| public:
|
| explicit LValueOf(LOperand* value) {
|
| inputs_[0] = value;
|
| @@ -1295,7 +1298,7 @@ class LValueOf FINAL : public LTemplateInstruction<1, 1, 0> {
|
| };
|
|
|
|
|
| -class LDateField FINAL : public LTemplateInstruction<1, 1, 0> {
|
| +class LDateField V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| public:
|
| LDateField(LOperand* date, Smi* index) : index_(index) {
|
| inputs_[0] = date;
|
| @@ -1312,7 +1315,7 @@ class LDateField FINAL : public LTemplateInstruction<1, 1, 0> {
|
| };
|
|
|
|
|
| -class LSeqStringSetChar FINAL : public LTemplateInstruction<1, 3, 0> {
|
| +class LSeqStringSetChar V8_FINAL : public LTemplateInstruction<1, 3, 0> {
|
| public:
|
| LSeqStringSetChar(String::Encoding encoding,
|
| LOperand* string,
|
| @@ -1336,7 +1339,7 @@ class LSeqStringSetChar FINAL : public LTemplateInstruction<1, 3, 0> {
|
| };
|
|
|
|
|
| -class LThrow FINAL : public LTemplateInstruction<0, 1, 0> {
|
| +class LThrow V8_FINAL : public LTemplateInstruction<0, 1, 0> {
|
| public:
|
| explicit LThrow(LOperand* value) {
|
| inputs_[0] = value;
|
| @@ -1348,7 +1351,7 @@ class LThrow FINAL : public LTemplateInstruction<0, 1, 0> {
|
| };
|
|
|
|
|
| -class LAddI FINAL : public LTemplateInstruction<1, 2, 0> {
|
| +class LAddI V8_FINAL : public LTemplateInstruction<1, 2, 0> {
|
| public:
|
| LAddI(LOperand* left, LOperand* right) {
|
| inputs_[0] = left;
|
| @@ -1368,7 +1371,7 @@ class LAddI FINAL : public LTemplateInstruction<1, 2, 0> {
|
| };
|
|
|
|
|
| -class LMathMinMax FINAL : public LTemplateInstruction<1, 2, 0> {
|
| +class LMathMinMax V8_FINAL : public LTemplateInstruction<1, 2, 0> {
|
| public:
|
| LMathMinMax(LOperand* left, LOperand* right) {
|
| inputs_[0] = left;
|
| @@ -1383,7 +1386,7 @@ class LMathMinMax FINAL : public LTemplateInstruction<1, 2, 0> {
|
| };
|
|
|
|
|
| -class LPower FINAL : public LTemplateInstruction<1, 2, 0> {
|
| +class LPower V8_FINAL : public LTemplateInstruction<1, 2, 0> {
|
| public:
|
| LPower(LOperand* left, LOperand* right) {
|
| inputs_[0] = left;
|
| @@ -1398,7 +1401,7 @@ class LPower FINAL : public LTemplateInstruction<1, 2, 0> {
|
| };
|
|
|
|
|
| -class LRandom FINAL : public LTemplateInstruction<1, 1, 0> {
|
| +class LRandom V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| public:
|
| explicit LRandom(LOperand* global_object) {
|
| inputs_[0] = global_object;
|
| @@ -1411,7 +1414,7 @@ class LRandom FINAL : public LTemplateInstruction<1, 1, 0> {
|
| };
|
|
|
|
|
| -class LArithmeticD FINAL : public LTemplateInstruction<1, 2, 0> {
|
| +class LArithmeticD V8_FINAL : public LTemplateInstruction<1, 2, 0> {
|
| public:
|
| LArithmeticD(Token::Value op, LOperand* left, LOperand* right)
|
| : op_(op) {
|
| @@ -1423,16 +1426,18 @@ class LArithmeticD FINAL : public LTemplateInstruction<1, 2, 0> {
|
| LOperand* left() { return inputs_[0]; }
|
| LOperand* right() { return inputs_[1]; }
|
|
|
| - virtual Opcode opcode() const OVERRIDE { return LInstruction::kArithmeticD; }
|
| - virtual void CompileToNative(LCodeGen* generator) OVERRIDE;
|
| - virtual const char* Mnemonic() const OVERRIDE;
|
| + virtual Opcode opcode() const V8_OVERRIDE {
|
| + return LInstruction::kArithmeticD;
|
| + }
|
| + virtual void CompileToNative(LCodeGen* generator) V8_OVERRIDE;
|
| + virtual const char* Mnemonic() const V8_OVERRIDE;
|
|
|
| private:
|
| Token::Value op_;
|
| };
|
|
|
|
|
| -class LArithmeticT FINAL : public LTemplateInstruction<1, 2, 0> {
|
| +class LArithmeticT V8_FINAL : public LTemplateInstruction<1, 2, 0> {
|
| public:
|
| LArithmeticT(Token::Value op, LOperand* left, LOperand* right)
|
| : op_(op) {
|
| @@ -1444,16 +1449,18 @@ class LArithmeticT FINAL : public LTemplateInstruction<1, 2, 0> {
|
| LOperand* left() { return inputs_[0]; }
|
| LOperand* right() { return inputs_[1]; }
|
|
|
| - virtual Opcode opcode() const OVERRIDE { return LInstruction::kArithmeticT; }
|
| - virtual void CompileToNative(LCodeGen* generator) OVERRIDE;
|
| - virtual const char* Mnemonic() const OVERRIDE;
|
| + virtual Opcode opcode() const V8_OVERRIDE {
|
| + return LInstruction::kArithmeticT;
|
| + }
|
| + virtual void CompileToNative(LCodeGen* generator) V8_OVERRIDE;
|
| + virtual const char* Mnemonic() const V8_OVERRIDE;
|
|
|
| private:
|
| Token::Value op_;
|
| };
|
|
|
|
|
| -class LReturn FINAL : public LTemplateInstruction<0, 2, 0> {
|
| +class LReturn V8_FINAL : public LTemplateInstruction<0, 2, 0> {
|
| public:
|
| explicit LReturn(LOperand* value, LOperand* parameter_count) {
|
| inputs_[0] = value;
|
| @@ -1476,7 +1483,7 @@ class LReturn FINAL : public LTemplateInstruction<0, 2, 0> {
|
| };
|
|
|
|
|
| -class LLoadNamedField FINAL : public LTemplateInstruction<1, 1, 0> {
|
| +class LLoadNamedField V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| public:
|
| explicit LLoadNamedField(LOperand* object) {
|
| inputs_[0] = object;
|
| @@ -1489,7 +1496,7 @@ class LLoadNamedField FINAL : public LTemplateInstruction<1, 1, 0> {
|
| };
|
|
|
|
|
| -class LLoadNamedGeneric FINAL : public LTemplateInstruction<1, 1, 0> {
|
| +class LLoadNamedGeneric V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| public:
|
| explicit LLoadNamedGeneric(LOperand* object) {
|
| inputs_[0] = object;
|
| @@ -1503,7 +1510,7 @@ class LLoadNamedGeneric FINAL : public LTemplateInstruction<1, 1, 0> {
|
| };
|
|
|
|
|
| -class LLoadFunctionPrototype FINAL : public LTemplateInstruction<1, 1, 0> {
|
| +class LLoadFunctionPrototype V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| public:
|
| explicit LLoadFunctionPrototype(LOperand* function) {
|
| inputs_[0] = function;
|
| @@ -1516,7 +1523,8 @@ class LLoadFunctionPrototype FINAL : public LTemplateInstruction<1, 1, 0> {
|
| };
|
|
|
|
|
| -class LLoadExternalArrayPointer FINAL : public LTemplateInstruction<1, 1, 0> {
|
| +class LLoadExternalArrayPointer V8_FINAL
|
| + : public LTemplateInstruction<1, 1, 0> {
|
| public:
|
| explicit LLoadExternalArrayPointer(LOperand* object) {
|
| inputs_[0] = object;
|
| @@ -1529,7 +1537,7 @@ class LLoadExternalArrayPointer FINAL : public LTemplateInstruction<1, 1, 0> {
|
| };
|
|
|
|
|
| -class LLoadKeyed FINAL : public LTemplateInstruction<1, 2, 0> {
|
| +class LLoadKeyed V8_FINAL : public LTemplateInstruction<1, 2, 0> {
|
| public:
|
| LLoadKeyed(LOperand* elements, LOperand* key) {
|
| inputs_[0] = elements;
|
| @@ -1544,7 +1552,7 @@ class LLoadKeyed FINAL : public LTemplateInstruction<1, 2, 0> {
|
| }
|
| LOperand* elements() { return inputs_[0]; }
|
| LOperand* key() { return inputs_[1]; }
|
| - virtual void PrintDataTo(StringStream* stream) OVERRIDE;
|
| + virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE;
|
| uint32_t additional_index() const { return hydrogen()->index_offset(); }
|
| ElementsKind elements_kind() const {
|
| return hydrogen()->elements_kind();
|
| @@ -1552,7 +1560,7 @@ class LLoadKeyed FINAL : public LTemplateInstruction<1, 2, 0> {
|
| };
|
|
|
|
|
| -class LLoadKeyedGeneric FINAL : public LTemplateInstruction<1, 2, 0> {
|
| +class LLoadKeyedGeneric V8_FINAL : public LTemplateInstruction<1, 2, 0> {
|
| public:
|
| LLoadKeyedGeneric(LOperand* obj, LOperand* key) {
|
| inputs_[0] = obj;
|
| @@ -1566,14 +1574,14 @@ class LLoadKeyedGeneric FINAL : public LTemplateInstruction<1, 2, 0> {
|
| };
|
|
|
|
|
| -class LLoadGlobalCell FINAL : public LTemplateInstruction<1, 0, 0> {
|
| +class LLoadGlobalCell V8_FINAL : public LTemplateInstruction<1, 0, 0> {
|
| public:
|
| DECLARE_CONCRETE_INSTRUCTION(LoadGlobalCell, "load-global-cell")
|
| DECLARE_HYDROGEN_ACCESSOR(LoadGlobalCell)
|
| };
|
|
|
|
|
| -class LLoadGlobalGeneric FINAL : public LTemplateInstruction<1, 1, 0> {
|
| +class LLoadGlobalGeneric V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| public:
|
| explicit LLoadGlobalGeneric(LOperand* global_object) {
|
| inputs_[0] = global_object;
|
| @@ -1588,7 +1596,7 @@ class LLoadGlobalGeneric FINAL : public LTemplateInstruction<1, 1, 0> {
|
| };
|
|
|
|
|
| -class LStoreGlobalCell FINAL : public LTemplateInstruction<0, 1, 1> {
|
| +class LStoreGlobalCell V8_FINAL : public LTemplateInstruction<0, 1, 1> {
|
| public:
|
| explicit LStoreGlobalCell(LOperand* value, LOperand* temp) {
|
| inputs_[0] = value;
|
| @@ -1603,7 +1611,7 @@ class LStoreGlobalCell FINAL : public LTemplateInstruction<0, 1, 1> {
|
| };
|
|
|
|
|
| -class LStoreGlobalGeneric FINAL : public LTemplateInstruction<0, 2, 0> {
|
| +class LStoreGlobalGeneric V8_FINAL : public LTemplateInstruction<0, 2, 0> {
|
| public:
|
| explicit LStoreGlobalGeneric(LOperand* global_object,
|
| LOperand* value) {
|
| @@ -1622,7 +1630,7 @@ class LStoreGlobalGeneric FINAL : public LTemplateInstruction<0, 2, 0> {
|
| };
|
|
|
|
|
| -class LLoadContextSlot FINAL : public LTemplateInstruction<1, 1, 0> {
|
| +class LLoadContextSlot V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| public:
|
| explicit LLoadContextSlot(LOperand* context) {
|
| inputs_[0] = context;
|
| @@ -1635,11 +1643,11 @@ class LLoadContextSlot FINAL : public LTemplateInstruction<1, 1, 0> {
|
|
|
| int slot_index() { return hydrogen()->slot_index(); }
|
|
|
| - virtual void PrintDataTo(StringStream* stream) OVERRIDE;
|
| + virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE;
|
| };
|
|
|
|
|
| -class LStoreContextSlot FINAL : public LTemplateInstruction<0, 2, 1> {
|
| +class LStoreContextSlot V8_FINAL : public LTemplateInstruction<0, 2, 1> {
|
| public:
|
| LStoreContextSlot(LOperand* context, LOperand* value, LOperand* temp) {
|
| inputs_[0] = context;
|
| @@ -1656,11 +1664,11 @@ class LStoreContextSlot FINAL : public LTemplateInstruction<0, 2, 1> {
|
|
|
| int slot_index() { return hydrogen()->slot_index(); }
|
|
|
| - virtual void PrintDataTo(StringStream* stream) OVERRIDE;
|
| + virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE;
|
| };
|
|
|
|
|
| -class LPushArgument FINAL : public LTemplateInstruction<0, 1, 0> {
|
| +class LPushArgument V8_FINAL : public LTemplateInstruction<0, 1, 0> {
|
| public:
|
| explicit LPushArgument(LOperand* value) {
|
| inputs_[0] = value;
|
| @@ -1672,7 +1680,7 @@ class LPushArgument FINAL : public LTemplateInstruction<0, 1, 0> {
|
| };
|
|
|
|
|
| -class LDrop FINAL : public LTemplateInstruction<0, 0, 0> {
|
| +class LDrop V8_FINAL : public LTemplateInstruction<0, 0, 0> {
|
| public:
|
| explicit LDrop(int count) : count_(count) { }
|
|
|
| @@ -1685,7 +1693,7 @@ class LDrop FINAL : public LTemplateInstruction<0, 0, 0> {
|
| };
|
|
|
|
|
| -class LInnerAllocatedObject FINAL : public LTemplateInstruction<1, 1, 0> {
|
| +class LInnerAllocatedObject V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| public:
|
| explicit LInnerAllocatedObject(LOperand* base_object) {
|
| inputs_[0] = base_object;
|
| @@ -1694,28 +1702,28 @@ class LInnerAllocatedObject FINAL : public LTemplateInstruction<1, 1, 0> {
|
| LOperand* base_object() { return inputs_[0]; }
|
| int offset() { return hydrogen()->offset(); }
|
|
|
| - virtual void PrintDataTo(StringStream* stream) OVERRIDE;
|
| + virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE;
|
|
|
| DECLARE_CONCRETE_INSTRUCTION(InnerAllocatedObject, "sub-allocated-object")
|
| DECLARE_HYDROGEN_ACCESSOR(InnerAllocatedObject)
|
| };
|
|
|
|
|
| -class LThisFunction FINAL : public LTemplateInstruction<1, 0, 0> {
|
| +class LThisFunction V8_FINAL : public LTemplateInstruction<1, 0, 0> {
|
| public:
|
| DECLARE_CONCRETE_INSTRUCTION(ThisFunction, "this-function")
|
| DECLARE_HYDROGEN_ACCESSOR(ThisFunction)
|
| };
|
|
|
|
|
| -class LContext FINAL : public LTemplateInstruction<1, 0, 0> {
|
| +class LContext V8_FINAL : public LTemplateInstruction<1, 0, 0> {
|
| public:
|
| DECLARE_CONCRETE_INSTRUCTION(Context, "context")
|
| DECLARE_HYDROGEN_ACCESSOR(Context)
|
| };
|
|
|
|
|
| -class LOuterContext FINAL : public LTemplateInstruction<1, 1, 0> {
|
| +class LOuterContext V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| public:
|
| explicit LOuterContext(LOperand* context) {
|
| inputs_[0] = context;
|
| @@ -1727,20 +1735,20 @@ class LOuterContext FINAL : public LTemplateInstruction<1, 1, 0> {
|
| };
|
|
|
|
|
| -class LDeclareGlobals FINAL : public LTemplateInstruction<0, 0, 0> {
|
| +class LDeclareGlobals V8_FINAL : public LTemplateInstruction<0, 0, 0> {
|
| public:
|
| DECLARE_CONCRETE_INSTRUCTION(DeclareGlobals, "declare-globals")
|
| DECLARE_HYDROGEN_ACCESSOR(DeclareGlobals)
|
| };
|
|
|
|
|
| -class LGlobalObject FINAL : public LTemplateInstruction<1, 0, 0> {
|
| +class LGlobalObject V8_FINAL : public LTemplateInstruction<1, 0, 0> {
|
| public:
|
| DECLARE_CONCRETE_INSTRUCTION(GlobalObject, "global-object")
|
| };
|
|
|
|
|
| -class LGlobalReceiver FINAL : public LTemplateInstruction<1, 1, 0> {
|
| +class LGlobalReceiver V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| public:
|
| explicit LGlobalReceiver(LOperand* global_object) {
|
| inputs_[0] = global_object;
|
| @@ -1752,7 +1760,7 @@ class LGlobalReceiver FINAL : public LTemplateInstruction<1, 1, 0> {
|
| };
|
|
|
|
|
| -class LCallConstantFunction FINAL : public LTemplateInstruction<1, 0, 0> {
|
| +class LCallConstantFunction V8_FINAL : public LTemplateInstruction<1, 0, 0> {
|
| public:
|
| DECLARE_CONCRETE_INSTRUCTION(CallConstantFunction, "call-constant-function")
|
| DECLARE_HYDROGEN_ACCESSOR(CallConstantFunction)
|
| @@ -1764,7 +1772,7 @@ class LCallConstantFunction FINAL : public LTemplateInstruction<1, 0, 0> {
|
| };
|
|
|
|
|
| -class LInvokeFunction FINAL : public LTemplateInstruction<1, 1, 0> {
|
| +class LInvokeFunction V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| public:
|
| explicit LInvokeFunction(LOperand* function) {
|
| inputs_[0] = function;
|
| @@ -1775,13 +1783,13 @@ class LInvokeFunction FINAL : public LTemplateInstruction<1, 1, 0> {
|
| DECLARE_CONCRETE_INSTRUCTION(InvokeFunction, "invoke-function")
|
| DECLARE_HYDROGEN_ACCESSOR(InvokeFunction)
|
|
|
| - virtual void PrintDataTo(StringStream* stream) OVERRIDE;
|
| + virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE;
|
|
|
| int arity() const { return hydrogen()->argument_count() - 1; }
|
| };
|
|
|
|
|
| -class LCallKeyed FINAL : public LTemplateInstruction<1, 1, 0> {
|
| +class LCallKeyed V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| public:
|
| explicit LCallKeyed(LOperand* key) {
|
| inputs_[0] = key;
|
| @@ -1792,25 +1800,25 @@ class LCallKeyed FINAL : public LTemplateInstruction<1, 1, 0> {
|
|
|
| LOperand* key() { return inputs_[0]; }
|
|
|
| - virtual void PrintDataTo(StringStream* stream) OVERRIDE;
|
| + virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE;
|
|
|
| int arity() const { return hydrogen()->argument_count() - 1; }
|
| };
|
|
|
|
|
| -class LCallNamed FINAL : public LTemplateInstruction<1, 0, 0> {
|
| +class LCallNamed V8_FINAL : public LTemplateInstruction<1, 0, 0> {
|
| public:
|
| DECLARE_CONCRETE_INSTRUCTION(CallNamed, "call-named")
|
| DECLARE_HYDROGEN_ACCESSOR(CallNamed)
|
|
|
| - virtual void PrintDataTo(StringStream* stream) OVERRIDE;
|
| + virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE;
|
|
|
| Handle<String> name() const { return hydrogen()->name(); }
|
| int arity() const { return hydrogen()->argument_count() - 1; }
|
| };
|
|
|
|
|
| -class LCallFunction FINAL : public LTemplateInstruction<1, 1, 0> {
|
| +class LCallFunction V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| public:
|
| explicit LCallFunction(LOperand* function) {
|
| inputs_[0] = function;
|
| @@ -1824,30 +1832,30 @@ class LCallFunction FINAL : public LTemplateInstruction<1, 1, 0> {
|
| };
|
|
|
|
|
| -class LCallGlobal FINAL : public LTemplateInstruction<1, 0, 0> {
|
| +class LCallGlobal V8_FINAL : public LTemplateInstruction<1, 0, 0> {
|
| public:
|
| DECLARE_CONCRETE_INSTRUCTION(CallGlobal, "call-global")
|
| DECLARE_HYDROGEN_ACCESSOR(CallGlobal)
|
|
|
| - virtual void PrintDataTo(StringStream* stream) OVERRIDE;
|
| + virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE;
|
|
|
| Handle<String> name() const {return hydrogen()->name(); }
|
| int arity() const { return hydrogen()->argument_count() - 1; }
|
| };
|
|
|
|
|
| -class LCallKnownGlobal FINAL : public LTemplateInstruction<1, 0, 0> {
|
| +class LCallKnownGlobal V8_FINAL : public LTemplateInstruction<1, 0, 0> {
|
| public:
|
| DECLARE_CONCRETE_INSTRUCTION(CallKnownGlobal, "call-known-global")
|
| DECLARE_HYDROGEN_ACCESSOR(CallKnownGlobal)
|
|
|
| - virtual void PrintDataTo(StringStream* stream) OVERRIDE;
|
| + virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE;
|
|
|
| int arity() const { return hydrogen()->argument_count() - 1; }
|
| };
|
|
|
|
|
| -class LCallNew FINAL : public LTemplateInstruction<1, 1, 0> {
|
| +class LCallNew V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| public:
|
| explicit LCallNew(LOperand* constructor) {
|
| inputs_[0] = constructor;
|
| @@ -1858,13 +1866,13 @@ class LCallNew FINAL : public LTemplateInstruction<1, 1, 0> {
|
| DECLARE_CONCRETE_INSTRUCTION(CallNew, "call-new")
|
| DECLARE_HYDROGEN_ACCESSOR(CallNew)
|
|
|
| - virtual void PrintDataTo(StringStream* stream) OVERRIDE;
|
| + virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE;
|
|
|
| int arity() const { return hydrogen()->argument_count() - 1; }
|
| };
|
|
|
|
|
| -class LCallNewArray FINAL : public LTemplateInstruction<1, 1, 0> {
|
| +class LCallNewArray V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| public:
|
| explicit LCallNewArray(LOperand* constructor) {
|
| inputs_[0] = constructor;
|
| @@ -1875,13 +1883,13 @@ class LCallNewArray FINAL : public LTemplateInstruction<1, 1, 0> {
|
| DECLARE_CONCRETE_INSTRUCTION(CallNewArray, "call-new-array")
|
| DECLARE_HYDROGEN_ACCESSOR(CallNewArray)
|
|
|
| - virtual void PrintDataTo(StringStream* stream) OVERRIDE;
|
| + virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE;
|
|
|
| int arity() const { return hydrogen()->argument_count() - 1; }
|
| };
|
|
|
|
|
| -class LCallRuntime FINAL : public LTemplateInstruction<1, 0, 0> {
|
| +class LCallRuntime V8_FINAL : public LTemplateInstruction<1, 0, 0> {
|
| public:
|
| DECLARE_CONCRETE_INSTRUCTION(CallRuntime, "call-runtime")
|
| DECLARE_HYDROGEN_ACCESSOR(CallRuntime)
|
| @@ -1891,7 +1899,7 @@ class LCallRuntime FINAL : public LTemplateInstruction<1, 0, 0> {
|
| };
|
|
|
|
|
| -class LInteger32ToDouble FINAL : public LTemplateInstruction<1, 1, 0> {
|
| +class LInteger32ToDouble V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| public:
|
| explicit LInteger32ToDouble(LOperand* value) {
|
| inputs_[0] = value;
|
| @@ -1903,7 +1911,7 @@ class LInteger32ToDouble FINAL : public LTemplateInstruction<1, 1, 0> {
|
| };
|
|
|
|
|
| -class LInteger32ToSmi FINAL : public LTemplateInstruction<1, 1, 0> {
|
| +class LInteger32ToSmi V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| public:
|
| explicit LInteger32ToSmi(LOperand* value) {
|
| inputs_[0] = value;
|
| @@ -1916,7 +1924,7 @@ class LInteger32ToSmi FINAL : public LTemplateInstruction<1, 1, 0> {
|
| };
|
|
|
|
|
| -class LUint32ToDouble FINAL : public LTemplateInstruction<1, 1, 1> {
|
| +class LUint32ToDouble V8_FINAL : public LTemplateInstruction<1, 1, 1> {
|
| public:
|
| explicit LUint32ToDouble(LOperand* value, LOperand* temp) {
|
| inputs_[0] = value;
|
| @@ -1930,7 +1938,7 @@ class LUint32ToDouble FINAL : public LTemplateInstruction<1, 1, 1> {
|
| };
|
|
|
|
|
| -class LNumberTagI FINAL : public LTemplateInstruction<1, 1, 0> {
|
| +class LNumberTagI V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| public:
|
| explicit LNumberTagI(LOperand* value) {
|
| inputs_[0] = value;
|
| @@ -1942,7 +1950,7 @@ class LNumberTagI FINAL : public LTemplateInstruction<1, 1, 0> {
|
| };
|
|
|
|
|
| -class LNumberTagU FINAL : public LTemplateInstruction<1, 1, 1> {
|
| +class LNumberTagU V8_FINAL : public LTemplateInstruction<1, 1, 1> {
|
| public:
|
| explicit LNumberTagU(LOperand* value, LOperand* temp) {
|
| inputs_[0] = value;
|
| @@ -1956,7 +1964,7 @@ class LNumberTagU FINAL : public LTemplateInstruction<1, 1, 1> {
|
| };
|
|
|
|
|
| -class LNumberTagD FINAL : public LTemplateInstruction<1, 1, 1> {
|
| +class LNumberTagD V8_FINAL : public LTemplateInstruction<1, 1, 1> {
|
| public:
|
| explicit LNumberTagD(LOperand* value, LOperand* temp) {
|
| inputs_[0] = value;
|
| @@ -1972,7 +1980,7 @@ class LNumberTagD FINAL : public LTemplateInstruction<1, 1, 1> {
|
|
|
|
|
| // Sometimes truncating conversion from a tagged value to an int32.
|
| -class LDoubleToI FINAL : public LTemplateInstruction<1, 1, 0> {
|
| +class LDoubleToI V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| public:
|
| explicit LDoubleToI(LOperand* value) {
|
| inputs_[0] = value;
|
| @@ -1987,7 +1995,7 @@ class LDoubleToI FINAL : public LTemplateInstruction<1, 1, 0> {
|
| };
|
|
|
|
|
| -class LDoubleToSmi FINAL : public LTemplateInstruction<1, 1, 0> {
|
| +class LDoubleToSmi V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| public:
|
| explicit LDoubleToSmi(LOperand* value) {
|
| inputs_[0] = value;
|
| @@ -2001,7 +2009,7 @@ class LDoubleToSmi FINAL : public LTemplateInstruction<1, 1, 0> {
|
|
|
|
|
| // Truncating conversion from a tagged value to an int32.
|
| -class LTaggedToI FINAL : public LTemplateInstruction<1, 1, 1> {
|
| +class LTaggedToI V8_FINAL : public LTemplateInstruction<1, 1, 1> {
|
| public:
|
| LTaggedToI(LOperand* value, LOperand* temp) {
|
| inputs_[0] = value;
|
| @@ -2018,7 +2026,7 @@ class LTaggedToI FINAL : public LTemplateInstruction<1, 1, 1> {
|
| };
|
|
|
|
|
| -class LSmiTag FINAL : public LTemplateInstruction<1, 1, 0> {
|
| +class LSmiTag V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| public:
|
| explicit LSmiTag(LOperand* value) {
|
| inputs_[0] = value;
|
| @@ -2030,7 +2038,7 @@ class LSmiTag FINAL : public LTemplateInstruction<1, 1, 0> {
|
| };
|
|
|
|
|
| -class LNumberUntagD FINAL : public LTemplateInstruction<1, 1, 0> {
|
| +class LNumberUntagD V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| public:
|
| explicit LNumberUntagD(LOperand* value) {
|
| inputs_[0] = value;
|
| @@ -2043,7 +2051,7 @@ class LNumberUntagD FINAL : public LTemplateInstruction<1, 1, 0> {
|
| };
|
|
|
|
|
| -class LSmiUntag FINAL : public LTemplateInstruction<1, 1, 0> {
|
| +class LSmiUntag V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| public:
|
| LSmiUntag(LOperand* value, bool needs_check)
|
| : needs_check_(needs_check) {
|
| @@ -2060,7 +2068,7 @@ class LSmiUntag FINAL : public LTemplateInstruction<1, 1, 0> {
|
| };
|
|
|
|
|
| -class LStoreNamedField FINAL : public LTemplateInstruction<0, 2, 1> {
|
| +class LStoreNamedField V8_FINAL : public LTemplateInstruction<0, 2, 1> {
|
| public:
|
| LStoreNamedField(LOperand* object, LOperand* value, LOperand* temp) {
|
| inputs_[0] = object;
|
| @@ -2075,7 +2083,7 @@ class LStoreNamedField FINAL : public LTemplateInstruction<0, 2, 1> {
|
| DECLARE_CONCRETE_INSTRUCTION(StoreNamedField, "store-named-field")
|
| DECLARE_HYDROGEN_ACCESSOR(StoreNamedField)
|
|
|
| - virtual void PrintDataTo(StringStream* stream) OVERRIDE;
|
| + virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE;
|
|
|
| Handle<Map> transition() const { return hydrogen()->transition_map(); }
|
| Representation representation() const {
|
| @@ -2084,7 +2092,7 @@ class LStoreNamedField FINAL : public LTemplateInstruction<0, 2, 1> {
|
| };
|
|
|
|
|
| -class LStoreNamedGeneric FINAL : public LTemplateInstruction<0, 2, 0> {
|
| +class LStoreNamedGeneric V8_FINAL : public LTemplateInstruction<0, 2, 0> {
|
| public:
|
| LStoreNamedGeneric(LOperand* object, LOperand* value) {
|
| inputs_[0] = object;
|
| @@ -2097,14 +2105,14 @@ class LStoreNamedGeneric FINAL : public LTemplateInstruction<0, 2, 0> {
|
| DECLARE_CONCRETE_INSTRUCTION(StoreNamedGeneric, "store-named-generic")
|
| DECLARE_HYDROGEN_ACCESSOR(StoreNamedGeneric)
|
|
|
| - virtual void PrintDataTo(StringStream* stream) OVERRIDE;
|
| + virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE;
|
|
|
| Handle<Object> name() const { return hydrogen()->name(); }
|
| StrictModeFlag strict_mode_flag() { return hydrogen()->strict_mode_flag(); }
|
| };
|
|
|
|
|
| -class LStoreKeyed FINAL : public LTemplateInstruction<0, 3, 0> {
|
| +class LStoreKeyed V8_FINAL : public LTemplateInstruction<0, 3, 0> {
|
| public:
|
| LStoreKeyed(LOperand* object, LOperand* key, LOperand* value) {
|
| inputs_[0] = object;
|
| @@ -2121,13 +2129,13 @@ class LStoreKeyed FINAL : public LTemplateInstruction<0, 3, 0> {
|
| DECLARE_CONCRETE_INSTRUCTION(StoreKeyed, "store-keyed")
|
| DECLARE_HYDROGEN_ACCESSOR(StoreKeyed)
|
|
|
| - virtual void PrintDataTo(StringStream* stream) OVERRIDE;
|
| + virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE;
|
| bool NeedsCanonicalization() { return hydrogen()->NeedsCanonicalization(); }
|
| uint32_t additional_index() const { return hydrogen()->index_offset(); }
|
| };
|
|
|
|
|
| -class LStoreKeyedGeneric FINAL : public LTemplateInstruction<0, 3, 0> {
|
| +class LStoreKeyedGeneric V8_FINAL : public LTemplateInstruction<0, 3, 0> {
|
| public:
|
| LStoreKeyedGeneric(LOperand* object, LOperand* key, LOperand* value) {
|
| inputs_[0] = object;
|
| @@ -2142,13 +2150,13 @@ class LStoreKeyedGeneric FINAL : public LTemplateInstruction<0, 3, 0> {
|
| DECLARE_CONCRETE_INSTRUCTION(StoreKeyedGeneric, "store-keyed-generic")
|
| DECLARE_HYDROGEN_ACCESSOR(StoreKeyedGeneric)
|
|
|
| - virtual void PrintDataTo(StringStream* stream) OVERRIDE;
|
| + virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE;
|
|
|
| StrictModeFlag strict_mode_flag() { return hydrogen()->strict_mode_flag(); }
|
| };
|
|
|
|
|
| -class LTransitionElementsKind FINAL : public LTemplateInstruction<0, 1, 2> {
|
| +class LTransitionElementsKind V8_FINAL : public LTemplateInstruction<0, 1, 2> {
|
| public:
|
| LTransitionElementsKind(LOperand* object,
|
| LOperand* new_map_temp,
|
| @@ -2166,7 +2174,7 @@ class LTransitionElementsKind FINAL : public LTemplateInstruction<0, 1, 2> {
|
| "transition-elements-kind")
|
| DECLARE_HYDROGEN_ACCESSOR(TransitionElementsKind)
|
|
|
| - virtual void PrintDataTo(StringStream* stream) OVERRIDE;
|
| + virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE;
|
|
|
| Handle<Map> original_map() { return hydrogen()->original_map(); }
|
| Handle<Map> transitioned_map() { return hydrogen()->transitioned_map(); }
|
| @@ -2175,7 +2183,7 @@ class LTransitionElementsKind FINAL : public LTemplateInstruction<0, 1, 2> {
|
| };
|
|
|
|
|
| -class LTrapAllocationMemento FINAL : public LTemplateInstruction<0, 1, 1> {
|
| +class LTrapAllocationMemento V8_FINAL : public LTemplateInstruction<0, 1, 1> {
|
| public:
|
| LTrapAllocationMemento(LOperand* object,
|
| LOperand* temp) {
|
| @@ -2191,7 +2199,7 @@ class LTrapAllocationMemento FINAL : public LTemplateInstruction<0, 1, 1> {
|
| };
|
|
|
|
|
| -class LStringAdd FINAL : public LTemplateInstruction<1, 2, 0> {
|
| +class LStringAdd V8_FINAL : public LTemplateInstruction<1, 2, 0> {
|
| public:
|
| LStringAdd(LOperand* left, LOperand* right) {
|
| inputs_[0] = left;
|
| @@ -2206,7 +2214,7 @@ class LStringAdd FINAL : public LTemplateInstruction<1, 2, 0> {
|
| };
|
|
|
|
|
| -class LStringCharCodeAt FINAL : public LTemplateInstruction<1, 2, 0> {
|
| +class LStringCharCodeAt V8_FINAL : public LTemplateInstruction<1, 2, 0> {
|
| public:
|
| LStringCharCodeAt(LOperand* string, LOperand* index) {
|
| inputs_[0] = string;
|
| @@ -2221,7 +2229,7 @@ class LStringCharCodeAt FINAL : public LTemplateInstruction<1, 2, 0> {
|
| };
|
|
|
|
|
| -class LStringCharFromCode FINAL : public LTemplateInstruction<1, 1, 0> {
|
| +class LStringCharFromCode V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| public:
|
| explicit LStringCharFromCode(LOperand* char_code) {
|
| inputs_[0] = char_code;
|
| @@ -2234,7 +2242,7 @@ class LStringCharFromCode FINAL : public LTemplateInstruction<1, 1, 0> {
|
| };
|
|
|
|
|
| -class LCheckFunction FINAL : public LTemplateInstruction<0, 1, 0> {
|
| +class LCheckFunction V8_FINAL : public LTemplateInstruction<0, 1, 0> {
|
| public:
|
| explicit LCheckFunction(LOperand* value) {
|
| inputs_[0] = value;
|
| @@ -2247,7 +2255,7 @@ class LCheckFunction FINAL : public LTemplateInstruction<0, 1, 0> {
|
| };
|
|
|
|
|
| -class LCheckInstanceType FINAL : public LTemplateInstruction<0, 1, 0> {
|
| +class LCheckInstanceType V8_FINAL : public LTemplateInstruction<0, 1, 0> {
|
| public:
|
| explicit LCheckInstanceType(LOperand* value) {
|
| inputs_[0] = value;
|
| @@ -2260,7 +2268,7 @@ class LCheckInstanceType FINAL : public LTemplateInstruction<0, 1, 0> {
|
| };
|
|
|
|
|
| -class LCheckMaps FINAL : public LTemplateInstruction<0, 1, 0> {
|
| +class LCheckMaps V8_FINAL : public LTemplateInstruction<0, 1, 0> {
|
| public:
|
| explicit LCheckMaps(LOperand* value) {
|
| inputs_[0] = value;
|
| @@ -2273,7 +2281,7 @@ class LCheckMaps FINAL : public LTemplateInstruction<0, 1, 0> {
|
| };
|
|
|
|
|
| -class LCheckSmi FINAL : public LTemplateInstruction<1, 1, 0> {
|
| +class LCheckSmi V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| public:
|
| explicit LCheckSmi(LOperand* value) {
|
| inputs_[0] = value;
|
| @@ -2285,7 +2293,7 @@ class LCheckSmi FINAL : public LTemplateInstruction<1, 1, 0> {
|
| };
|
|
|
|
|
| -class LClampDToUint8 FINAL : public LTemplateInstruction<1, 1, 0> {
|
| +class LClampDToUint8 V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| public:
|
| explicit LClampDToUint8(LOperand* unclamped) {
|
| inputs_[0] = unclamped;
|
| @@ -2297,7 +2305,7 @@ class LClampDToUint8 FINAL : public LTemplateInstruction<1, 1, 0> {
|
| };
|
|
|
|
|
| -class LClampIToUint8 FINAL : public LTemplateInstruction<1, 1, 0> {
|
| +class LClampIToUint8 V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| public:
|
| explicit LClampIToUint8(LOperand* unclamped) {
|
| inputs_[0] = unclamped;
|
| @@ -2309,7 +2317,7 @@ class LClampIToUint8 FINAL : public LTemplateInstruction<1, 1, 0> {
|
| };
|
|
|
|
|
| -class LClampTToUint8 FINAL : public LTemplateInstruction<1, 1, 1> {
|
| +class LClampTToUint8 V8_FINAL : public LTemplateInstruction<1, 1, 1> {
|
| public:
|
| LClampTToUint8(LOperand* unclamped,
|
| LOperand* temp_xmm) {
|
| @@ -2324,7 +2332,7 @@ class LClampTToUint8 FINAL : public LTemplateInstruction<1, 1, 1> {
|
| };
|
|
|
|
|
| -class LCheckNonSmi FINAL : public LTemplateInstruction<0, 1, 0> {
|
| +class LCheckNonSmi V8_FINAL : public LTemplateInstruction<0, 1, 0> {
|
| public:
|
| explicit LCheckNonSmi(LOperand* value) {
|
| inputs_[0] = value;
|
| @@ -2337,7 +2345,7 @@ class LCheckNonSmi FINAL : public LTemplateInstruction<0, 1, 0> {
|
| };
|
|
|
|
|
| -class LAllocate FINAL : public LTemplateInstruction<1, 1, 1> {
|
| +class LAllocate V8_FINAL : public LTemplateInstruction<1, 1, 1> {
|
| public:
|
| LAllocate(LOperand* size, LOperand* temp) {
|
| inputs_[0] = size;
|
| @@ -2352,21 +2360,21 @@ class LAllocate FINAL : public LTemplateInstruction<1, 1, 1> {
|
| };
|
|
|
|
|
| -class LRegExpLiteral FINAL : public LTemplateInstruction<1, 0, 0> {
|
| +class LRegExpLiteral V8_FINAL : public LTemplateInstruction<1, 0, 0> {
|
| public:
|
| DECLARE_CONCRETE_INSTRUCTION(RegExpLiteral, "regexp-literal")
|
| DECLARE_HYDROGEN_ACCESSOR(RegExpLiteral)
|
| };
|
|
|
|
|
| -class LFunctionLiteral FINAL : public LTemplateInstruction<1, 0, 0> {
|
| +class LFunctionLiteral V8_FINAL : public LTemplateInstruction<1, 0, 0> {
|
| public:
|
| DECLARE_CONCRETE_INSTRUCTION(FunctionLiteral, "function-literal")
|
| DECLARE_HYDROGEN_ACCESSOR(FunctionLiteral)
|
| };
|
|
|
|
|
| -class LToFastProperties FINAL : public LTemplateInstruction<1, 1, 0> {
|
| +class LToFastProperties V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| public:
|
| explicit LToFastProperties(LOperand* value) {
|
| inputs_[0] = value;
|
| @@ -2379,7 +2387,7 @@ class LToFastProperties FINAL : public LTemplateInstruction<1, 1, 0> {
|
| };
|
|
|
|
|
| -class LTypeof FINAL : public LTemplateInstruction<1, 1, 0> {
|
| +class LTypeof V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| public:
|
| explicit LTypeof(LOperand* value) {
|
| inputs_[0] = value;
|
| @@ -2391,7 +2399,7 @@ class LTypeof FINAL : public LTemplateInstruction<1, 1, 0> {
|
| };
|
|
|
|
|
| -class LTypeofIsAndBranch FINAL : public LControlInstruction<1, 0> {
|
| +class LTypeofIsAndBranch V8_FINAL : public LControlInstruction<1, 0> {
|
| public:
|
| explicit LTypeofIsAndBranch(LOperand* value) {
|
| inputs_[0] = value;
|
| @@ -2404,11 +2412,11 @@ class LTypeofIsAndBranch FINAL : public LControlInstruction<1, 0> {
|
|
|
| Handle<String> type_literal() { return hydrogen()->type_literal(); }
|
|
|
| - virtual void PrintDataTo(StringStream* stream) OVERRIDE;
|
| + virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE;
|
| };
|
|
|
|
|
| -class LIsConstructCallAndBranch FINAL : public LControlInstruction<0, 1> {
|
| +class LIsConstructCallAndBranch V8_FINAL : public LControlInstruction<0, 1> {
|
| public:
|
| explicit LIsConstructCallAndBranch(LOperand* temp) {
|
| temps_[0] = temp;
|
| @@ -2422,18 +2430,18 @@ class LIsConstructCallAndBranch FINAL : public LControlInstruction<0, 1> {
|
| };
|
|
|
|
|
| -class LOsrEntry FINAL : public LTemplateInstruction<0, 0, 0> {
|
| +class LOsrEntry V8_FINAL : public LTemplateInstruction<0, 0, 0> {
|
| public:
|
| LOsrEntry() {}
|
|
|
| - virtual bool HasInterestingComment(LCodeGen* gen) const OVERRIDE {
|
| + virtual bool HasInterestingComment(LCodeGen* gen) const V8_OVERRIDE {
|
| return false;
|
| }
|
| DECLARE_CONCRETE_INSTRUCTION(OsrEntry, "osr-entry")
|
| };
|
|
|
|
|
| -class LStackCheck FINAL : public LTemplateInstruction<0, 0, 0> {
|
| +class LStackCheck V8_FINAL : public LTemplateInstruction<0, 0, 0> {
|
| public:
|
| DECLARE_CONCRETE_INSTRUCTION(StackCheck, "stack-check")
|
| DECLARE_HYDROGEN_ACCESSOR(StackCheck)
|
| @@ -2445,7 +2453,7 @@ class LStackCheck FINAL : public LTemplateInstruction<0, 0, 0> {
|
| };
|
|
|
|
|
| -class LForInPrepareMap FINAL : public LTemplateInstruction<1, 1, 0> {
|
| +class LForInPrepareMap V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| public:
|
| explicit LForInPrepareMap(LOperand* object) {
|
| inputs_[0] = object;
|
| @@ -2457,7 +2465,7 @@ class LForInPrepareMap FINAL : public LTemplateInstruction<1, 1, 0> {
|
| };
|
|
|
|
|
| -class LForInCacheArray FINAL : public LTemplateInstruction<1, 1, 0> {
|
| +class LForInCacheArray V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| public:
|
| explicit LForInCacheArray(LOperand* map) {
|
| inputs_[0] = map;
|
| @@ -2473,7 +2481,7 @@ class LForInCacheArray FINAL : public LTemplateInstruction<1, 1, 0> {
|
| };
|
|
|
|
|
| -class LCheckMapValue FINAL : public LTemplateInstruction<0, 2, 0> {
|
| +class LCheckMapValue V8_FINAL : public LTemplateInstruction<0, 2, 0> {
|
| public:
|
| LCheckMapValue(LOperand* value, LOperand* map) {
|
| inputs_[0] = value;
|
| @@ -2487,7 +2495,7 @@ class LCheckMapValue FINAL : public LTemplateInstruction<0, 2, 0> {
|
| };
|
|
|
|
|
| -class LLoadFieldByIndex FINAL : public LTemplateInstruction<1, 2, 0> {
|
| +class LLoadFieldByIndex V8_FINAL : public LTemplateInstruction<1, 2, 0> {
|
| public:
|
| LLoadFieldByIndex(LOperand* object, LOperand* index) {
|
| inputs_[0] = object;
|
| @@ -2502,7 +2510,7 @@ class LLoadFieldByIndex FINAL : public LTemplateInstruction<1, 2, 0> {
|
|
|
|
|
| class LChunkBuilder;
|
| -class LPlatformChunk FINAL : public LChunk {
|
| +class LPlatformChunk V8_FINAL : public LChunk {
|
| public:
|
| LPlatformChunk(CompilationInfo* info, HGraph* graph)
|
| : LChunk(info, graph) { }
|
| @@ -2512,7 +2520,7 @@ class LPlatformChunk FINAL : public LChunk {
|
| };
|
|
|
|
|
| -class LChunkBuilder FINAL BASE_EMBEDDED {
|
| +class LChunkBuilder V8_FINAL BASE_EMBEDDED {
|
| public:
|
| LChunkBuilder(CompilationInfo* info, HGraph* graph, LAllocator* allocator)
|
| : chunk_(NULL),
|
|
|