Index: src/arm64/lithium-arm64.h |
diff --git a/src/arm64/lithium-arm64.h b/src/arm64/lithium-arm64.h |
index 1afed1a6074e9cb39f545caf044e74e9b166a980..506110c7773b1507bdf71cbff5bc86534d40df0a 100644 |
--- a/src/arm64/lithium-arm64.h |
+++ b/src/arm64/lithium-arm64.h |
@@ -177,9 +177,9 @@ class LCodeGen; |
#define DECLARE_CONCRETE_INSTRUCTION(type, mnemonic) \ |
- Opcode opcode() const FINAL { return LInstruction::k##type; } \ |
- void CompileToNative(LCodeGen* generator) FINAL; \ |
- const char* Mnemonic() const FINAL { return mnemonic; } \ |
+ Opcode opcode() const final { return LInstruction::k##type; } \ |
+ void CompileToNative(LCodeGen* generator) final; \ |
+ const char* Mnemonic() const final { return mnemonic; } \ |
static L##type* cast(LInstruction* instr) { \ |
DCHECK(instr->Is##type()); \ |
return reinterpret_cast<L##type*>(instr); \ |
@@ -289,9 +289,9 @@ class LTemplateResultInstruction : public LInstruction { |
public: |
// Allow 0 or 1 output operands. |
STATIC_ASSERT(R == 0 || R == 1); |
- bool HasResult() const FINAL { return (R != 0) && (result() != NULL); } |
+ bool HasResult() const final { return (R != 0) && (result() != NULL); } |
void set_result(LOperand* operand) { results_[0] = operand; } |
- LOperand* result() const OVERRIDE { return results_[0]; } |
+ LOperand* result() const override { return results_[0]; } |
protected: |
EmbeddedContainer<LOperand*, R> results_; |
@@ -309,15 +309,15 @@ class LTemplateInstruction : public LTemplateResultInstruction<R> { |
private: |
// Iterator support. |
- int InputCount() FINAL { return I; } |
- LOperand* InputAt(int i) FINAL { return inputs_[i]; } |
+ int InputCount() final { return I; } |
+ LOperand* InputAt(int i) final { return inputs_[i]; } |
- int TempCount() FINAL { return T; } |
- LOperand* TempAt(int i) FINAL { return temps_[i]; } |
+ int TempCount() final { return T; } |
+ LOperand* TempAt(int i) final { return temps_[i]; } |
}; |
-class LTailCallThroughMegamorphicCache FINAL |
+class LTailCallThroughMegamorphicCache final |
: public LTemplateInstruction<0, 3, 0> { |
public: |
LTailCallThroughMegamorphicCache(LOperand* context, LOperand* receiver, |
@@ -337,9 +337,9 @@ class LTailCallThroughMegamorphicCache FINAL |
}; |
-class LUnknownOSRValue FINAL : public LTemplateInstruction<1, 0, 0> { |
+class LUnknownOSRValue final : public LTemplateInstruction<1, 0, 0> { |
public: |
- bool HasInterestingComment(LCodeGen* gen) const OVERRIDE { return false; } |
+ bool HasInterestingComment(LCodeGen* gen) const override { return false; } |
DECLARE_CONCRETE_INSTRUCTION(UnknownOSRValue, "unknown-osr-value") |
}; |
@@ -349,7 +349,7 @@ class LControlInstruction : public LTemplateInstruction<0, I, T> { |
public: |
LControlInstruction() : false_label_(NULL), true_label_(NULL) { } |
- bool IsControl() const FINAL { return true; } |
+ bool IsControl() const final { return true; } |
int SuccessorCount() { return hydrogen()->SuccessorCount(); } |
HBasicBlock* SuccessorAt(int i) { return hydrogen()->SuccessorAt(i); } |
@@ -399,8 +399,8 @@ class LGap : public LTemplateInstruction<0, 0, 0> { |
} |
// Can't use the DECLARE-macro here because of sub-classes. |
- bool IsGap() const OVERRIDE { return true; } |
- void PrintDataTo(StringStream* stream) OVERRIDE; |
+ bool IsGap() const override { return true; } |
+ void PrintDataTo(StringStream* stream) override; |
static LGap* cast(LInstruction* instr) { |
DCHECK(instr->IsGap()); |
return reinterpret_cast<LGap*>(instr); |
@@ -436,11 +436,11 @@ class LGap : public LTemplateInstruction<0, 0, 0> { |
}; |
-class LInstructionGap FINAL : public LGap { |
+class LInstructionGap final : public LGap { |
public: |
explicit LInstructionGap(HBasicBlock* block) : LGap(block) { } |
- bool HasInterestingComment(LCodeGen* gen) const OVERRIDE { |
+ bool HasInterestingComment(LCodeGen* gen) const override { |
return !IsRedundant(); |
} |
@@ -448,7 +448,7 @@ class LInstructionGap FINAL : public LGap { |
}; |
-class LDrop FINAL : public LTemplateInstruction<0, 0, 0> { |
+class LDrop final : public LTemplateInstruction<0, 0, 0> { |
public: |
explicit LDrop(int count) : count_(count) { } |
@@ -461,14 +461,14 @@ class LDrop FINAL : public LTemplateInstruction<0, 0, 0> { |
}; |
-class LDummy FINAL : public LTemplateInstruction<1, 0, 0> { |
+class LDummy final : public LTemplateInstruction<1, 0, 0> { |
public: |
LDummy() {} |
DECLARE_CONCRETE_INSTRUCTION(Dummy, "dummy") |
}; |
-class LDummyUse FINAL : public LTemplateInstruction<1, 1, 0> { |
+class LDummyUse final : public LTemplateInstruction<1, 1, 0> { |
public: |
explicit LDummyUse(LOperand* value) { |
inputs_[0] = value; |
@@ -477,14 +477,14 @@ class LDummyUse FINAL : public LTemplateInstruction<1, 1, 0> { |
}; |
-class LGoto FINAL : public LTemplateInstruction<0, 0, 0> { |
+class LGoto final : public LTemplateInstruction<0, 0, 0> { |
public: |
explicit LGoto(HBasicBlock* block) : block_(block) { } |
- bool HasInterestingComment(LCodeGen* gen) const OVERRIDE; |
+ bool HasInterestingComment(LCodeGen* gen) const override; |
DECLARE_CONCRETE_INSTRUCTION(Goto, "goto") |
- void PrintDataTo(StringStream* stream) OVERRIDE; |
- bool IsControl() const OVERRIDE { return true; } |
+ void PrintDataTo(StringStream* stream) override; |
+ bool IsControl() const override { return true; } |
int block_id() const { return block_->block_id(); } |
@@ -493,7 +493,7 @@ class LGoto FINAL : public LTemplateInstruction<0, 0, 0> { |
}; |
-class LLazyBailout FINAL : public LTemplateInstruction<0, 0, 0> { |
+class LLazyBailout final : public LTemplateInstruction<0, 0, 0> { |
public: |
LLazyBailout() : gap_instructions_size_(0) { } |
@@ -509,15 +509,15 @@ class LLazyBailout FINAL : public LTemplateInstruction<0, 0, 0> { |
}; |
-class LLabel FINAL : public LGap { |
+class LLabel final : public LGap { |
public: |
explicit LLabel(HBasicBlock* block) |
: LGap(block), replacement_(NULL) { } |
- bool HasInterestingComment(LCodeGen* gen) const OVERRIDE { return false; } |
+ bool HasInterestingComment(LCodeGen* gen) const override { return false; } |
DECLARE_CONCRETE_INSTRUCTION(Label, "label") |
- void PrintDataTo(StringStream* stream) OVERRIDE; |
+ void PrintDataTo(StringStream* stream) override; |
int block_id() const { return block()->block_id(); } |
bool is_loop_header() const { return block()->IsLoopHeader(); } |
@@ -533,16 +533,16 @@ class LLabel FINAL : public LGap { |
}; |
-class LOsrEntry FINAL : public LTemplateInstruction<0, 0, 0> { |
+class LOsrEntry final : public LTemplateInstruction<0, 0, 0> { |
public: |
LOsrEntry() {} |
- bool HasInterestingComment(LCodeGen* gen) const OVERRIDE { return false; } |
+ bool HasInterestingComment(LCodeGen* gen) const override { return false; } |
DECLARE_CONCRETE_INSTRUCTION(OsrEntry, "osr-entry") |
}; |
-class LAccessArgumentsAt FINAL : public LTemplateInstruction<1, 3, 0> { |
+class LAccessArgumentsAt final : public LTemplateInstruction<1, 3, 0> { |
public: |
LAccessArgumentsAt(LOperand* arguments, |
LOperand* length, |
@@ -558,11 +558,11 @@ class LAccessArgumentsAt FINAL : public LTemplateInstruction<1, 3, 0> { |
LOperand* length() { return inputs_[1]; } |
LOperand* index() { return inputs_[2]; } |
- void PrintDataTo(StringStream* stream) OVERRIDE; |
+ void PrintDataTo(StringStream* stream) override; |
}; |
-class LAddE FINAL : public LTemplateInstruction<1, 2, 0> { |
+class LAddE final : public LTemplateInstruction<1, 2, 0> { |
public: |
LAddE(LOperand* left, LOperand* right) { |
inputs_[0] = left; |
@@ -577,7 +577,7 @@ class LAddE FINAL : public LTemplateInstruction<1, 2, 0> { |
}; |
-class LAddI FINAL : public LTemplateInstruction<1, 2, 0> { |
+class LAddI final : public LTemplateInstruction<1, 2, 0> { |
public: |
LAddI(LOperand* left, LOperand* right) |
: shift_(NO_SHIFT), shift_amount_(0) { |
@@ -606,7 +606,7 @@ class LAddI FINAL : public LTemplateInstruction<1, 2, 0> { |
}; |
-class LAddS FINAL : public LTemplateInstruction<1, 2, 0> { |
+class LAddS final : public LTemplateInstruction<1, 2, 0> { |
public: |
LAddS(LOperand* left, LOperand* right) { |
inputs_[0] = left; |
@@ -621,7 +621,7 @@ class LAddS FINAL : public LTemplateInstruction<1, 2, 0> { |
}; |
-class LAllocate FINAL : public LTemplateInstruction<1, 2, 3> { |
+class LAllocate final : public LTemplateInstruction<1, 2, 3> { |
public: |
LAllocate(LOperand* context, |
LOperand* size, |
@@ -646,7 +646,7 @@ class LAllocate FINAL : public LTemplateInstruction<1, 2, 3> { |
}; |
-class LApplyArguments FINAL : public LTemplateInstruction<1, 4, 0> { |
+class LApplyArguments final : public LTemplateInstruction<1, 4, 0> { |
public: |
LApplyArguments(LOperand* function, |
LOperand* receiver, |
@@ -667,7 +667,7 @@ class LApplyArguments FINAL : public LTemplateInstruction<1, 4, 0> { |
}; |
-class LArgumentsElements FINAL : public LTemplateInstruction<1, 0, 1> { |
+class LArgumentsElements final : public LTemplateInstruction<1, 0, 1> { |
public: |
explicit LArgumentsElements(LOperand* temp) { |
temps_[0] = temp; |
@@ -680,7 +680,7 @@ class LArgumentsElements FINAL : public LTemplateInstruction<1, 0, 1> { |
}; |
-class LArgumentsLength FINAL : public LTemplateInstruction<1, 1, 0> { |
+class LArgumentsLength final : public LTemplateInstruction<1, 1, 0> { |
public: |
explicit LArgumentsLength(LOperand* elements) { |
inputs_[0] = elements; |
@@ -692,7 +692,7 @@ class LArgumentsLength FINAL : public LTemplateInstruction<1, 1, 0> { |
}; |
-class LArithmeticD FINAL : public LTemplateInstruction<1, 2, 0> { |
+class LArithmeticD final : public LTemplateInstruction<1, 2, 0> { |
public: |
LArithmeticD(Token::Value op, |
LOperand* left, |
@@ -706,16 +706,16 @@ class LArithmeticD FINAL : public LTemplateInstruction<1, 2, 0> { |
LOperand* left() { return inputs_[0]; } |
LOperand* right() { return inputs_[1]; } |
- Opcode opcode() const OVERRIDE { return LInstruction::kArithmeticD; } |
- void CompileToNative(LCodeGen* generator) OVERRIDE; |
- const char* Mnemonic() const OVERRIDE; |
+ Opcode opcode() const override { return LInstruction::kArithmeticD; } |
+ void CompileToNative(LCodeGen* generator) override; |
+ const char* Mnemonic() const override; |
private: |
Token::Value op_; |
}; |
-class LArithmeticT FINAL : public LTemplateInstruction<1, 3, 0> { |
+class LArithmeticT final : public LTemplateInstruction<1, 3, 0> { |
public: |
LArithmeticT(Token::Value op, |
LOperand* context, |
@@ -732,16 +732,16 @@ class LArithmeticT FINAL : public LTemplateInstruction<1, 3, 0> { |
LOperand* right() { return inputs_[2]; } |
Token::Value op() const { return op_; } |
- Opcode opcode() const OVERRIDE { return LInstruction::kArithmeticT; } |
- void CompileToNative(LCodeGen* generator) OVERRIDE; |
- const char* Mnemonic() const OVERRIDE; |
+ Opcode opcode() const override { return LInstruction::kArithmeticT; } |
+ void CompileToNative(LCodeGen* generator) override; |
+ const char* Mnemonic() const override; |
private: |
Token::Value op_; |
}; |
-class LBoundsCheck FINAL : public LTemplateInstruction<0, 2, 0> { |
+class LBoundsCheck final : public LTemplateInstruction<0, 2, 0> { |
public: |
explicit LBoundsCheck(LOperand* index, LOperand* length) { |
inputs_[0] = index; |
@@ -756,7 +756,7 @@ class LBoundsCheck FINAL : public LTemplateInstruction<0, 2, 0> { |
}; |
-class LBitI FINAL : public LTemplateInstruction<1, 2, 0> { |
+class LBitI final : public LTemplateInstruction<1, 2, 0> { |
public: |
LBitI(LOperand* left, LOperand* right) |
: shift_(NO_SHIFT), shift_amount_(0) { |
@@ -787,7 +787,7 @@ class LBitI FINAL : public LTemplateInstruction<1, 2, 0> { |
}; |
-class LBitS FINAL : public LTemplateInstruction<1, 2, 0> { |
+class LBitS final : public LTemplateInstruction<1, 2, 0> { |
public: |
LBitS(LOperand* left, LOperand* right) { |
inputs_[0] = left; |
@@ -804,7 +804,7 @@ class LBitS FINAL : public LTemplateInstruction<1, 2, 0> { |
}; |
-class LBranch FINAL : public LControlInstruction<1, 2> { |
+class LBranch final : public LControlInstruction<1, 2> { |
public: |
explicit LBranch(LOperand* value, LOperand *temp1, LOperand *temp2) { |
inputs_[0] = value; |
@@ -819,11 +819,11 @@ class LBranch FINAL : public LControlInstruction<1, 2> { |
DECLARE_CONCRETE_INSTRUCTION(Branch, "branch") |
DECLARE_HYDROGEN_ACCESSOR(Branch) |
- void PrintDataTo(StringStream* stream) OVERRIDE; |
+ void PrintDataTo(StringStream* stream) override; |
}; |
-class LCallJSFunction FINAL : public LTemplateInstruction<1, 1, 0> { |
+class LCallJSFunction final : public LTemplateInstruction<1, 1, 0> { |
public: |
explicit LCallJSFunction(LOperand* function) { |
inputs_[0] = function; |
@@ -834,13 +834,13 @@ class LCallJSFunction FINAL : public LTemplateInstruction<1, 1, 0> { |
DECLARE_CONCRETE_INSTRUCTION(CallJSFunction, "call-js-function") |
DECLARE_HYDROGEN_ACCESSOR(CallJSFunction) |
- void PrintDataTo(StringStream* stream) OVERRIDE; |
+ void PrintDataTo(StringStream* stream) override; |
int arity() const { return hydrogen()->argument_count() - 1; } |
}; |
-class LCallFunction FINAL : public LTemplateInstruction<1, 2, 2> { |
+class LCallFunction final : public LTemplateInstruction<1, 2, 2> { |
public: |
LCallFunction(LOperand* context, LOperand* function, LOperand* slot, |
LOperand* vector) { |
@@ -859,11 +859,11 @@ class LCallFunction FINAL : public LTemplateInstruction<1, 2, 2> { |
DECLARE_HYDROGEN_ACCESSOR(CallFunction) |
int arity() const { return hydrogen()->argument_count() - 1; } |
- void PrintDataTo(StringStream* stream) OVERRIDE; |
+ void PrintDataTo(StringStream* stream) override; |
}; |
-class LCallNew FINAL : public LTemplateInstruction<1, 2, 0> { |
+class LCallNew final : public LTemplateInstruction<1, 2, 0> { |
public: |
LCallNew(LOperand* context, LOperand* constructor) { |
inputs_[0] = context; |
@@ -876,13 +876,13 @@ class LCallNew FINAL : public LTemplateInstruction<1, 2, 0> { |
DECLARE_CONCRETE_INSTRUCTION(CallNew, "call-new") |
DECLARE_HYDROGEN_ACCESSOR(CallNew) |
- void PrintDataTo(StringStream* stream) OVERRIDE; |
+ void PrintDataTo(StringStream* stream) override; |
int arity() const { return hydrogen()->argument_count() - 1; } |
}; |
-class LCallNewArray FINAL : public LTemplateInstruction<1, 2, 0> { |
+class LCallNewArray final : public LTemplateInstruction<1, 2, 0> { |
public: |
LCallNewArray(LOperand* context, LOperand* constructor) { |
inputs_[0] = context; |
@@ -895,13 +895,13 @@ class LCallNewArray FINAL : public LTemplateInstruction<1, 2, 0> { |
DECLARE_CONCRETE_INSTRUCTION(CallNewArray, "call-new-array") |
DECLARE_HYDROGEN_ACCESSOR(CallNewArray) |
- void PrintDataTo(StringStream* stream) OVERRIDE; |
+ void PrintDataTo(StringStream* stream) override; |
int arity() const { return hydrogen()->argument_count() - 1; } |
}; |
-class LCallRuntime FINAL : public LTemplateInstruction<1, 1, 0> { |
+class LCallRuntime final : public LTemplateInstruction<1, 1, 0> { |
public: |
explicit LCallRuntime(LOperand* context) { |
inputs_[0] = context; |
@@ -912,7 +912,7 @@ class LCallRuntime FINAL : public LTemplateInstruction<1, 1, 0> { |
DECLARE_CONCRETE_INSTRUCTION(CallRuntime, "call-runtime") |
DECLARE_HYDROGEN_ACCESSOR(CallRuntime) |
- bool ClobbersDoubleRegisters(Isolate* isolate) const OVERRIDE { |
+ bool ClobbersDoubleRegisters(Isolate* isolate) const override { |
return save_doubles() == kDontSaveFPRegs; |
} |
@@ -922,7 +922,7 @@ class LCallRuntime FINAL : public LTemplateInstruction<1, 1, 0> { |
}; |
-class LCallStub FINAL : public LTemplateInstruction<1, 1, 0> { |
+class LCallStub final : public LTemplateInstruction<1, 1, 0> { |
public: |
explicit LCallStub(LOperand* context) { |
inputs_[0] = context; |
@@ -935,7 +935,7 @@ class LCallStub FINAL : public LTemplateInstruction<1, 1, 0> { |
}; |
-class LCheckInstanceType FINAL : public LTemplateInstruction<0, 1, 1> { |
+class LCheckInstanceType final : public LTemplateInstruction<0, 1, 1> { |
public: |
explicit LCheckInstanceType(LOperand* value, LOperand* temp) { |
inputs_[0] = value; |
@@ -950,7 +950,7 @@ class LCheckInstanceType FINAL : public LTemplateInstruction<0, 1, 1> { |
}; |
-class LCheckMaps FINAL : public LTemplateInstruction<0, 1, 1> { |
+class LCheckMaps final : public LTemplateInstruction<0, 1, 1> { |
public: |
explicit LCheckMaps(LOperand* value = NULL, LOperand* temp = NULL) { |
inputs_[0] = value; |
@@ -965,7 +965,7 @@ class LCheckMaps FINAL : public LTemplateInstruction<0, 1, 1> { |
}; |
-class LCheckNonSmi FINAL : public LTemplateInstruction<0, 1, 0> { |
+class LCheckNonSmi final : public LTemplateInstruction<0, 1, 0> { |
public: |
explicit LCheckNonSmi(LOperand* value) { |
inputs_[0] = value; |
@@ -978,7 +978,7 @@ class LCheckNonSmi FINAL : public LTemplateInstruction<0, 1, 0> { |
}; |
-class LCheckSmi FINAL : public LTemplateInstruction<1, 1, 0> { |
+class LCheckSmi final : public LTemplateInstruction<1, 1, 0> { |
public: |
explicit LCheckSmi(LOperand* value) { |
inputs_[0] = value; |
@@ -990,7 +990,7 @@ class LCheckSmi FINAL : public LTemplateInstruction<1, 1, 0> { |
}; |
-class LCheckValue FINAL : public LTemplateInstruction<0, 1, 0> { |
+class LCheckValue final : public LTemplateInstruction<0, 1, 0> { |
public: |
explicit LCheckValue(LOperand* value) { |
inputs_[0] = value; |
@@ -1003,7 +1003,7 @@ class LCheckValue FINAL : public LTemplateInstruction<0, 1, 0> { |
}; |
-class LClampDToUint8 FINAL : public LTemplateInstruction<1, 1, 0> { |
+class LClampDToUint8 final : public LTemplateInstruction<1, 1, 0> { |
public: |
explicit LClampDToUint8(LOperand* unclamped) { |
inputs_[0] = unclamped; |
@@ -1015,7 +1015,7 @@ class LClampDToUint8 FINAL : public LTemplateInstruction<1, 1, 0> { |
}; |
-class LClampIToUint8 FINAL : public LTemplateInstruction<1, 1, 0> { |
+class LClampIToUint8 final : public LTemplateInstruction<1, 1, 0> { |
public: |
explicit LClampIToUint8(LOperand* unclamped) { |
inputs_[0] = unclamped; |
@@ -1027,7 +1027,7 @@ class LClampIToUint8 FINAL : public LTemplateInstruction<1, 1, 0> { |
}; |
-class LClampTToUint8 FINAL : public LTemplateInstruction<1, 1, 1> { |
+class LClampTToUint8 final : public LTemplateInstruction<1, 1, 1> { |
public: |
LClampTToUint8(LOperand* unclamped, LOperand* temp1) { |
inputs_[0] = unclamped; |
@@ -1041,7 +1041,7 @@ class LClampTToUint8 FINAL : public LTemplateInstruction<1, 1, 1> { |
}; |
-class LDoubleBits FINAL : public LTemplateInstruction<1, 1, 0> { |
+class LDoubleBits final : public LTemplateInstruction<1, 1, 0> { |
public: |
explicit LDoubleBits(LOperand* value) { |
inputs_[0] = value; |
@@ -1054,7 +1054,7 @@ class LDoubleBits FINAL : public LTemplateInstruction<1, 1, 0> { |
}; |
-class LConstructDouble FINAL : public LTemplateInstruction<1, 2, 0> { |
+class LConstructDouble final : public LTemplateInstruction<1, 2, 0> { |
public: |
LConstructDouble(LOperand* hi, LOperand* lo) { |
inputs_[0] = hi; |
@@ -1068,7 +1068,7 @@ class LConstructDouble FINAL : public LTemplateInstruction<1, 2, 0> { |
}; |
-class LClassOfTestAndBranch FINAL : public LControlInstruction<1, 2> { |
+class LClassOfTestAndBranch final : public LControlInstruction<1, 2> { |
public: |
LClassOfTestAndBranch(LOperand* value, LOperand* temp1, LOperand* temp2) { |
inputs_[0] = value; |
@@ -1084,11 +1084,11 @@ class LClassOfTestAndBranch FINAL : public LControlInstruction<1, 2> { |
"class-of-test-and-branch") |
DECLARE_HYDROGEN_ACCESSOR(ClassOfTestAndBranch) |
- void PrintDataTo(StringStream* stream) OVERRIDE; |
+ void PrintDataTo(StringStream* stream) override; |
}; |
-class LCmpHoleAndBranchD FINAL : public LControlInstruction<1, 1> { |
+class LCmpHoleAndBranchD final : public LControlInstruction<1, 1> { |
public: |
explicit LCmpHoleAndBranchD(LOperand* object, LOperand* temp) { |
inputs_[0] = object; |
@@ -1103,7 +1103,7 @@ class LCmpHoleAndBranchD FINAL : public LControlInstruction<1, 1> { |
}; |
-class LCmpHoleAndBranchT FINAL : public LControlInstruction<1, 0> { |
+class LCmpHoleAndBranchT final : public LControlInstruction<1, 0> { |
public: |
explicit LCmpHoleAndBranchT(LOperand* object) { |
inputs_[0] = object; |
@@ -1116,7 +1116,7 @@ class LCmpHoleAndBranchT FINAL : public LControlInstruction<1, 0> { |
}; |
-class LCmpMapAndBranch FINAL : public LControlInstruction<1, 1> { |
+class LCmpMapAndBranch final : public LControlInstruction<1, 1> { |
public: |
LCmpMapAndBranch(LOperand* value, LOperand* temp) { |
inputs_[0] = value; |
@@ -1133,7 +1133,7 @@ class LCmpMapAndBranch FINAL : public LControlInstruction<1, 1> { |
}; |
-class LCmpObjectEqAndBranch FINAL : public LControlInstruction<2, 0> { |
+class LCmpObjectEqAndBranch final : public LControlInstruction<2, 0> { |
public: |
LCmpObjectEqAndBranch(LOperand* left, LOperand* right) { |
inputs_[0] = left; |
@@ -1148,7 +1148,7 @@ class LCmpObjectEqAndBranch FINAL : public LControlInstruction<2, 0> { |
}; |
-class LCmpT FINAL : public LTemplateInstruction<1, 3, 0> { |
+class LCmpT final : public LTemplateInstruction<1, 3, 0> { |
public: |
LCmpT(LOperand* context, LOperand* left, LOperand* right) { |
inputs_[0] = context; |
@@ -1167,7 +1167,7 @@ class LCmpT FINAL : public LTemplateInstruction<1, 3, 0> { |
}; |
-class LCompareMinusZeroAndBranch FINAL : public LControlInstruction<1, 1> { |
+class LCompareMinusZeroAndBranch final : public LControlInstruction<1, 1> { |
public: |
LCompareMinusZeroAndBranch(LOperand* value, LOperand* temp) { |
inputs_[0] = value; |
@@ -1183,7 +1183,7 @@ class LCompareMinusZeroAndBranch FINAL : public LControlInstruction<1, 1> { |
}; |
-class LCompareNumericAndBranch FINAL : public LControlInstruction<2, 0> { |
+class LCompareNumericAndBranch final : public LControlInstruction<2, 0> { |
public: |
LCompareNumericAndBranch(LOperand* left, LOperand* right) { |
inputs_[0] = left; |
@@ -1202,11 +1202,11 @@ class LCompareNumericAndBranch FINAL : public LControlInstruction<2, 0> { |
return hydrogen()->representation().IsDouble(); |
} |
- void PrintDataTo(StringStream* stream) OVERRIDE; |
+ void PrintDataTo(StringStream* stream) override; |
}; |
-class LConstantD FINAL : public LTemplateInstruction<1, 0, 0> { |
+class LConstantD final : public LTemplateInstruction<1, 0, 0> { |
public: |
DECLARE_CONCRETE_INSTRUCTION(ConstantD, "constant-d") |
DECLARE_HYDROGEN_ACCESSOR(Constant) |
@@ -1215,7 +1215,7 @@ class LConstantD FINAL : public LTemplateInstruction<1, 0, 0> { |
}; |
-class LConstantE FINAL : public LTemplateInstruction<1, 0, 0> { |
+class LConstantE final : public LTemplateInstruction<1, 0, 0> { |
public: |
DECLARE_CONCRETE_INSTRUCTION(ConstantE, "constant-e") |
DECLARE_HYDROGEN_ACCESSOR(Constant) |
@@ -1226,7 +1226,7 @@ class LConstantE FINAL : public LTemplateInstruction<1, 0, 0> { |
}; |
-class LConstantI FINAL : public LTemplateInstruction<1, 0, 0> { |
+class LConstantI final : public LTemplateInstruction<1, 0, 0> { |
public: |
DECLARE_CONCRETE_INSTRUCTION(ConstantI, "constant-i") |
DECLARE_HYDROGEN_ACCESSOR(Constant) |
@@ -1235,7 +1235,7 @@ class LConstantI FINAL : public LTemplateInstruction<1, 0, 0> { |
}; |
-class LConstantS FINAL : public LTemplateInstruction<1, 0, 0> { |
+class LConstantS final : public LTemplateInstruction<1, 0, 0> { |
public: |
DECLARE_CONCRETE_INSTRUCTION(ConstantS, "constant-s") |
DECLARE_HYDROGEN_ACCESSOR(Constant) |
@@ -1244,7 +1244,7 @@ class LConstantS FINAL : public LTemplateInstruction<1, 0, 0> { |
}; |
-class LConstantT FINAL : public LTemplateInstruction<1, 0, 0> { |
+class LConstantT final : public LTemplateInstruction<1, 0, 0> { |
public: |
DECLARE_CONCRETE_INSTRUCTION(ConstantT, "constant-t") |
DECLARE_HYDROGEN_ACCESSOR(Constant) |
@@ -1255,14 +1255,14 @@ class LConstantT FINAL : public LTemplateInstruction<1, 0, 0> { |
}; |
-class LContext FINAL : public LTemplateInstruction<1, 0, 0> { |
+class LContext final : public LTemplateInstruction<1, 0, 0> { |
public: |
DECLARE_CONCRETE_INSTRUCTION(Context, "context") |
DECLARE_HYDROGEN_ACCESSOR(Context) |
}; |
-class LDateField FINAL : public LTemplateInstruction<1, 1, 0> { |
+class LDateField final : public LTemplateInstruction<1, 1, 0> { |
public: |
LDateField(LOperand* date, Smi* index) : index_(index) { |
inputs_[0] = date; |
@@ -1279,13 +1279,13 @@ class LDateField FINAL : public LTemplateInstruction<1, 1, 0> { |
}; |
-class LDebugBreak FINAL : public LTemplateInstruction<0, 0, 0> { |
+class LDebugBreak final : public LTemplateInstruction<0, 0, 0> { |
public: |
DECLARE_CONCRETE_INSTRUCTION(DebugBreak, "break") |
}; |
-class LDeclareGlobals FINAL : public LTemplateInstruction<0, 1, 0> { |
+class LDeclareGlobals final : public LTemplateInstruction<0, 1, 0> { |
public: |
explicit LDeclareGlobals(LOperand* context) { |
inputs_[0] = context; |
@@ -1298,15 +1298,15 @@ class LDeclareGlobals FINAL : public LTemplateInstruction<0, 1, 0> { |
}; |
-class LDeoptimize FINAL : public LTemplateInstruction<0, 0, 0> { |
+class LDeoptimize final : public LTemplateInstruction<0, 0, 0> { |
public: |
- bool IsControl() const OVERRIDE { return true; } |
+ bool IsControl() const override { return true; } |
DECLARE_CONCRETE_INSTRUCTION(Deoptimize, "deoptimize") |
DECLARE_HYDROGEN_ACCESSOR(Deoptimize) |
}; |
-class LDivByPowerOf2I FINAL : public LTemplateInstruction<1, 1, 0> { |
+class LDivByPowerOf2I final : public LTemplateInstruction<1, 1, 0> { |
public: |
LDivByPowerOf2I(LOperand* dividend, int32_t divisor) { |
inputs_[0] = dividend; |
@@ -1324,7 +1324,7 @@ class LDivByPowerOf2I FINAL : public LTemplateInstruction<1, 1, 0> { |
}; |
-class LDivByConstI FINAL : public LTemplateInstruction<1, 1, 1> { |
+class LDivByConstI final : public LTemplateInstruction<1, 1, 1> { |
public: |
LDivByConstI(LOperand* dividend, int32_t divisor, LOperand* temp) { |
inputs_[0] = dividend; |
@@ -1344,7 +1344,7 @@ class LDivByConstI FINAL : public LTemplateInstruction<1, 1, 1> { |
}; |
-class LDivI FINAL : public LTemplateInstruction<1, 2, 1> { |
+class LDivI final : public LTemplateInstruction<1, 2, 1> { |
public: |
LDivI(LOperand* dividend, LOperand* divisor, LOperand* temp) { |
inputs_[0] = dividend; |
@@ -1361,7 +1361,7 @@ class LDivI FINAL : public LTemplateInstruction<1, 2, 1> { |
}; |
-class LDoubleToIntOrSmi FINAL : public LTemplateInstruction<1, 1, 0> { |
+class LDoubleToIntOrSmi final : public LTemplateInstruction<1, 1, 0> { |
public: |
explicit LDoubleToIntOrSmi(LOperand* value) { |
inputs_[0] = value; |
@@ -1376,7 +1376,7 @@ class LDoubleToIntOrSmi FINAL : public LTemplateInstruction<1, 1, 0> { |
}; |
-class LForInCacheArray FINAL : public LTemplateInstruction<1, 1, 0> { |
+class LForInCacheArray final : public LTemplateInstruction<1, 1, 0> { |
public: |
explicit LForInCacheArray(LOperand* map) { |
inputs_[0] = map; |
@@ -1392,7 +1392,7 @@ class LForInCacheArray FINAL : public LTemplateInstruction<1, 1, 0> { |
}; |
-class LForInPrepareMap FINAL : public LTemplateInstruction<1, 2, 0> { |
+class LForInPrepareMap final : public LTemplateInstruction<1, 2, 0> { |
public: |
LForInPrepareMap(LOperand* context, LOperand* object) { |
inputs_[0] = context; |
@@ -1406,7 +1406,7 @@ class LForInPrepareMap FINAL : public LTemplateInstruction<1, 2, 0> { |
}; |
-class LGetCachedArrayIndex FINAL : public LTemplateInstruction<1, 1, 0> { |
+class LGetCachedArrayIndex final : public LTemplateInstruction<1, 1, 0> { |
public: |
explicit LGetCachedArrayIndex(LOperand* value) { |
inputs_[0] = value; |
@@ -1419,8 +1419,7 @@ class LGetCachedArrayIndex FINAL : public LTemplateInstruction<1, 1, 0> { |
}; |
-class LHasCachedArrayIndexAndBranch FINAL |
- : public LControlInstruction<1, 1> { |
+class LHasCachedArrayIndexAndBranch final : public LControlInstruction<1, 1> { |
public: |
LHasCachedArrayIndexAndBranch(LOperand* value, LOperand* temp) { |
inputs_[0] = value; |
@@ -1434,11 +1433,11 @@ class LHasCachedArrayIndexAndBranch FINAL |
"has-cached-array-index-and-branch") |
DECLARE_HYDROGEN_ACCESSOR(HasCachedArrayIndexAndBranch) |
- void PrintDataTo(StringStream* stream) OVERRIDE; |
+ void PrintDataTo(StringStream* stream) override; |
}; |
-class LHasInstanceTypeAndBranch FINAL : public LControlInstruction<1, 1> { |
+class LHasInstanceTypeAndBranch final : public LControlInstruction<1, 1> { |
public: |
LHasInstanceTypeAndBranch(LOperand* value, LOperand* temp) { |
inputs_[0] = value; |
@@ -1452,11 +1451,11 @@ class LHasInstanceTypeAndBranch FINAL : public LControlInstruction<1, 1> { |
"has-instance-type-and-branch") |
DECLARE_HYDROGEN_ACCESSOR(HasInstanceTypeAndBranch) |
- void PrintDataTo(StringStream* stream) OVERRIDE; |
+ void PrintDataTo(StringStream* stream) override; |
}; |
-class LInnerAllocatedObject FINAL : public LTemplateInstruction<1, 2, 0> { |
+class LInnerAllocatedObject final : public LTemplateInstruction<1, 2, 0> { |
public: |
LInnerAllocatedObject(LOperand* base_object, LOperand* offset) { |
inputs_[0] = base_object; |
@@ -1466,13 +1465,13 @@ class LInnerAllocatedObject FINAL : public LTemplateInstruction<1, 2, 0> { |
LOperand* base_object() const { return inputs_[0]; } |
LOperand* offset() const { return inputs_[1]; } |
- void PrintDataTo(StringStream* stream) OVERRIDE; |
+ void PrintDataTo(StringStream* stream) override; |
DECLARE_CONCRETE_INSTRUCTION(InnerAllocatedObject, "inner-allocated-object") |
}; |
-class LInstanceOf FINAL : public LTemplateInstruction<1, 3, 0> { |
+class LInstanceOf final : public LTemplateInstruction<1, 3, 0> { |
public: |
LInstanceOf(LOperand* context, LOperand* left, LOperand* right) { |
inputs_[0] = context; |
@@ -1488,7 +1487,7 @@ class LInstanceOf FINAL : public LTemplateInstruction<1, 3, 0> { |
}; |
-class LInstanceOfKnownGlobal FINAL : public LTemplateInstruction<1, 2, 0> { |
+class LInstanceOfKnownGlobal final : public LTemplateInstruction<1, 2, 0> { |
public: |
LInstanceOfKnownGlobal(LOperand* context, LOperand* value) { |
inputs_[0] = context; |
@@ -1507,7 +1506,7 @@ class LInstanceOfKnownGlobal FINAL : public LTemplateInstruction<1, 2, 0> { |
return lazy_deopt_env_; |
} |
virtual void SetDeferredLazyDeoptimizationEnvironment( |
- LEnvironment* env) OVERRIDE { |
+ LEnvironment* env) override { |
lazy_deopt_env_ = env; |
} |
@@ -1516,7 +1515,7 @@ class LInstanceOfKnownGlobal FINAL : public LTemplateInstruction<1, 2, 0> { |
}; |
-class LInteger32ToDouble FINAL : public LTemplateInstruction<1, 1, 0> { |
+class LInteger32ToDouble final : public LTemplateInstruction<1, 1, 0> { |
public: |
explicit LInteger32ToDouble(LOperand* value) { |
inputs_[0] = value; |
@@ -1528,7 +1527,7 @@ class LInteger32ToDouble FINAL : public LTemplateInstruction<1, 1, 0> { |
}; |
-class LCallWithDescriptor FINAL : public LTemplateResultInstruction<1> { |
+class LCallWithDescriptor final : public LTemplateResultInstruction<1> { |
public: |
LCallWithDescriptor(CallInterfaceDescriptor descriptor, |
const ZoneList<LOperand*>& operands, Zone* zone) |
@@ -1547,7 +1546,7 @@ class LCallWithDescriptor FINAL : public LTemplateResultInstruction<1> { |
private: |
DECLARE_CONCRETE_INSTRUCTION(CallWithDescriptor, "call-with-descriptor") |
- void PrintDataTo(StringStream* stream) OVERRIDE; |
+ void PrintDataTo(StringStream* stream) override; |
int arity() const { return hydrogen()->argument_count() - 1; } |
@@ -1555,15 +1554,15 @@ class LCallWithDescriptor FINAL : public LTemplateResultInstruction<1> { |
ZoneList<LOperand*> inputs_; |
// Iterator support. |
- int InputCount() FINAL { return inputs_.length(); } |
- LOperand* InputAt(int i) FINAL { return inputs_[i]; } |
+ int InputCount() final { return inputs_.length(); } |
+ LOperand* InputAt(int i) final { return inputs_[i]; } |
- int TempCount() FINAL { return 0; } |
- LOperand* TempAt(int i) FINAL { return NULL; } |
+ int TempCount() final { return 0; } |
+ LOperand* TempAt(int i) final { return NULL; } |
}; |
-class LInvokeFunction FINAL : public LTemplateInstruction<1, 2, 0> { |
+class LInvokeFunction final : public LTemplateInstruction<1, 2, 0> { |
public: |
LInvokeFunction(LOperand* context, LOperand* function) { |
inputs_[0] = context; |
@@ -1576,13 +1575,13 @@ class LInvokeFunction FINAL : public LTemplateInstruction<1, 2, 0> { |
DECLARE_CONCRETE_INSTRUCTION(InvokeFunction, "invoke-function") |
DECLARE_HYDROGEN_ACCESSOR(InvokeFunction) |
- void PrintDataTo(StringStream* stream) OVERRIDE; |
+ void PrintDataTo(StringStream* stream) override; |
int arity() const { return hydrogen()->argument_count() - 1; } |
}; |
-class LIsConstructCallAndBranch FINAL : public LControlInstruction<0, 2> { |
+class LIsConstructCallAndBranch final : public LControlInstruction<0, 2> { |
public: |
LIsConstructCallAndBranch(LOperand* temp1, LOperand* temp2) { |
temps_[0] = temp1; |
@@ -1597,7 +1596,7 @@ class LIsConstructCallAndBranch FINAL : public LControlInstruction<0, 2> { |
}; |
-class LIsObjectAndBranch FINAL : public LControlInstruction<1, 2> { |
+class LIsObjectAndBranch final : public LControlInstruction<1, 2> { |
public: |
LIsObjectAndBranch(LOperand* value, LOperand* temp1, LOperand* temp2) { |
inputs_[0] = value; |
@@ -1612,11 +1611,11 @@ class LIsObjectAndBranch FINAL : public LControlInstruction<1, 2> { |
DECLARE_CONCRETE_INSTRUCTION(IsObjectAndBranch, "is-object-and-branch") |
DECLARE_HYDROGEN_ACCESSOR(IsObjectAndBranch) |
- void PrintDataTo(StringStream* stream) OVERRIDE; |
+ void PrintDataTo(StringStream* stream) override; |
}; |
-class LIsStringAndBranch FINAL : public LControlInstruction<1, 1> { |
+class LIsStringAndBranch final : public LControlInstruction<1, 1> { |
public: |
LIsStringAndBranch(LOperand* value, LOperand* temp) { |
inputs_[0] = value; |
@@ -1629,11 +1628,11 @@ class LIsStringAndBranch FINAL : public LControlInstruction<1, 1> { |
DECLARE_CONCRETE_INSTRUCTION(IsStringAndBranch, "is-string-and-branch") |
DECLARE_HYDROGEN_ACCESSOR(IsStringAndBranch) |
- void PrintDataTo(StringStream* stream) OVERRIDE; |
+ void PrintDataTo(StringStream* stream) override; |
}; |
-class LIsSmiAndBranch FINAL : public LControlInstruction<1, 0> { |
+class LIsSmiAndBranch final : public LControlInstruction<1, 0> { |
public: |
explicit LIsSmiAndBranch(LOperand* value) { |
inputs_[0] = value; |
@@ -1644,11 +1643,11 @@ class LIsSmiAndBranch FINAL : public LControlInstruction<1, 0> { |
DECLARE_CONCRETE_INSTRUCTION(IsSmiAndBranch, "is-smi-and-branch") |
DECLARE_HYDROGEN_ACCESSOR(IsSmiAndBranch) |
- void PrintDataTo(StringStream* stream) OVERRIDE; |
+ void PrintDataTo(StringStream* stream) override; |
}; |
-class LIsUndetectableAndBranch FINAL : public LControlInstruction<1, 1> { |
+class LIsUndetectableAndBranch final : public LControlInstruction<1, 1> { |
public: |
explicit LIsUndetectableAndBranch(LOperand* value, LOperand* temp) { |
inputs_[0] = value; |
@@ -1662,11 +1661,11 @@ class LIsUndetectableAndBranch FINAL : public LControlInstruction<1, 1> { |
"is-undetectable-and-branch") |
DECLARE_HYDROGEN_ACCESSOR(IsUndetectableAndBranch) |
- void PrintDataTo(StringStream* stream) OVERRIDE; |
+ void PrintDataTo(StringStream* stream) override; |
}; |
-class LLoadContextSlot FINAL : public LTemplateInstruction<1, 1, 0> { |
+class LLoadContextSlot final : public LTemplateInstruction<1, 1, 0> { |
public: |
explicit LLoadContextSlot(LOperand* context) { |
inputs_[0] = context; |
@@ -1679,11 +1678,11 @@ class LLoadContextSlot FINAL : public LTemplateInstruction<1, 1, 0> { |
int slot_index() const { return hydrogen()->slot_index(); } |
- void PrintDataTo(StringStream* stream) OVERRIDE; |
+ void PrintDataTo(StringStream* stream) override; |
}; |
-class LLoadNamedField FINAL : public LTemplateInstruction<1, 1, 0> { |
+class LLoadNamedField final : public LTemplateInstruction<1, 1, 0> { |
public: |
explicit LLoadNamedField(LOperand* object) { |
inputs_[0] = object; |
@@ -1696,7 +1695,7 @@ class LLoadNamedField FINAL : public LTemplateInstruction<1, 1, 0> { |
}; |
-class LFunctionLiteral FINAL : public LTemplateInstruction<1, 1, 0> { |
+class LFunctionLiteral final : public LTemplateInstruction<1, 1, 0> { |
public: |
explicit LFunctionLiteral(LOperand* context) { |
inputs_[0] = context; |
@@ -1709,7 +1708,7 @@ class LFunctionLiteral FINAL : public LTemplateInstruction<1, 1, 0> { |
}; |
-class LLoadFunctionPrototype FINAL : public LTemplateInstruction<1, 1, 1> { |
+class LLoadFunctionPrototype final : public LTemplateInstruction<1, 1, 1> { |
public: |
LLoadFunctionPrototype(LOperand* function, LOperand* temp) { |
inputs_[0] = function; |
@@ -1724,7 +1723,7 @@ class LLoadFunctionPrototype FINAL : public LTemplateInstruction<1, 1, 1> { |
}; |
-class LLoadGlobalGeneric FINAL : public LTemplateInstruction<1, 2, 1> { |
+class LLoadGlobalGeneric final : public LTemplateInstruction<1, 2, 1> { |
public: |
LLoadGlobalGeneric(LOperand* context, LOperand* global_object, |
LOperand* vector) { |
@@ -1770,7 +1769,7 @@ class LLoadKeyed : public LTemplateInstruction<1, 2, T> { |
uint32_t base_offset() const { |
return this->hydrogen()->base_offset(); |
} |
- void PrintDataTo(StringStream* stream) OVERRIDE { |
+ void PrintDataTo(StringStream* stream) override { |
this->elements()->PrintTo(stream); |
stream->Add("["); |
this->key()->PrintTo(stream); |
@@ -1824,7 +1823,7 @@ class LLoadKeyedFixedDouble: public LLoadKeyed<1> { |
}; |
-class LLoadKeyedGeneric FINAL : public LTemplateInstruction<1, 3, 1> { |
+class LLoadKeyedGeneric final : public LTemplateInstruction<1, 3, 1> { |
public: |
LLoadKeyedGeneric(LOperand* context, LOperand* object, LOperand* key, |
LOperand* vector) { |
@@ -1844,7 +1843,7 @@ class LLoadKeyedGeneric FINAL : public LTemplateInstruction<1, 3, 1> { |
}; |
-class LLoadNamedGeneric FINAL : public LTemplateInstruction<1, 2, 1> { |
+class LLoadNamedGeneric final : public LTemplateInstruction<1, 2, 1> { |
public: |
LLoadNamedGeneric(LOperand* context, LOperand* object, LOperand* vector) { |
inputs_[0] = context; |
@@ -1863,7 +1862,7 @@ class LLoadNamedGeneric FINAL : public LTemplateInstruction<1, 2, 1> { |
}; |
-class LLoadRoot FINAL : public LTemplateInstruction<1, 0, 0> { |
+class LLoadRoot final : public LTemplateInstruction<1, 0, 0> { |
public: |
DECLARE_CONCRETE_INSTRUCTION(LoadRoot, "load-root") |
DECLARE_HYDROGEN_ACCESSOR(LoadRoot) |
@@ -1872,7 +1871,7 @@ class LLoadRoot FINAL : public LTemplateInstruction<1, 0, 0> { |
}; |
-class LMapEnumLength FINAL : public LTemplateInstruction<1, 1, 0> { |
+class LMapEnumLength final : public LTemplateInstruction<1, 1, 0> { |
public: |
explicit LMapEnumLength(LOperand* value) { |
inputs_[0] = value; |
@@ -1894,13 +1893,13 @@ class LUnaryMathOperation : public LTemplateInstruction<1, 1, T> { |
LOperand* value() { return this->inputs_[0]; } |
BuiltinFunctionId op() const { return this->hydrogen()->op(); } |
- void PrintDataTo(StringStream* stream) OVERRIDE; |
+ void PrintDataTo(StringStream* stream) override; |
DECLARE_HYDROGEN_ACCESSOR(UnaryMathOperation) |
}; |
-class LMathAbs FINAL : public LUnaryMathOperation<0> { |
+class LMathAbs final : public LUnaryMathOperation<0> { |
public: |
explicit LMathAbs(LOperand* value) : LUnaryMathOperation<0>(value) {} |
@@ -1930,7 +1929,7 @@ class LMathAbsTagged: public LTemplateInstruction<1, 2, 3> { |
}; |
-class LMathExp FINAL : public LUnaryMathOperation<4> { |
+class LMathExp final : public LUnaryMathOperation<4> { |
public: |
LMathExp(LOperand* value, |
LOperand* double_temp1, |
@@ -1955,7 +1954,7 @@ class LMathExp FINAL : public LUnaryMathOperation<4> { |
// Math.floor with a double result. |
-class LMathFloorD FINAL : public LUnaryMathOperation<0> { |
+class LMathFloorD final : public LUnaryMathOperation<0> { |
public: |
explicit LMathFloorD(LOperand* value) : LUnaryMathOperation<0>(value) { } |
DECLARE_CONCRETE_INSTRUCTION(MathFloorD, "math-floor-d") |
@@ -1963,14 +1962,14 @@ class LMathFloorD FINAL : public LUnaryMathOperation<0> { |
// Math.floor with an integer result. |
-class LMathFloorI FINAL : public LUnaryMathOperation<0> { |
+class LMathFloorI final : public LUnaryMathOperation<0> { |
public: |
explicit LMathFloorI(LOperand* value) : LUnaryMathOperation<0>(value) { } |
DECLARE_CONCRETE_INSTRUCTION(MathFloorI, "math-floor-i") |
}; |
-class LFlooringDivByPowerOf2I FINAL : public LTemplateInstruction<1, 1, 0> { |
+class LFlooringDivByPowerOf2I final : public LTemplateInstruction<1, 1, 0> { |
public: |
LFlooringDivByPowerOf2I(LOperand* dividend, int32_t divisor) { |
inputs_[0] = dividend; |
@@ -1989,7 +1988,7 @@ class LFlooringDivByPowerOf2I FINAL : public LTemplateInstruction<1, 1, 0> { |
}; |
-class LFlooringDivByConstI FINAL : public LTemplateInstruction<1, 1, 2> { |
+class LFlooringDivByConstI final : public LTemplateInstruction<1, 1, 2> { |
public: |
LFlooringDivByConstI(LOperand* dividend, int32_t divisor, LOperand* temp) { |
inputs_[0] = dividend; |
@@ -2009,7 +2008,7 @@ class LFlooringDivByConstI FINAL : public LTemplateInstruction<1, 1, 2> { |
}; |
-class LFlooringDivI FINAL : public LTemplateInstruction<1, 2, 1> { |
+class LFlooringDivI final : public LTemplateInstruction<1, 2, 1> { |
public: |
LFlooringDivI(LOperand* dividend, LOperand* divisor, LOperand* temp) { |
inputs_[0] = dividend; |
@@ -2026,21 +2025,21 @@ class LFlooringDivI FINAL : public LTemplateInstruction<1, 2, 1> { |
}; |
-class LMathLog FINAL : public LUnaryMathOperation<0> { |
+class LMathLog final : public LUnaryMathOperation<0> { |
public: |
explicit LMathLog(LOperand* value) : LUnaryMathOperation<0>(value) { } |
DECLARE_CONCRETE_INSTRUCTION(MathLog, "math-log") |
}; |
-class LMathClz32 FINAL : public LUnaryMathOperation<0> { |
+class LMathClz32 final : public LUnaryMathOperation<0> { |
public: |
explicit LMathClz32(LOperand* value) : LUnaryMathOperation<0>(value) { } |
DECLARE_CONCRETE_INSTRUCTION(MathClz32, "math-clz32") |
}; |
-class LMathMinMax FINAL : public LTemplateInstruction<1, 2, 0> { |
+class LMathMinMax final : public LTemplateInstruction<1, 2, 0> { |
public: |
LMathMinMax(LOperand* left, LOperand* right) { |
inputs_[0] = left; |
@@ -2055,7 +2054,7 @@ class LMathMinMax FINAL : public LTemplateInstruction<1, 2, 0> { |
}; |
-class LMathPowHalf FINAL : public LUnaryMathOperation<0> { |
+class LMathPowHalf final : public LUnaryMathOperation<0> { |
public: |
explicit LMathPowHalf(LOperand* value) : LUnaryMathOperation<0>(value) { } |
DECLARE_CONCRETE_INSTRUCTION(MathPowHalf, "math-pow-half") |
@@ -2063,7 +2062,7 @@ class LMathPowHalf FINAL : public LUnaryMathOperation<0> { |
// Math.round with an integer result. |
-class LMathRoundD FINAL : public LUnaryMathOperation<0> { |
+class LMathRoundD final : public LUnaryMathOperation<0> { |
public: |
explicit LMathRoundD(LOperand* value) |
: LUnaryMathOperation<0>(value) { |
@@ -2074,7 +2073,7 @@ class LMathRoundD FINAL : public LUnaryMathOperation<0> { |
// Math.round with an integer result. |
-class LMathRoundI FINAL : public LUnaryMathOperation<1> { |
+class LMathRoundI final : public LUnaryMathOperation<1> { |
public: |
LMathRoundI(LOperand* value, LOperand* temp1) |
: LUnaryMathOperation<1>(value) { |
@@ -2087,7 +2086,7 @@ class LMathRoundI FINAL : public LUnaryMathOperation<1> { |
}; |
-class LMathFround FINAL : public LUnaryMathOperation<0> { |
+class LMathFround final : public LUnaryMathOperation<0> { |
public: |
explicit LMathFround(LOperand* value) : LUnaryMathOperation<0>(value) {} |
@@ -2095,14 +2094,14 @@ class LMathFround FINAL : public LUnaryMathOperation<0> { |
}; |
-class LMathSqrt FINAL : public LUnaryMathOperation<0> { |
+class LMathSqrt final : public LUnaryMathOperation<0> { |
public: |
explicit LMathSqrt(LOperand* value) : LUnaryMathOperation<0>(value) { } |
DECLARE_CONCRETE_INSTRUCTION(MathSqrt, "math-sqrt") |
}; |
-class LModByPowerOf2I FINAL : public LTemplateInstruction<1, 1, 0> { |
+class LModByPowerOf2I final : public LTemplateInstruction<1, 1, 0> { |
public: |
LModByPowerOf2I(LOperand* dividend, int32_t divisor) { |
inputs_[0] = dividend; |
@@ -2120,7 +2119,7 @@ class LModByPowerOf2I FINAL : public LTemplateInstruction<1, 1, 0> { |
}; |
-class LModByConstI FINAL : public LTemplateInstruction<1, 1, 1> { |
+class LModByConstI final : public LTemplateInstruction<1, 1, 1> { |
public: |
LModByConstI(LOperand* dividend, int32_t divisor, LOperand* temp) { |
inputs_[0] = dividend; |
@@ -2140,7 +2139,7 @@ class LModByConstI FINAL : public LTemplateInstruction<1, 1, 1> { |
}; |
-class LModI FINAL : public LTemplateInstruction<1, 2, 0> { |
+class LModI final : public LTemplateInstruction<1, 2, 0> { |
public: |
LModI(LOperand* left, LOperand* right) { |
inputs_[0] = left; |
@@ -2155,7 +2154,7 @@ class LModI FINAL : public LTemplateInstruction<1, 2, 0> { |
}; |
-class LMulConstIS FINAL : public LTemplateInstruction<1, 2, 0> { |
+class LMulConstIS final : public LTemplateInstruction<1, 2, 0> { |
public: |
LMulConstIS(LOperand* left, LConstantOperand* right) { |
inputs_[0] = left; |
@@ -2170,7 +2169,7 @@ class LMulConstIS FINAL : public LTemplateInstruction<1, 2, 0> { |
}; |
-class LMulI FINAL : public LTemplateInstruction<1, 2, 0> { |
+class LMulI final : public LTemplateInstruction<1, 2, 0> { |
public: |
LMulI(LOperand* left, LOperand* right) { |
inputs_[0] = left; |
@@ -2185,7 +2184,7 @@ class LMulI FINAL : public LTemplateInstruction<1, 2, 0> { |
}; |
-class LMulS FINAL : public LTemplateInstruction<1, 2, 0> { |
+class LMulS final : public LTemplateInstruction<1, 2, 0> { |
public: |
LMulS(LOperand* left, LOperand* right) { |
inputs_[0] = left; |
@@ -2200,7 +2199,7 @@ class LMulS FINAL : public LTemplateInstruction<1, 2, 0> { |
}; |
-class LNumberTagD FINAL : public LTemplateInstruction<1, 1, 2> { |
+class LNumberTagD final : public LTemplateInstruction<1, 1, 2> { |
public: |
LNumberTagD(LOperand* value, LOperand* temp1, LOperand* temp2) { |
inputs_[0] = value; |
@@ -2217,7 +2216,7 @@ class LNumberTagD FINAL : public LTemplateInstruction<1, 1, 2> { |
}; |
-class LNumberTagU FINAL : public LTemplateInstruction<1, 1, 2> { |
+class LNumberTagU final : public LTemplateInstruction<1, 1, 2> { |
public: |
explicit LNumberTagU(LOperand* value, |
LOperand* temp1, |
@@ -2235,7 +2234,7 @@ class LNumberTagU FINAL : public LTemplateInstruction<1, 1, 2> { |
}; |
-class LNumberUntagD FINAL : public LTemplateInstruction<1, 1, 1> { |
+class LNumberUntagD final : public LTemplateInstruction<1, 1, 1> { |
public: |
LNumberUntagD(LOperand* value, LOperand* temp) { |
inputs_[0] = value; |
@@ -2251,14 +2250,14 @@ class LNumberUntagD FINAL : public LTemplateInstruction<1, 1, 1> { |
}; |
-class LParameter FINAL : public LTemplateInstruction<1, 0, 0> { |
+class LParameter final : public LTemplateInstruction<1, 0, 0> { |
public: |
- bool HasInterestingComment(LCodeGen* gen) const OVERRIDE { return false; } |
+ bool HasInterestingComment(LCodeGen* gen) const override { return false; } |
DECLARE_CONCRETE_INSTRUCTION(Parameter, "parameter") |
}; |
-class LPower FINAL : public LTemplateInstruction<1, 2, 0> { |
+class LPower final : public LTemplateInstruction<1, 2, 0> { |
public: |
LPower(LOperand* left, LOperand* right) { |
inputs_[0] = left; |
@@ -2273,7 +2272,7 @@ class LPower FINAL : public LTemplateInstruction<1, 2, 0> { |
}; |
-class LPreparePushArguments FINAL : public LTemplateInstruction<0, 0, 0> { |
+class LPreparePushArguments final : public LTemplateInstruction<0, 0, 0> { |
public: |
explicit LPreparePushArguments(int argc) : argc_(argc) {} |
@@ -2286,7 +2285,7 @@ class LPreparePushArguments FINAL : public LTemplateInstruction<0, 0, 0> { |
}; |
-class LPushArguments FINAL : public LTemplateResultInstruction<0> { |
+class LPushArguments final : public LTemplateResultInstruction<0> { |
public: |
explicit LPushArguments(Zone* zone, |
int capacity = kRecommendedMaxPushedArgs) |
@@ -2312,15 +2311,15 @@ class LPushArguments FINAL : public LTemplateResultInstruction<0> { |
private: |
// Iterator support. |
- int InputCount() FINAL { return inputs_.length(); } |
- LOperand* InputAt(int i) FINAL { return inputs_[i]; } |
+ int InputCount() final { return inputs_.length(); } |
+ LOperand* InputAt(int i) final { return inputs_[i]; } |
- int TempCount() FINAL { return 0; } |
- LOperand* TempAt(int i) FINAL { return NULL; } |
+ int TempCount() final { return 0; } |
+ LOperand* TempAt(int i) final { return NULL; } |
}; |
-class LRegExpLiteral FINAL : public LTemplateInstruction<1, 1, 0> { |
+class LRegExpLiteral final : public LTemplateInstruction<1, 1, 0> { |
public: |
explicit LRegExpLiteral(LOperand* context) { |
inputs_[0] = context; |
@@ -2333,7 +2332,7 @@ class LRegExpLiteral FINAL : public LTemplateInstruction<1, 1, 0> { |
}; |
-class LReturn FINAL : public LTemplateInstruction<0, 3, 0> { |
+class LReturn final : public LTemplateInstruction<0, 3, 0> { |
public: |
LReturn(LOperand* value, LOperand* context, LOperand* parameter_count) { |
inputs_[0] = value; |
@@ -2356,7 +2355,7 @@ class LReturn FINAL : public LTemplateInstruction<0, 3, 0> { |
}; |
-class LSeqStringGetChar FINAL : public LTemplateInstruction<1, 2, 1> { |
+class LSeqStringGetChar final : public LTemplateInstruction<1, 2, 1> { |
public: |
LSeqStringGetChar(LOperand* string, |
LOperand* index, |
@@ -2375,7 +2374,7 @@ class LSeqStringGetChar FINAL : public LTemplateInstruction<1, 2, 1> { |
}; |
-class LSeqStringSetChar FINAL : public LTemplateInstruction<1, 4, 1> { |
+class LSeqStringSetChar final : public LTemplateInstruction<1, 4, 1> { |
public: |
LSeqStringSetChar(LOperand* context, |
LOperand* string, |
@@ -2400,7 +2399,7 @@ class LSeqStringSetChar FINAL : public LTemplateInstruction<1, 4, 1> { |
}; |
-class LSmiTag FINAL : public LTemplateInstruction<1, 1, 0> { |
+class LSmiTag final : public LTemplateInstruction<1, 1, 0> { |
public: |
explicit LSmiTag(LOperand* value) { |
inputs_[0] = value; |
@@ -2413,7 +2412,7 @@ class LSmiTag FINAL : public LTemplateInstruction<1, 1, 0> { |
}; |
-class LSmiUntag FINAL : public LTemplateInstruction<1, 1, 0> { |
+class LSmiUntag final : public LTemplateInstruction<1, 1, 0> { |
public: |
LSmiUntag(LOperand* value, bool needs_check) |
: needs_check_(needs_check) { |
@@ -2430,7 +2429,7 @@ class LSmiUntag FINAL : public LTemplateInstruction<1, 1, 0> { |
}; |
-class LStackCheck FINAL : public LTemplateInstruction<0, 1, 0> { |
+class LStackCheck final : public LTemplateInstruction<0, 1, 0> { |
public: |
explicit LStackCheck(LOperand* context) { |
inputs_[0] = context; |
@@ -2480,7 +2479,7 @@ class LStoreKeyed : public LTemplateInstruction<0, 3, T> { |
} |
uint32_t base_offset() const { return this->hydrogen()->base_offset(); } |
- void PrintDataTo(StringStream* stream) OVERRIDE { |
+ void PrintDataTo(StringStream* stream) override { |
this->elements()->PrintTo(stream); |
stream->Add("["); |
this->key()->PrintTo(stream); |
@@ -2503,7 +2502,7 @@ class LStoreKeyed : public LTemplateInstruction<0, 3, T> { |
}; |
-class LStoreKeyedExternal FINAL : public LStoreKeyed<1> { |
+class LStoreKeyedExternal final : public LStoreKeyed<1> { |
public: |
LStoreKeyedExternal(LOperand* elements, LOperand* key, LOperand* value, |
LOperand* temp) : |
@@ -2517,7 +2516,7 @@ class LStoreKeyedExternal FINAL : public LStoreKeyed<1> { |
}; |
-class LStoreKeyedFixed FINAL : public LStoreKeyed<1> { |
+class LStoreKeyedFixed final : public LStoreKeyed<1> { |
public: |
LStoreKeyedFixed(LOperand* elements, LOperand* key, LOperand* value, |
LOperand* temp) : |
@@ -2531,7 +2530,7 @@ class LStoreKeyedFixed FINAL : public LStoreKeyed<1> { |
}; |
-class LStoreKeyedFixedDouble FINAL : public LStoreKeyed<1> { |
+class LStoreKeyedFixedDouble final : public LStoreKeyed<1> { |
public: |
LStoreKeyedFixedDouble(LOperand* elements, LOperand* key, LOperand* value, |
LOperand* temp) : |
@@ -2546,7 +2545,7 @@ class LStoreKeyedFixedDouble FINAL : public LStoreKeyed<1> { |
}; |
-class LStoreKeyedGeneric FINAL : public LTemplateInstruction<0, 4, 0> { |
+class LStoreKeyedGeneric final : public LTemplateInstruction<0, 4, 0> { |
public: |
LStoreKeyedGeneric(LOperand* context, |
LOperand* obj, |
@@ -2566,13 +2565,13 @@ class LStoreKeyedGeneric FINAL : public LTemplateInstruction<0, 4, 0> { |
DECLARE_CONCRETE_INSTRUCTION(StoreKeyedGeneric, "store-keyed-generic") |
DECLARE_HYDROGEN_ACCESSOR(StoreKeyedGeneric) |
- void PrintDataTo(StringStream* stream) OVERRIDE; |
+ void PrintDataTo(StringStream* stream) override; |
LanguageMode language_mode() { return hydrogen()->language_mode(); } |
}; |
-class LStoreNamedField FINAL : public LTemplateInstruction<0, 2, 2> { |
+class LStoreNamedField final : public LTemplateInstruction<0, 2, 2> { |
public: |
LStoreNamedField(LOperand* object, LOperand* value, |
LOperand* temp0, LOperand* temp1) { |
@@ -2590,7 +2589,7 @@ class LStoreNamedField FINAL : public LTemplateInstruction<0, 2, 2> { |
DECLARE_CONCRETE_INSTRUCTION(StoreNamedField, "store-named-field") |
DECLARE_HYDROGEN_ACCESSOR(StoreNamedField) |
- void PrintDataTo(StringStream* stream) OVERRIDE; |
+ void PrintDataTo(StringStream* stream) override; |
Representation representation() const { |
return hydrogen()->field_representation(); |
@@ -2598,7 +2597,7 @@ class LStoreNamedField FINAL : public LTemplateInstruction<0, 2, 2> { |
}; |
-class LStoreNamedGeneric FINAL: public LTemplateInstruction<0, 3, 0> { |
+class LStoreNamedGeneric final : public LTemplateInstruction<0, 3, 0> { |
public: |
LStoreNamedGeneric(LOperand* context, LOperand* object, LOperand* value) { |
inputs_[0] = context; |
@@ -2613,14 +2612,14 @@ class LStoreNamedGeneric FINAL: public LTemplateInstruction<0, 3, 0> { |
DECLARE_CONCRETE_INSTRUCTION(StoreNamedGeneric, "store-named-generic") |
DECLARE_HYDROGEN_ACCESSOR(StoreNamedGeneric) |
- void PrintDataTo(StringStream* stream) OVERRIDE; |
+ void PrintDataTo(StringStream* stream) override; |
Handle<Object> name() const { return hydrogen()->name(); } |
LanguageMode language_mode() { return hydrogen()->language_mode(); } |
}; |
-class LStringAdd FINAL : public LTemplateInstruction<1, 3, 0> { |
+class LStringAdd final : public LTemplateInstruction<1, 3, 0> { |
public: |
LStringAdd(LOperand* context, LOperand* left, LOperand* right) { |
inputs_[0] = context; |
@@ -2637,8 +2636,7 @@ class LStringAdd FINAL : public LTemplateInstruction<1, 3, 0> { |
}; |
- |
-class LStringCharCodeAt FINAL : public LTemplateInstruction<1, 3, 0> { |
+class LStringCharCodeAt final : public LTemplateInstruction<1, 3, 0> { |
public: |
LStringCharCodeAt(LOperand* context, LOperand* string, LOperand* index) { |
inputs_[0] = context; |
@@ -2655,7 +2653,7 @@ class LStringCharCodeAt FINAL : public LTemplateInstruction<1, 3, 0> { |
}; |
-class LStringCharFromCode FINAL : public LTemplateInstruction<1, 2, 0> { |
+class LStringCharFromCode final : public LTemplateInstruction<1, 2, 0> { |
public: |
LStringCharFromCode(LOperand* context, LOperand* char_code) { |
inputs_[0] = context; |
@@ -2670,7 +2668,7 @@ class LStringCharFromCode FINAL : public LTemplateInstruction<1, 2, 0> { |
}; |
-class LStringCompareAndBranch FINAL : public LControlInstruction<3, 0> { |
+class LStringCompareAndBranch final : public LControlInstruction<3, 0> { |
public: |
LStringCompareAndBranch(LOperand* context, LOperand* left, LOperand* right) { |
inputs_[0] = context; |
@@ -2688,12 +2686,12 @@ class LStringCompareAndBranch FINAL : public LControlInstruction<3, 0> { |
Token::Value op() const { return hydrogen()->token(); } |
- void PrintDataTo(StringStream* stream) OVERRIDE; |
+ void PrintDataTo(StringStream* stream) override; |
}; |
// Truncating conversion from a tagged value to an int32. |
-class LTaggedToI FINAL : public LTemplateInstruction<1, 1, 2> { |
+class LTaggedToI final : public LTemplateInstruction<1, 1, 2> { |
public: |
explicit LTaggedToI(LOperand* value, LOperand* temp1, LOperand* temp2) { |
inputs_[0] = value; |
@@ -2712,7 +2710,7 @@ class LTaggedToI FINAL : public LTemplateInstruction<1, 1, 2> { |
}; |
-class LShiftI FINAL : public LTemplateInstruction<1, 2, 0> { |
+class LShiftI final : public LTemplateInstruction<1, 2, 0> { |
public: |
LShiftI(Token::Value op, LOperand* left, LOperand* right, bool can_deopt) |
: op_(op), can_deopt_(can_deopt) { |
@@ -2733,7 +2731,7 @@ class LShiftI FINAL : public LTemplateInstruction<1, 2, 0> { |
}; |
-class LShiftS FINAL : public LTemplateInstruction<1, 2, 0> { |
+class LShiftS final : public LTemplateInstruction<1, 2, 0> { |
public: |
LShiftS(Token::Value op, LOperand* left, LOperand* right, bool can_deopt) |
: op_(op), can_deopt_(can_deopt) { |
@@ -2754,7 +2752,7 @@ class LShiftS FINAL : public LTemplateInstruction<1, 2, 0> { |
}; |
-class LStoreCodeEntry FINAL: public LTemplateInstruction<0, 2, 1> { |
+class LStoreCodeEntry final : public LTemplateInstruction<0, 2, 1> { |
public: |
LStoreCodeEntry(LOperand* function, LOperand* code_object, |
LOperand* temp) { |
@@ -2767,14 +2765,14 @@ class LStoreCodeEntry FINAL: public LTemplateInstruction<0, 2, 1> { |
LOperand* code_object() { return inputs_[1]; } |
LOperand* temp() { return temps_[0]; } |
- void PrintDataTo(StringStream* stream) OVERRIDE; |
+ void PrintDataTo(StringStream* stream) override; |
DECLARE_CONCRETE_INSTRUCTION(StoreCodeEntry, "store-code-entry") |
DECLARE_HYDROGEN_ACCESSOR(StoreCodeEntry) |
}; |
-class LStoreContextSlot FINAL : public LTemplateInstruction<0, 2, 1> { |
+class LStoreContextSlot final : public LTemplateInstruction<0, 2, 1> { |
public: |
LStoreContextSlot(LOperand* context, LOperand* value, LOperand* temp) { |
inputs_[0] = context; |
@@ -2791,11 +2789,11 @@ class LStoreContextSlot FINAL : public LTemplateInstruction<0, 2, 1> { |
int slot_index() { return hydrogen()->slot_index(); } |
- void PrintDataTo(StringStream* stream) OVERRIDE; |
+ void PrintDataTo(StringStream* stream) override; |
}; |
-class LSubI FINAL : public LTemplateInstruction<1, 2, 0> { |
+class LSubI final : public LTemplateInstruction<1, 2, 0> { |
public: |
LSubI(LOperand* left, LOperand* right) |
: shift_(NO_SHIFT), shift_amount_(0) { |
@@ -2839,14 +2837,14 @@ class LSubS: public LTemplateInstruction<1, 2, 0> { |
}; |
-class LThisFunction FINAL : public LTemplateInstruction<1, 0, 0> { |
+class LThisFunction final : public LTemplateInstruction<1, 0, 0> { |
public: |
DECLARE_CONCRETE_INSTRUCTION(ThisFunction, "this-function") |
DECLARE_HYDROGEN_ACCESSOR(ThisFunction) |
}; |
-class LToFastProperties FINAL : public LTemplateInstruction<1, 1, 0> { |
+class LToFastProperties final : public LTemplateInstruction<1, 1, 0> { |
public: |
explicit LToFastProperties(LOperand* value) { |
inputs_[0] = value; |
@@ -2859,7 +2857,7 @@ class LToFastProperties FINAL : public LTemplateInstruction<1, 1, 0> { |
}; |
-class LTransitionElementsKind FINAL : public LTemplateInstruction<0, 2, 2> { |
+class LTransitionElementsKind final : public LTemplateInstruction<0, 2, 2> { |
public: |
LTransitionElementsKind(LOperand* object, |
LOperand* context, |
@@ -2880,7 +2878,7 @@ class LTransitionElementsKind FINAL : public LTemplateInstruction<0, 2, 2> { |
"transition-elements-kind") |
DECLARE_HYDROGEN_ACCESSOR(TransitionElementsKind) |
- void PrintDataTo(StringStream* stream) OVERRIDE; |
+ void PrintDataTo(StringStream* stream) override; |
Handle<Map> original_map() { return hydrogen()->original_map().handle(); } |
Handle<Map> transitioned_map() { |
@@ -2891,7 +2889,7 @@ class LTransitionElementsKind FINAL : public LTemplateInstruction<0, 2, 2> { |
}; |
-class LTrapAllocationMemento FINAL : public LTemplateInstruction<0, 1, 2> { |
+class LTrapAllocationMemento final : public LTemplateInstruction<0, 1, 2> { |
public: |
LTrapAllocationMemento(LOperand* object, LOperand* temp1, LOperand* temp2) { |
inputs_[0] = object; |
@@ -2907,8 +2905,7 @@ class LTrapAllocationMemento FINAL : public LTemplateInstruction<0, 1, 2> { |
}; |
-class LTruncateDoubleToIntOrSmi FINAL |
- : public LTemplateInstruction<1, 1, 0> { |
+class LTruncateDoubleToIntOrSmi final : public LTemplateInstruction<1, 1, 0> { |
public: |
explicit LTruncateDoubleToIntOrSmi(LOperand* value) { |
inputs_[0] = value; |
@@ -2924,7 +2921,7 @@ class LTruncateDoubleToIntOrSmi FINAL |
}; |
-class LTypeof FINAL : public LTemplateInstruction<1, 2, 0> { |
+class LTypeof final : public LTemplateInstruction<1, 2, 0> { |
public: |
LTypeof(LOperand* context, LOperand* value) { |
inputs_[0] = context; |
@@ -2938,7 +2935,7 @@ class LTypeof FINAL : public LTemplateInstruction<1, 2, 0> { |
}; |
-class LTypeofIsAndBranch FINAL : public LControlInstruction<1, 2> { |
+class LTypeofIsAndBranch final : public LControlInstruction<1, 2> { |
public: |
LTypeofIsAndBranch(LOperand* value, LOperand* temp1, LOperand* temp2) { |
inputs_[0] = value; |
@@ -2955,11 +2952,11 @@ class LTypeofIsAndBranch FINAL : public LControlInstruction<1, 2> { |
Handle<String> type_literal() const { return hydrogen()->type_literal(); } |
- void PrintDataTo(StringStream* stream) OVERRIDE; |
+ void PrintDataTo(StringStream* stream) override; |
}; |
-class LUint32ToDouble FINAL : public LTemplateInstruction<1, 1, 0> { |
+class LUint32ToDouble final : public LTemplateInstruction<1, 1, 0> { |
public: |
explicit LUint32ToDouble(LOperand* value) { |
inputs_[0] = value; |
@@ -2971,7 +2968,7 @@ class LUint32ToDouble FINAL : public LTemplateInstruction<1, 1, 0> { |
}; |
-class LCheckMapValue FINAL : public LTemplateInstruction<0, 2, 1> { |
+class LCheckMapValue final : public LTemplateInstruction<0, 2, 1> { |
public: |
LCheckMapValue(LOperand* value, LOperand* map, LOperand* temp) { |
inputs_[0] = value; |
@@ -2987,7 +2984,7 @@ class LCheckMapValue FINAL : public LTemplateInstruction<0, 2, 1> { |
}; |
-class LLoadFieldByIndex FINAL : public LTemplateInstruction<1, 2, 0> { |
+class LLoadFieldByIndex final : public LTemplateInstruction<1, 2, 0> { |
public: |
LLoadFieldByIndex(LOperand* object, LOperand* index) { |
inputs_[0] = object; |
@@ -3030,7 +3027,7 @@ class LAllocateBlockContext: public LTemplateInstruction<1, 2, 0> { |
}; |
-class LWrapReceiver FINAL : public LTemplateInstruction<1, 2, 0> { |
+class LWrapReceiver final : public LTemplateInstruction<1, 2, 0> { |
public: |
LWrapReceiver(LOperand* receiver, LOperand* function) { |
inputs_[0] = receiver; |
@@ -3046,7 +3043,7 @@ class LWrapReceiver FINAL : public LTemplateInstruction<1, 2, 0> { |
class LChunkBuilder; |
-class LPlatformChunk FINAL : public LChunk { |
+class LPlatformChunk final : public LChunk { |
public: |
LPlatformChunk(CompilationInfo* info, HGraph* graph) |
: LChunk(info, graph) { } |
@@ -3056,7 +3053,7 @@ class LPlatformChunk FINAL : public LChunk { |
}; |
-class LChunkBuilder FINAL : public LChunkBuilderBase { |
+class LChunkBuilder final : public LChunkBuilderBase { |
public: |
LChunkBuilder(CompilationInfo* info, HGraph* graph, LAllocator* allocator) |
: LChunkBuilderBase(info, graph), |