Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(365)

Unified Diff: src/hydrogen-instructions.h

Issue 526223002: Use Chrome compatible naming for compiler specifics. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: mips Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/hydrogen-gvn.cc ('k') | src/hydrogen-types.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/hydrogen-instructions.h
diff --git a/src/hydrogen-instructions.h b/src/hydrogen-instructions.h
index b80c7c50ab072ed8ee990b5ea3c76389204a043c..5ddf6c584b507cdb19fa52b47f6c0f1e1f48eaf0 100644
--- a/src/hydrogen-instructions.h
+++ b/src/hydrogen-instructions.h
@@ -189,7 +189,7 @@ class OStream;
#define DECLARE_ABSTRACT_INSTRUCTION(type) \
- virtual bool Is##type() const V8_FINAL V8_OVERRIDE { return true; } \
+ virtual bool Is##type() const FINAL OVERRIDE { return true; } \
static H##type* cast(HValue* value) { \
DCHECK(value->Is##type()); \
return reinterpret_cast<H##type*>(value); \
@@ -198,12 +198,12 @@ class OStream;
#define DECLARE_CONCRETE_INSTRUCTION(type) \
virtual LInstruction* CompileToLithium( \
- LChunkBuilder* builder) V8_FINAL V8_OVERRIDE; \
+ LChunkBuilder* builder) FINAL OVERRIDE; \
static H##type* cast(HValue* value) { \
DCHECK(value->Is##type()); \
return reinterpret_cast<H##type*>(value); \
} \
- virtual Opcode opcode() const V8_FINAL V8_OVERRIDE { \
+ virtual Opcode opcode() const FINAL OVERRIDE { \
return HValue::k##type; \
}
@@ -211,7 +211,7 @@ class OStream;
enum PropertyAccessType { LOAD, STORE };
-class Range V8_FINAL : public ZoneObject {
+class Range FINAL : public ZoneObject {
public:
Range()
: lower_(kMinInt),
@@ -315,7 +315,7 @@ class HUseListNode: public ZoneObject {
// We reuse use list nodes behind the scenes as uses are added and deleted.
// This class is the safe way to iterate uses while deleting them.
-class HUseIterator V8_FINAL BASE_EMBEDDED {
+class HUseIterator FINAL BASE_EMBEDDED {
public:
bool Done() { return current_ == NULL; }
void Advance();
@@ -364,7 +364,7 @@ static inline GVNFlag GVNFlagFromInt(int i) {
}
-class DecompositionResult V8_FINAL BASE_EMBEDDED {
+class DecompositionResult FINAL BASE_EMBEDDED {
public:
DecompositionResult() : base_(NULL), offset_(0), scale_(0) {}
@@ -1145,7 +1145,7 @@ class HInstruction : public HValue {
HInstruction* next() const { return next_; }
HInstruction* previous() const { return previous_; }
- virtual OStream& PrintTo(OStream& os) const V8_OVERRIDE; // NOLINT
+ virtual OStream& PrintTo(OStream& os) const OVERRIDE; // NOLINT
virtual OStream& PrintDataTo(OStream& os) const; // NOLINT
bool IsLinked() const { return block() != NULL; }
@@ -1166,7 +1166,7 @@ class HInstruction : public HValue {
}
// The position is a write-once variable.
- virtual HSourcePosition position() const V8_OVERRIDE {
+ virtual HSourcePosition position() const OVERRIDE {
return HSourcePosition(position_.position());
}
bool has_position() const {
@@ -1178,7 +1178,7 @@ class HInstruction : public HValue {
position_.set_position(position);
}
- virtual HSourcePosition operand_position(int index) const V8_OVERRIDE {
+ virtual HSourcePosition operand_position(int index) const OVERRIDE {
const HSourcePosition pos = position_.operand_position(index);
return pos.IsUnknown() ? position() : pos;
}
@@ -1195,7 +1195,7 @@ class HInstruction : public HValue {
virtual LInstruction* CompileToLithium(LChunkBuilder* builder) = 0;
#ifdef DEBUG
- virtual void Verify() V8_OVERRIDE;
+ virtual void Verify() OVERRIDE;
#endif
bool CanDeoptimize();
@@ -1213,7 +1213,7 @@ class HInstruction : public HValue {
SetDependsOnFlag(kOsrEntries);
}
- virtual void DeleteFromGraph() V8_OVERRIDE { Unlink(); }
+ virtual void DeleteFromGraph() OVERRIDE { Unlink(); }
private:
void InitializeAsFirst(HBasicBlock* block) {
@@ -1232,8 +1232,8 @@ class HInstruction : public HValue {
template<int V>
class HTemplateInstruction : public HInstruction {
public:
- virtual int OperandCount() const V8_FINAL V8_OVERRIDE { return V; }
- virtual HValue* OperandAt(int i) const V8_FINAL V8_OVERRIDE {
+ virtual int OperandCount() const FINAL OVERRIDE { return V; }
+ virtual HValue* OperandAt(int i) const FINAL OVERRIDE {
return inputs_[i];
}
@@ -1241,7 +1241,7 @@ class HTemplateInstruction : public HInstruction {
explicit HTemplateInstruction(HType type = HType::Tagged())
: HInstruction(type) {}
- virtual void InternalSetOperandAt(int i, HValue* value) V8_FINAL V8_OVERRIDE {
+ virtual void InternalSetOperandAt(int i, HValue* value) FINAL OVERRIDE {
inputs_[i] = value;
}
@@ -1256,7 +1256,7 @@ class HControlInstruction : public HInstruction {
virtual int SuccessorCount() const = 0;
virtual void SetSuccessorAt(int i, HBasicBlock* block) = 0;
- virtual OStream& PrintDataTo(OStream& os) const V8_OVERRIDE; // NOLINT
+ virtual OStream& PrintDataTo(OStream& os) const OVERRIDE; // NOLINT
virtual bool KnownSuccessorBlock(HBasicBlock** block) {
*block = NULL;
@@ -1280,7 +1280,7 @@ class HControlInstruction : public HInstruction {
};
-class HSuccessorIterator V8_FINAL BASE_EMBEDDED {
+class HSuccessorIterator FINAL BASE_EMBEDDED {
public:
explicit HSuccessorIterator(const HControlInstruction* instr)
: instr_(instr), current_(0) {}
@@ -1298,18 +1298,18 @@ class HSuccessorIterator V8_FINAL BASE_EMBEDDED {
template<int S, int V>
class HTemplateControlInstruction : public HControlInstruction {
public:
- int SuccessorCount() const V8_OVERRIDE { return S; }
- HBasicBlock* SuccessorAt(int i) const V8_OVERRIDE { return successors_[i]; }
- void SetSuccessorAt(int i, HBasicBlock* block) V8_OVERRIDE {
+ int SuccessorCount() const OVERRIDE { return S; }
+ HBasicBlock* SuccessorAt(int i) const OVERRIDE { return successors_[i]; }
+ void SetSuccessorAt(int i, HBasicBlock* block) OVERRIDE {
successors_[i] = block;
}
- int OperandCount() const V8_OVERRIDE { return V; }
- HValue* OperandAt(int i) const V8_OVERRIDE { return inputs_[i]; }
+ int OperandCount() const OVERRIDE { return V; }
+ HValue* OperandAt(int i) const OVERRIDE { return inputs_[i]; }
protected:
- void InternalSetOperandAt(int i, HValue* value) V8_OVERRIDE {
+ void InternalSetOperandAt(int i, HValue* value) OVERRIDE {
inputs_[i] = value;
}
@@ -1319,9 +1319,9 @@ class HTemplateControlInstruction : public HControlInstruction {
};
-class HBlockEntry V8_FINAL : public HTemplateInstruction<0> {
+class HBlockEntry FINAL : public HTemplateInstruction<0> {
public:
- virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE {
+ virtual Representation RequiredInputRepresentation(int index) OVERRIDE {
return Representation::None();
}
@@ -1329,7 +1329,7 @@ class HBlockEntry V8_FINAL : public HTemplateInstruction<0> {
};
-class HDummyUse V8_FINAL : public HTemplateInstruction<1> {
+class HDummyUse FINAL : public HTemplateInstruction<1> {
public:
explicit HDummyUse(HValue* value)
: HTemplateInstruction<1>(HType::Smi()) {
@@ -1341,23 +1341,23 @@ class HDummyUse V8_FINAL : public HTemplateInstruction<1> {
HValue* value() const { return OperandAt(0); }
- virtual bool HasEscapingOperandAt(int index) V8_OVERRIDE { return false; }
- virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE {
+ virtual bool HasEscapingOperandAt(int index) OVERRIDE { return false; }
+ virtual Representation RequiredInputRepresentation(int index) OVERRIDE {
return Representation::None();
}
- virtual OStream& PrintDataTo(OStream& os) const V8_OVERRIDE; // NOLINT
+ virtual OStream& PrintDataTo(OStream& os) const OVERRIDE; // NOLINT
DECLARE_CONCRETE_INSTRUCTION(DummyUse);
};
// Inserts an int3/stop break instruction for debugging purposes.
-class HDebugBreak V8_FINAL : public HTemplateInstruction<0> {
+class HDebugBreak FINAL : public HTemplateInstruction<0> {
public:
DECLARE_INSTRUCTION_FACTORY_P0(HDebugBreak);
- virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE {
+ virtual Representation RequiredInputRepresentation(int index) OVERRIDE {
return Representation::None();
}
@@ -1365,28 +1365,28 @@ class HDebugBreak V8_FINAL : public HTemplateInstruction<0> {
};
-class HGoto V8_FINAL : public HTemplateControlInstruction<1, 0> {
+class HGoto FINAL : public HTemplateControlInstruction<1, 0> {
public:
explicit HGoto(HBasicBlock* target) {
SetSuccessorAt(0, target);
}
- virtual bool KnownSuccessorBlock(HBasicBlock** block) V8_OVERRIDE {
+ virtual bool KnownSuccessorBlock(HBasicBlock** block) OVERRIDE {
*block = FirstSuccessor();
return true;
}
- virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE {
+ virtual Representation RequiredInputRepresentation(int index) OVERRIDE {
return Representation::None();
}
- virtual OStream& PrintDataTo(OStream& os) const V8_OVERRIDE; // NOLINT
+ virtual OStream& PrintDataTo(OStream& os) const OVERRIDE; // NOLINT
DECLARE_CONCRETE_INSTRUCTION(Goto)
};
-class HDeoptimize V8_FINAL : public HTemplateControlInstruction<1, 0> {
+class HDeoptimize FINAL : public HTemplateControlInstruction<1, 0> {
public:
static HDeoptimize* New(Zone* zone,
HValue* context,
@@ -1396,12 +1396,12 @@ class HDeoptimize V8_FINAL : public HTemplateControlInstruction<1, 0> {
return new(zone) HDeoptimize(reason, type, unreachable_continuation);
}
- virtual bool KnownSuccessorBlock(HBasicBlock** block) V8_OVERRIDE {
+ virtual bool KnownSuccessorBlock(HBasicBlock** block) OVERRIDE {
*block = NULL;
return true;
}
- virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE {
+ virtual Representation RequiredInputRepresentation(int index) OVERRIDE {
return Representation::None();
}
@@ -1433,13 +1433,13 @@ class HUnaryControlInstruction : public HTemplateControlInstruction<2, 1> {
SetSuccessorAt(1, false_target);
}
- virtual OStream& PrintDataTo(OStream& os) const V8_OVERRIDE; // NOLINT
+ virtual OStream& PrintDataTo(OStream& os) const OVERRIDE; // NOLINT
HValue* value() const { return OperandAt(0); }
};
-class HBranch V8_FINAL : public HUnaryControlInstruction {
+class HBranch FINAL : public HUnaryControlInstruction {
public:
DECLARE_INSTRUCTION_FACTORY_P1(HBranch, HValue*);
DECLARE_INSTRUCTION_FACTORY_P2(HBranch, HValue*,
@@ -1448,14 +1448,14 @@ class HBranch V8_FINAL : public HUnaryControlInstruction {
ToBooleanStub::Types,
HBasicBlock*, HBasicBlock*);
- virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE {
+ virtual Representation RequiredInputRepresentation(int index) OVERRIDE {
return Representation::None();
}
- virtual Representation observed_input_representation(int index) V8_OVERRIDE;
+ virtual Representation observed_input_representation(int index) OVERRIDE;
- virtual bool KnownSuccessorBlock(HBasicBlock** block) V8_OVERRIDE;
+ virtual bool KnownSuccessorBlock(HBasicBlock** block) OVERRIDE;
- virtual OStream& PrintDataTo(OStream& os) const V8_OVERRIDE; // NOLINT
+ virtual OStream& PrintDataTo(OStream& os) const OVERRIDE; // NOLINT
ToBooleanStub::Types expected_input_types() const {
return expected_input_types_;
@@ -1477,13 +1477,13 @@ class HBranch V8_FINAL : public HUnaryControlInstruction {
};
-class HCompareMap V8_FINAL : public HUnaryControlInstruction {
+class HCompareMap FINAL : public HUnaryControlInstruction {
public:
DECLARE_INSTRUCTION_FACTORY_P2(HCompareMap, HValue*, Handle<Map>);
DECLARE_INSTRUCTION_FACTORY_P4(HCompareMap, HValue*, Handle<Map>,
HBasicBlock*, HBasicBlock*);
- virtual bool KnownSuccessorBlock(HBasicBlock** block) V8_OVERRIDE {
+ virtual bool KnownSuccessorBlock(HBasicBlock** block) OVERRIDE {
if (known_successor_index() != kNoKnownSuccessorIndex) {
*block = SuccessorAt(known_successor_index());
return true;
@@ -1492,7 +1492,7 @@ class HCompareMap V8_FINAL : public HUnaryControlInstruction {
return false;
}
- virtual OStream& PrintDataTo(OStream& os) const V8_OVERRIDE; // NOLINT
+ virtual OStream& PrintDataTo(OStream& os) const OVERRIDE; // NOLINT
static const int kNoKnownSuccessorIndex = -1;
int known_successor_index() const { return known_successor_index_; }
@@ -1503,7 +1503,7 @@ class HCompareMap V8_FINAL : public HUnaryControlInstruction {
Unique<Map> map() const { return map_; }
bool map_is_stable() const { return map_is_stable_; }
- virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE {
+ virtual Representation RequiredInputRepresentation(int index) OVERRIDE {
return Representation::Tagged();
}
@@ -1530,20 +1530,20 @@ class HCompareMap V8_FINAL : public HUnaryControlInstruction {
};
-class HContext V8_FINAL : public HTemplateInstruction<0> {
+class HContext FINAL : public HTemplateInstruction<0> {
public:
static HContext* New(Zone* zone) {
return new(zone) HContext();
}
- virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE {
+ virtual Representation RequiredInputRepresentation(int index) OVERRIDE {
return Representation::None();
}
DECLARE_CONCRETE_INSTRUCTION(Context)
protected:
- virtual bool DataEquals(HValue* other) V8_OVERRIDE { return true; }
+ virtual bool DataEquals(HValue* other) OVERRIDE { return true; }
private:
HContext() {
@@ -1551,22 +1551,22 @@ class HContext V8_FINAL : public HTemplateInstruction<0> {
SetFlag(kUseGVN);
}
- virtual bool IsDeletable() const V8_OVERRIDE { return true; }
+ virtual bool IsDeletable() const OVERRIDE { return true; }
};
-class HReturn V8_FINAL : public HTemplateControlInstruction<0, 3> {
+class HReturn FINAL : public HTemplateControlInstruction<0, 3> {
public:
DECLARE_INSTRUCTION_WITH_CONTEXT_FACTORY_P2(HReturn, HValue*, HValue*);
DECLARE_INSTRUCTION_WITH_CONTEXT_FACTORY_P1(HReturn, HValue*);
- virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE {
+ virtual Representation RequiredInputRepresentation(int index) OVERRIDE {
// TODO(titzer): require an Int32 input for faster returns.
if (index == 2) return Representation::Smi();
return Representation::Tagged();
}
- virtual OStream& PrintDataTo(OStream& os) const V8_OVERRIDE; // NOLINT
+ virtual OStream& PrintDataTo(OStream& os) const OVERRIDE; // NOLINT
HValue* value() const { return OperandAt(0); }
HValue* context() const { return OperandAt(1); }
@@ -1583,11 +1583,11 @@ class HReturn V8_FINAL : public HTemplateControlInstruction<0, 3> {
};
-class HAbnormalExit V8_FINAL : public HTemplateControlInstruction<0, 0> {
+class HAbnormalExit FINAL : public HTemplateControlInstruction<0, 0> {
public:
DECLARE_INSTRUCTION_FACTORY_P0(HAbnormalExit);
- virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE {
+ virtual Representation RequiredInputRepresentation(int index) OVERRIDE {
return Representation::None();
}
@@ -1609,15 +1609,15 @@ class HUnaryOperation : public HTemplateInstruction<1> {
}
HValue* value() const { return OperandAt(0); }
- virtual OStream& PrintDataTo(OStream& os) const V8_OVERRIDE; // NOLINT
+ virtual OStream& PrintDataTo(OStream& os) const OVERRIDE; // NOLINT
};
-class HUseConst V8_FINAL : public HUnaryOperation {
+class HUseConst FINAL : public HUnaryOperation {
public:
DECLARE_INSTRUCTION_FACTORY_P1(HUseConst, HValue*);
- virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE {
+ virtual Representation RequiredInputRepresentation(int index) OVERRIDE {
return Representation::None();
}
@@ -1628,18 +1628,18 @@ class HUseConst V8_FINAL : public HUnaryOperation {
};
-class HForceRepresentation V8_FINAL : public HTemplateInstruction<1> {
+class HForceRepresentation FINAL : public HTemplateInstruction<1> {
public:
static HInstruction* New(Zone* zone, HValue* context, HValue* value,
Representation required_representation);
HValue* value() const { return OperandAt(0); }
- virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE {
+ virtual Representation RequiredInputRepresentation(int index) OVERRIDE {
return representation(); // Same as the output representation.
}
- virtual OStream& PrintDataTo(OStream& os) const V8_OVERRIDE; // NOLINT
+ virtual OStream& PrintDataTo(OStream& os) const OVERRIDE; // NOLINT
DECLARE_CONCRETE_INSTRUCTION(ForceRepresentation)
@@ -1651,7 +1651,7 @@ class HForceRepresentation V8_FINAL : public HTemplateInstruction<1> {
};
-class HChange V8_FINAL : public HUnaryOperation {
+class HChange FINAL : public HUnaryOperation {
public:
HChange(HValue* value,
Representation to,
@@ -1681,46 +1681,46 @@ class HChange V8_FINAL : public HUnaryOperation {
return CheckUsesForFlag(kAllowUndefinedAsNaN);
}
- virtual HType CalculateInferredType() V8_OVERRIDE;
- virtual HValue* Canonicalize() V8_OVERRIDE;
+ virtual HType CalculateInferredType() OVERRIDE;
+ virtual HValue* Canonicalize() OVERRIDE;
Representation from() const { return value()->representation(); }
Representation to() const { return representation(); }
bool deoptimize_on_minus_zero() const {
return CheckFlag(kBailoutOnMinusZero);
}
- virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE {
+ virtual Representation RequiredInputRepresentation(int index) OVERRIDE {
return from();
}
- virtual Range* InferRange(Zone* zone) V8_OVERRIDE;
+ virtual Range* InferRange(Zone* zone) OVERRIDE;
- virtual OStream& PrintDataTo(OStream& os) const V8_OVERRIDE; // NOLINT
+ virtual OStream& PrintDataTo(OStream& os) const OVERRIDE; // NOLINT
DECLARE_CONCRETE_INSTRUCTION(Change)
protected:
- virtual bool DataEquals(HValue* other) V8_OVERRIDE { return true; }
+ virtual bool DataEquals(HValue* other) OVERRIDE { return true; }
private:
- virtual bool IsDeletable() const V8_OVERRIDE {
+ virtual bool IsDeletable() const OVERRIDE {
return !from().IsTagged() || value()->type().IsSmi();
}
};
-class HClampToUint8 V8_FINAL : public HUnaryOperation {
+class HClampToUint8 FINAL : public HUnaryOperation {
public:
DECLARE_INSTRUCTION_FACTORY_P1(HClampToUint8, HValue*);
- virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE {
+ virtual Representation RequiredInputRepresentation(int index) OVERRIDE {
return Representation::None();
}
DECLARE_CONCRETE_INSTRUCTION(ClampToUint8)
protected:
- virtual bool DataEquals(HValue* other) V8_OVERRIDE { return true; }
+ virtual bool DataEquals(HValue* other) OVERRIDE { return true; }
private:
explicit HClampToUint8(HValue* value)
@@ -1730,16 +1730,16 @@ class HClampToUint8 V8_FINAL : public HUnaryOperation {
SetFlag(kUseGVN);
}
- virtual bool IsDeletable() const V8_OVERRIDE { return true; }
+ virtual bool IsDeletable() const OVERRIDE { return true; }
};
-class HDoubleBits V8_FINAL : public HUnaryOperation {
+class HDoubleBits FINAL : public HUnaryOperation {
public:
enum Bits { HIGH, LOW };
DECLARE_INSTRUCTION_FACTORY_P2(HDoubleBits, HValue*, Bits);
- virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE {
+ virtual Representation RequiredInputRepresentation(int index) OVERRIDE {
return Representation::Double();
}
@@ -1748,7 +1748,7 @@ class HDoubleBits V8_FINAL : public HUnaryOperation {
Bits bits() { return bits_; }
protected:
- virtual bool DataEquals(HValue* other) V8_OVERRIDE {
+ virtual bool DataEquals(HValue* other) OVERRIDE {
return other->IsDoubleBits() && HDoubleBits::cast(other)->bits() == bits();
}
@@ -1759,17 +1759,17 @@ class HDoubleBits V8_FINAL : public HUnaryOperation {
SetFlag(kUseGVN);
}
- virtual bool IsDeletable() const V8_OVERRIDE { return true; }
+ virtual bool IsDeletable() const OVERRIDE { return true; }
Bits bits_;
};
-class HConstructDouble V8_FINAL : public HTemplateInstruction<2> {
+class HConstructDouble FINAL : public HTemplateInstruction<2> {
public:
DECLARE_INSTRUCTION_FACTORY_P2(HConstructDouble, HValue*, HValue*);
- virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE {
+ virtual Representation RequiredInputRepresentation(int index) OVERRIDE {
return Representation::Integer32();
}
@@ -1779,7 +1779,7 @@ class HConstructDouble V8_FINAL : public HTemplateInstruction<2> {
HValue* lo() { return OperandAt(1); }
protected:
- virtual bool DataEquals(HValue* other) V8_OVERRIDE { return true; }
+ virtual bool DataEquals(HValue* other) OVERRIDE { return true; }
private:
explicit HConstructDouble(HValue* hi, HValue* lo) {
@@ -1789,7 +1789,7 @@ class HConstructDouble V8_FINAL : public HTemplateInstruction<2> {
SetOperandAt(1, lo);
}
- virtual bool IsDeletable() const V8_OVERRIDE { return true; }
+ virtual bool IsDeletable() const OVERRIDE { return true; }
};
@@ -1799,7 +1799,7 @@ enum RemovableSimulate {
};
-class HSimulate V8_FINAL : public HInstruction {
+class HSimulate FINAL : public HInstruction {
public:
HSimulate(BailoutId ast_id,
int pop_count,
@@ -1814,7 +1814,7 @@ class HSimulate V8_FINAL : public HInstruction {
done_with_replay_(false) {}
~HSimulate() {}
- virtual OStream& PrintDataTo(OStream& os) const V8_OVERRIDE; // NOLINT
+ virtual OStream& PrintDataTo(OStream& os) const OVERRIDE; // NOLINT
bool HasAstId() const { return !ast_id_.IsNone(); }
BailoutId ast_id() const { return ast_id_; }
@@ -1844,13 +1844,13 @@ class HSimulate V8_FINAL : public HInstruction {
}
return -1;
}
- virtual int OperandCount() const V8_OVERRIDE { return values_.length(); }
- virtual HValue* OperandAt(int index) const V8_OVERRIDE {
+ virtual int OperandCount() const OVERRIDE { return values_.length(); }
+ virtual HValue* OperandAt(int index) const OVERRIDE {
return values_[index];
}
- virtual bool HasEscapingOperandAt(int index) V8_OVERRIDE { return false; }
- virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE {
+ virtual bool HasEscapingOperandAt(int index) OVERRIDE { return false; }
+ virtual Representation RequiredInputRepresentation(int index) OVERRIDE {
return Representation::None();
}
@@ -1863,13 +1863,13 @@ class HSimulate V8_FINAL : public HInstruction {
DECLARE_CONCRETE_INSTRUCTION(Simulate)
#ifdef DEBUG
- virtual void Verify() V8_OVERRIDE;
+ virtual void Verify() OVERRIDE;
void set_closure(Handle<JSFunction> closure) { closure_ = closure; }
Handle<JSFunction> closure() const { return closure_; }
#endif
protected:
- virtual void InternalSetOperandAt(int index, HValue* value) V8_OVERRIDE {
+ virtual void InternalSetOperandAt(int index, HValue* value) OVERRIDE {
values_[index] = value;
}
@@ -1903,7 +1903,7 @@ class HSimulate V8_FINAL : public HInstruction {
};
-class HEnvironmentMarker V8_FINAL : public HTemplateInstruction<1> {
+class HEnvironmentMarker FINAL : public HTemplateInstruction<1> {
public:
enum Kind { BIND, LOOKUP };
@@ -1916,11 +1916,11 @@ class HEnvironmentMarker V8_FINAL : public HTemplateInstruction<1> {
next_simulate_ = simulate;
}
- virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE {
+ virtual Representation RequiredInputRepresentation(int index) OVERRIDE {
return Representation::None();
}
- virtual OStream& PrintDataTo(OStream& os) const V8_OVERRIDE; // NOLINT
+ virtual OStream& PrintDataTo(OStream& os) const OVERRIDE; // NOLINT
#ifdef DEBUG
void set_closure(Handle<JSFunction> closure) {
@@ -1947,7 +1947,7 @@ class HEnvironmentMarker V8_FINAL : public HTemplateInstruction<1> {
};
-class HStackCheck V8_FINAL : public HTemplateInstruction<1> {
+class HStackCheck FINAL : public HTemplateInstruction<1> {
public:
enum Type {
kFunctionEntry,
@@ -1958,7 +1958,7 @@ class HStackCheck V8_FINAL : public HTemplateInstruction<1> {
HValue* context() { return OperandAt(0); }
- virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE {
+ virtual Representation RequiredInputRepresentation(int index) OVERRIDE {
return Representation::Tagged();
}
@@ -1997,7 +1997,7 @@ class HArgumentsObject;
class HConstant;
-class HEnterInlined V8_FINAL : public HTemplateInstruction<0> {
+class HEnterInlined FINAL : public HTemplateInstruction<0> {
public:
static HEnterInlined* New(Zone* zone, HValue* context, BailoutId return_id,
Handle<JSFunction> closure,
@@ -2013,7 +2013,7 @@ class HEnterInlined V8_FINAL : public HTemplateInstruction<0> {
void RegisterReturnTarget(HBasicBlock* return_target, Zone* zone);
ZoneList<HBasicBlock*>* return_targets() { return &return_targets_; }
- virtual OStream& PrintDataTo(OStream& os) const V8_OVERRIDE; // NOLINT
+ virtual OStream& PrintDataTo(OStream& os) const OVERRIDE; // NOLINT
Handle<JSFunction> closure() const { return closure_; }
HConstant* closure_context() const { return closure_context_; }
@@ -2024,7 +2024,7 @@ class HEnterInlined V8_FINAL : public HTemplateInstruction<0> {
InliningKind inlining_kind() const { return inlining_kind_; }
BailoutId ReturnId() const { return return_id_; }
- virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE {
+ virtual Representation RequiredInputRepresentation(int index) OVERRIDE {
return Representation::None();
}
@@ -2063,18 +2063,18 @@ class HEnterInlined V8_FINAL : public HTemplateInstruction<0> {
};
-class HLeaveInlined V8_FINAL : public HTemplateInstruction<0> {
+class HLeaveInlined FINAL : public HTemplateInstruction<0> {
public:
HLeaveInlined(HEnterInlined* entry,
int drop_count)
: entry_(entry),
drop_count_(drop_count) { }
- virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE {
+ virtual Representation RequiredInputRepresentation(int index) OVERRIDE {
return Representation::None();
}
- virtual int argument_delta() const V8_OVERRIDE {
+ virtual int argument_delta() const OVERRIDE {
return entry_->arguments_pushed() ? -drop_count_ : 0;
}
@@ -2086,7 +2086,7 @@ class HLeaveInlined V8_FINAL : public HTemplateInstruction<0> {
};
-class HPushArguments V8_FINAL : public HInstruction {
+class HPushArguments FINAL : public HInstruction {
public:
static HPushArguments* New(Zone* zone, HValue* context) {
return new(zone) HPushArguments(zone);
@@ -2121,17 +2121,17 @@ class HPushArguments V8_FINAL : public HInstruction {
return instr;
}
- virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE {
+ virtual Representation RequiredInputRepresentation(int index) OVERRIDE {
return Representation::Tagged();
}
- virtual int argument_delta() const V8_OVERRIDE { return inputs_.length(); }
+ virtual int argument_delta() const OVERRIDE { return inputs_.length(); }
HValue* argument(int i) { return OperandAt(i); }
- virtual int OperandCount() const V8_FINAL V8_OVERRIDE {
+ virtual int OperandCount() const FINAL OVERRIDE {
return inputs_.length();
}
- virtual HValue* OperandAt(int i) const V8_FINAL V8_OVERRIDE {
+ virtual HValue* OperandAt(int i) const FINAL OVERRIDE {
return inputs_[i];
}
@@ -2140,7 +2140,7 @@ class HPushArguments V8_FINAL : public HInstruction {
DECLARE_CONCRETE_INSTRUCTION(PushArguments)
protected:
- virtual void InternalSetOperandAt(int i, HValue* value) V8_FINAL V8_OVERRIDE {
+ virtual void InternalSetOperandAt(int i, HValue* value) FINAL OVERRIDE {
inputs_[i] = value;
}
@@ -2154,18 +2154,18 @@ class HPushArguments V8_FINAL : public HInstruction {
};
-class HThisFunction V8_FINAL : public HTemplateInstruction<0> {
+class HThisFunction FINAL : public HTemplateInstruction<0> {
public:
DECLARE_INSTRUCTION_FACTORY_P0(HThisFunction);
- virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE {
+ virtual Representation RequiredInputRepresentation(int index) OVERRIDE {
return Representation::None();
}
DECLARE_CONCRETE_INSTRUCTION(ThisFunction)
protected:
- virtual bool DataEquals(HValue* other) V8_OVERRIDE { return true; }
+ virtual bool DataEquals(HValue* other) OVERRIDE { return true; }
private:
HThisFunction() {
@@ -2173,11 +2173,11 @@ class HThisFunction V8_FINAL : public HTemplateInstruction<0> {
SetFlag(kUseGVN);
}
- virtual bool IsDeletable() const V8_OVERRIDE { return true; }
+ virtual bool IsDeletable() const OVERRIDE { return true; }
};
-class HDeclareGlobals V8_FINAL : public HUnaryOperation {
+class HDeclareGlobals FINAL : public HUnaryOperation {
public:
DECLARE_INSTRUCTION_WITH_CONTEXT_FACTORY_P2(HDeclareGlobals,
Handle<FixedArray>,
@@ -2189,7 +2189,7 @@ class HDeclareGlobals V8_FINAL : public HUnaryOperation {
DECLARE_CONCRETE_INSTRUCTION(DeclareGlobals)
- virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE {
+ virtual Representation RequiredInputRepresentation(int index) OVERRIDE {
return Representation::Tagged();
}
@@ -2218,7 +2218,7 @@ class HCall : public HTemplateInstruction<V> {
this->SetAllSideEffects();
}
- virtual HType CalculateInferredType() V8_FINAL V8_OVERRIDE {
+ virtual HType CalculateInferredType() FINAL OVERRIDE {
return HType::Tagged();
}
@@ -2226,7 +2226,7 @@ class HCall : public HTemplateInstruction<V> {
return argument_count_;
}
- virtual int argument_delta() const V8_OVERRIDE {
+ virtual int argument_delta() const OVERRIDE {
return -argument_count();
}
@@ -2243,11 +2243,11 @@ class HUnaryCall : public HCall<1> {
}
virtual Representation RequiredInputRepresentation(
- int index) V8_FINAL V8_OVERRIDE {
+ int index) FINAL OVERRIDE {
return Representation::Tagged();
}
- virtual OStream& PrintDataTo(OStream& os) const V8_OVERRIDE; // NOLINT
+ virtual OStream& PrintDataTo(OStream& os) const OVERRIDE; // NOLINT
HValue* value() const { return OperandAt(0); }
};
@@ -2261,10 +2261,10 @@ class HBinaryCall : public HCall<2> {
SetOperandAt(1, second);
}
- virtual OStream& PrintDataTo(OStream& os) const V8_OVERRIDE; // NOLINT
+ virtual OStream& PrintDataTo(OStream& os) const OVERRIDE; // NOLINT
virtual Representation RequiredInputRepresentation(
- int index) V8_FINAL V8_OVERRIDE {
+ int index) FINAL OVERRIDE {
return Representation::Tagged();
}
@@ -2273,7 +2273,7 @@ class HBinaryCall : public HCall<2> {
};
-class HCallJSFunction V8_FINAL : public HCall<1> {
+class HCallJSFunction FINAL : public HCall<1> {
public:
static HCallJSFunction* New(Zone* zone,
HValue* context,
@@ -2283,17 +2283,17 @@ class HCallJSFunction V8_FINAL : public HCall<1> {
HValue* function() const { return OperandAt(0); }
- virtual OStream& PrintDataTo(OStream& os) const V8_OVERRIDE; // NOLINT
+ virtual OStream& PrintDataTo(OStream& os) const OVERRIDE; // NOLINT
virtual Representation RequiredInputRepresentation(
- int index) V8_FINAL V8_OVERRIDE {
+ int index) FINAL OVERRIDE {
DCHECK(index == 0);
return Representation::Tagged();
}
bool pass_argument_count() const { return pass_argument_count_; }
- virtual bool HasStackCheck() V8_FINAL V8_OVERRIDE {
+ virtual bool HasStackCheck() FINAL OVERRIDE {
return has_stack_check_;
}
@@ -2316,7 +2316,7 @@ class HCallJSFunction V8_FINAL : public HCall<1> {
};
-class HCallWithDescriptor V8_FINAL : public HInstruction {
+class HCallWithDescriptor FINAL : public HInstruction {
public:
static HCallWithDescriptor* New(Zone* zone, HValue* context, HValue* target,
int argument_count,
@@ -2329,15 +2329,15 @@ class HCallWithDescriptor V8_FINAL : public HInstruction {
return res;
}
- virtual int OperandCount() const V8_FINAL V8_OVERRIDE {
+ virtual int OperandCount() const FINAL OVERRIDE {
return values_.length();
}
- virtual HValue* OperandAt(int index) const V8_FINAL V8_OVERRIDE {
+ virtual HValue* OperandAt(int index) const FINAL OVERRIDE {
return values_[index];
}
virtual Representation RequiredInputRepresentation(
- int index) V8_FINAL V8_OVERRIDE {
+ int index) FINAL OVERRIDE {
if (index == 0) {
return Representation::Tagged();
} else {
@@ -2349,7 +2349,7 @@ class HCallWithDescriptor V8_FINAL : public HInstruction {
DECLARE_CONCRETE_INSTRUCTION(CallWithDescriptor)
- virtual HType CalculateInferredType() V8_FINAL V8_OVERRIDE {
+ virtual HType CalculateInferredType() FINAL OVERRIDE {
return HType::Tagged();
}
@@ -2357,7 +2357,7 @@ class HCallWithDescriptor V8_FINAL : public HInstruction {
return argument_count_;
}
- virtual int argument_delta() const V8_OVERRIDE {
+ virtual int argument_delta() const OVERRIDE {
return -argument_count_;
}
@@ -2367,7 +2367,7 @@ class HCallWithDescriptor V8_FINAL : public HInstruction {
return OperandAt(0);
}
- virtual OStream& PrintDataTo(OStream& os) const V8_OVERRIDE; // NOLINT
+ virtual OStream& PrintDataTo(OStream& os) const OVERRIDE; // NOLINT
private:
// The argument count includes the receiver.
@@ -2391,7 +2391,7 @@ class HCallWithDescriptor V8_FINAL : public HInstruction {
}
void InternalSetOperandAt(int index,
- HValue* value) V8_FINAL V8_OVERRIDE {
+ HValue* value) FINAL OVERRIDE {
values_[index] = value;
}
@@ -2401,7 +2401,7 @@ class HCallWithDescriptor V8_FINAL : public HInstruction {
};
-class HInvokeFunction V8_FINAL : public HBinaryCall {
+class HInvokeFunction FINAL : public HBinaryCall {
public:
DECLARE_INSTRUCTION_WITH_CONTEXT_FACTORY_P2(HInvokeFunction, HValue*, int);
@@ -2432,7 +2432,7 @@ class HInvokeFunction V8_FINAL : public HBinaryCall {
Handle<JSFunction> known_function() { return known_function_; }
int formal_parameter_count() const { return formal_parameter_count_; }
- virtual bool HasStackCheck() V8_FINAL V8_OVERRIDE {
+ virtual bool HasStackCheck() FINAL OVERRIDE {
return has_stack_check_;
}
@@ -2450,7 +2450,7 @@ class HInvokeFunction V8_FINAL : public HBinaryCall {
};
-class HCallFunction V8_FINAL : public HBinaryCall {
+class HCallFunction FINAL : public HBinaryCall {
public:
DECLARE_INSTRUCTION_WITH_CONTEXT_FACTORY_P2(HCallFunction, HValue*, int);
DECLARE_INSTRUCTION_WITH_CONTEXT_FACTORY_P3(
@@ -2462,7 +2462,7 @@ class HCallFunction V8_FINAL : public HBinaryCall {
DECLARE_CONCRETE_INSTRUCTION(CallFunction)
- virtual int argument_delta() const V8_OVERRIDE { return -argument_count(); }
+ virtual int argument_delta() const OVERRIDE { return -argument_count(); }
private:
HCallFunction(HValue* context,
@@ -2475,7 +2475,7 @@ class HCallFunction V8_FINAL : public HBinaryCall {
};
-class HCallNew V8_FINAL : public HBinaryCall {
+class HCallNew FINAL : public HBinaryCall {
public:
DECLARE_INSTRUCTION_WITH_CONTEXT_FACTORY_P2(HCallNew, HValue*, int);
@@ -2490,7 +2490,7 @@ class HCallNew V8_FINAL : public HBinaryCall {
};
-class HCallNewArray V8_FINAL : public HBinaryCall {
+class HCallNewArray FINAL : public HBinaryCall {
public:
DECLARE_INSTRUCTION_WITH_CONTEXT_FACTORY_P3(HCallNewArray,
HValue*,
@@ -2500,7 +2500,7 @@ class HCallNewArray V8_FINAL : public HBinaryCall {
HValue* context() { return first(); }
HValue* constructor() { return second(); }
- virtual OStream& PrintDataTo(OStream& os) const V8_OVERRIDE; // NOLINT
+ virtual OStream& PrintDataTo(OStream& os) const OVERRIDE; // NOLINT
ElementsKind elements_kind() const { return elements_kind_; }
@@ -2516,14 +2516,14 @@ class HCallNewArray V8_FINAL : public HBinaryCall {
};
-class HCallRuntime V8_FINAL : public HCall<1> {
+class HCallRuntime FINAL : public HCall<1> {
public:
DECLARE_INSTRUCTION_WITH_CONTEXT_FACTORY_P3(HCallRuntime,
Handle<String>,
const Runtime::Function*,
int);
- virtual OStream& PrintDataTo(OStream& os) const V8_OVERRIDE; // NOLINT
+ virtual OStream& PrintDataTo(OStream& os) const OVERRIDE; // NOLINT
HValue* context() { return OperandAt(0); }
const Runtime::Function* function() const { return c_function_; }
@@ -2533,7 +2533,7 @@ class HCallRuntime V8_FINAL : public HCall<1> {
save_doubles_ = save_doubles;
}
- virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE {
+ virtual Representation RequiredInputRepresentation(int index) OVERRIDE {
return Representation::Tagged();
}
@@ -2555,18 +2555,18 @@ class HCallRuntime V8_FINAL : public HCall<1> {
};
-class HMapEnumLength V8_FINAL : public HUnaryOperation {
+class HMapEnumLength FINAL : public HUnaryOperation {
public:
DECLARE_INSTRUCTION_FACTORY_P1(HMapEnumLength, HValue*);
- virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE {
+ virtual Representation RequiredInputRepresentation(int index) OVERRIDE {
return Representation::Tagged();
}
DECLARE_CONCRETE_INSTRUCTION(MapEnumLength)
protected:
- virtual bool DataEquals(HValue* other) V8_OVERRIDE { return true; }
+ virtual bool DataEquals(HValue* other) OVERRIDE { return true; }
private:
explicit HMapEnumLength(HValue* value)
@@ -2576,11 +2576,11 @@ class HMapEnumLength V8_FINAL : public HUnaryOperation {
SetDependsOnFlag(kMaps);
}
- virtual bool IsDeletable() const V8_OVERRIDE { return true; }
+ virtual bool IsDeletable() const OVERRIDE { return true; }
};
-class HUnaryMathOperation V8_FINAL : public HTemplateInstruction<2> {
+class HUnaryMathOperation FINAL : public HTemplateInstruction<2> {
public:
static HInstruction* New(Zone* zone,
HValue* context,
@@ -2590,9 +2590,9 @@ class HUnaryMathOperation V8_FINAL : public HTemplateInstruction<2> {
HValue* context() const { return OperandAt(0); }
HValue* value() const { return OperandAt(1); }
- virtual OStream& PrintDataTo(OStream& os) const V8_OVERRIDE; // NOLINT
+ virtual OStream& PrintDataTo(OStream& os) const OVERRIDE; // NOLINT
- virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE {
+ virtual Representation RequiredInputRepresentation(int index) OVERRIDE {
if (index == 0) {
return Representation::Tagged();
} else {
@@ -2616,11 +2616,11 @@ class HUnaryMathOperation V8_FINAL : public HTemplateInstruction<2> {
}
}
- virtual Range* InferRange(Zone* zone) V8_OVERRIDE;
+ virtual Range* InferRange(Zone* zone) OVERRIDE;
- virtual HValue* Canonicalize() V8_OVERRIDE;
- virtual Representation RepresentationFromUses() V8_OVERRIDE;
- virtual Representation RepresentationFromInputs() V8_OVERRIDE;
+ virtual HValue* Canonicalize() OVERRIDE;
+ virtual Representation RepresentationFromUses() OVERRIDE;
+ virtual Representation RepresentationFromInputs() OVERRIDE;
BuiltinFunctionId op() const { return op_; }
const char* OpName() const;
@@ -2628,7 +2628,7 @@ class HUnaryMathOperation V8_FINAL : public HTemplateInstruction<2> {
DECLARE_CONCRETE_INSTRUCTION(UnaryMathOperation)
protected:
- virtual bool DataEquals(HValue* other) V8_OVERRIDE {
+ virtual bool DataEquals(HValue* other) OVERRIDE {
HUnaryMathOperation* b = HUnaryMathOperation::cast(other);
return op_ == b->op();
}
@@ -2680,7 +2680,7 @@ class HUnaryMathOperation V8_FINAL : public HTemplateInstruction<2> {
SetFlag(kAllowUndefinedAsNaN);
}
- virtual bool IsDeletable() const V8_OVERRIDE { return true; }
+ virtual bool IsDeletable() const OVERRIDE { return true; }
HValue* SimplifiedDividendForMathFloorOfDiv(HDiv* hdiv);
HValue* SimplifiedDivisorForMathFloorOfDiv(HDiv* hdiv);
@@ -2689,12 +2689,12 @@ class HUnaryMathOperation V8_FINAL : public HTemplateInstruction<2> {
};
-class HLoadRoot V8_FINAL : public HTemplateInstruction<0> {
+class HLoadRoot FINAL : public HTemplateInstruction<0> {
public:
DECLARE_INSTRUCTION_FACTORY_P1(HLoadRoot, Heap::RootListIndex);
DECLARE_INSTRUCTION_FACTORY_P2(HLoadRoot, Heap::RootListIndex, HType);
- virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE {
+ virtual Representation RequiredInputRepresentation(int index) OVERRIDE {
return Representation::None();
}
@@ -2703,7 +2703,7 @@ class HLoadRoot V8_FINAL : public HTemplateInstruction<0> {
DECLARE_CONCRETE_INSTRUCTION(LoadRoot)
protected:
- virtual bool DataEquals(HValue* other) V8_OVERRIDE {
+ virtual bool DataEquals(HValue* other) OVERRIDE {
HLoadRoot* b = HLoadRoot::cast(other);
return index_ == b->index_;
}
@@ -2717,13 +2717,13 @@ class HLoadRoot V8_FINAL : public HTemplateInstruction<0> {
SetDependsOnFlag(kCalls);
}
- virtual bool IsDeletable() const V8_OVERRIDE { return true; }
+ virtual bool IsDeletable() const OVERRIDE { return true; }
const Heap::RootListIndex index_;
};
-class HCheckMaps V8_FINAL : public HTemplateInstruction<2> {
+class HCheckMaps FINAL : public HTemplateInstruction<2> {
public:
static HCheckMaps* New(Zone* zone, HValue* context, HValue* value,
Handle<Map> map, HValue* typecheck = NULL) {
@@ -2750,17 +2750,17 @@ class HCheckMaps V8_FINAL : public HTemplateInstruction<2> {
ClearDependsOnFlag(kMaps);
}
- virtual bool HasEscapingOperandAt(int index) V8_OVERRIDE { return false; }
- virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE {
+ virtual bool HasEscapingOperandAt(int index) OVERRIDE { return false; }
+ virtual Representation RequiredInputRepresentation(int index) OVERRIDE {
return Representation::Tagged();
}
- virtual HType CalculateInferredType() V8_OVERRIDE {
+ virtual HType CalculateInferredType() OVERRIDE {
if (value()->type().IsHeapObject()) return value()->type();
return HType::HeapObject();
}
- virtual OStream& PrintDataTo(OStream& os) const V8_OVERRIDE; // NOLINT
+ virtual OStream& PrintDataTo(OStream& os) const OVERRIDE; // NOLINT
HValue* value() const { return OperandAt(0); }
HValue* typecheck() const { return OperandAt(1); }
@@ -2772,7 +2772,7 @@ class HCheckMaps V8_FINAL : public HTemplateInstruction<2> {
bool HasMigrationTarget() const { return has_migration_target_; }
- virtual HValue* Canonicalize() V8_OVERRIDE;
+ virtual HValue* Canonicalize() OVERRIDE;
static HCheckMaps* CreateAndInsertAfter(Zone* zone,
HValue* value,
@@ -2794,7 +2794,7 @@ class HCheckMaps V8_FINAL : public HTemplateInstruction<2> {
DECLARE_CONCRETE_INSTRUCTION(CheckMaps)
protected:
- virtual bool DataEquals(HValue* other) V8_OVERRIDE {
+ virtual bool DataEquals(HValue* other) OVERRIDE {
return this->maps()->Equals(HCheckMaps::cast(other)->maps());
}
@@ -2842,7 +2842,7 @@ class HCheckMaps V8_FINAL : public HTemplateInstruction<2> {
};
-class HCheckValue V8_FINAL : public HUnaryOperation {
+class HCheckValue FINAL : public HUnaryOperation {
public:
static HCheckValue* New(Zone* zone, HValue* context,
HValue* value, Handle<JSFunction> func) {
@@ -2861,19 +2861,19 @@ class HCheckValue V8_FINAL : public HUnaryOperation {
return new(zone) HCheckValue(value, target, object_in_new_space);
}
- virtual void FinalizeUniqueness() V8_OVERRIDE {
+ virtual void FinalizeUniqueness() OVERRIDE {
object_ = Unique<HeapObject>(object_.handle());
}
- virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE {
+ virtual Representation RequiredInputRepresentation(int index) OVERRIDE {
return Representation::Tagged();
}
- virtual OStream& PrintDataTo(OStream& os) const V8_OVERRIDE; // NOLINT
+ virtual OStream& PrintDataTo(OStream& os) const OVERRIDE; // NOLINT
- virtual HValue* Canonicalize() V8_OVERRIDE;
+ virtual HValue* Canonicalize() OVERRIDE;
#ifdef DEBUG
- virtual void Verify() V8_OVERRIDE;
+ virtual void Verify() OVERRIDE;
#endif
Unique<HeapObject> object() const { return object_; }
@@ -2882,7 +2882,7 @@ class HCheckValue V8_FINAL : public HUnaryOperation {
DECLARE_CONCRETE_INSTRUCTION(CheckValue)
protected:
- virtual bool DataEquals(HValue* other) V8_OVERRIDE {
+ virtual bool DataEquals(HValue* other) OVERRIDE {
HCheckValue* b = HCheckValue::cast(other);
return object_ == b->object_;
}
@@ -2902,7 +2902,7 @@ class HCheckValue V8_FINAL : public HUnaryOperation {
};
-class HCheckInstanceType V8_FINAL : public HUnaryOperation {
+class HCheckInstanceType FINAL : public HUnaryOperation {
public:
enum Check {
IS_SPEC_OBJECT,
@@ -2914,13 +2914,13 @@ class HCheckInstanceType V8_FINAL : public HUnaryOperation {
DECLARE_INSTRUCTION_FACTORY_P2(HCheckInstanceType, HValue*, Check);
- virtual OStream& PrintDataTo(OStream& os) const V8_OVERRIDE; // NOLINT
+ virtual OStream& PrintDataTo(OStream& os) const OVERRIDE; // NOLINT
- virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE {
+ virtual Representation RequiredInputRepresentation(int index) OVERRIDE {
return Representation::Tagged();
}
- virtual HType CalculateInferredType() V8_OVERRIDE {
+ virtual HType CalculateInferredType() OVERRIDE {
switch (check_) {
case IS_SPEC_OBJECT: return HType::JSObject();
case IS_JS_ARRAY: return HType::JSArray();
@@ -2931,7 +2931,7 @@ class HCheckInstanceType V8_FINAL : public HUnaryOperation {
return HType::Tagged();
}
- virtual HValue* Canonicalize() V8_OVERRIDE;
+ virtual HValue* Canonicalize() OVERRIDE;
bool is_interval_check() const { return check_ <= LAST_INTERVAL_CHECK; }
void GetCheckInterval(InstanceType* first, InstanceType* last);
@@ -2945,7 +2945,7 @@ class HCheckInstanceType V8_FINAL : public HUnaryOperation {
// TODO(ager): It could be nice to allow the ommision of instance
// type checks if we have already performed an instance type check
// with a larger range.
- virtual bool DataEquals(HValue* other) V8_OVERRIDE {
+ virtual bool DataEquals(HValue* other) OVERRIDE {
HCheckInstanceType* b = HCheckInstanceType::cast(other);
return check_ == b->check_;
}
@@ -2965,15 +2965,15 @@ class HCheckInstanceType V8_FINAL : public HUnaryOperation {
};
-class HCheckSmi V8_FINAL : public HUnaryOperation {
+class HCheckSmi FINAL : public HUnaryOperation {
public:
DECLARE_INSTRUCTION_FACTORY_P1(HCheckSmi, HValue*);
- virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE {
+ virtual Representation RequiredInputRepresentation(int index) OVERRIDE {
return Representation::Tagged();
}
- virtual HValue* Canonicalize() V8_OVERRIDE {
+ virtual HValue* Canonicalize() OVERRIDE {
HType value_type = value()->type();
if (value_type.IsSmi()) {
return NULL;
@@ -2984,7 +2984,7 @@ class HCheckSmi V8_FINAL : public HUnaryOperation {
DECLARE_CONCRETE_INSTRUCTION(CheckSmi)
protected:
- virtual bool DataEquals(HValue* other) V8_OVERRIDE { return true; }
+ virtual bool DataEquals(HValue* other) OVERRIDE { return true; }
private:
explicit HCheckSmi(HValue* value) : HUnaryOperation(value, HType::Smi()) {
@@ -2994,32 +2994,32 @@ class HCheckSmi V8_FINAL : public HUnaryOperation {
};
-class HCheckHeapObject V8_FINAL : public HUnaryOperation {
+class HCheckHeapObject FINAL : public HUnaryOperation {
public:
DECLARE_INSTRUCTION_FACTORY_P1(HCheckHeapObject, HValue*);
- virtual bool HasEscapingOperandAt(int index) V8_OVERRIDE { return false; }
- virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE {
+ virtual bool HasEscapingOperandAt(int index) OVERRIDE { return false; }
+ virtual Representation RequiredInputRepresentation(int index) OVERRIDE {
return Representation::Tagged();
}
- virtual HType CalculateInferredType() V8_OVERRIDE {
+ virtual HType CalculateInferredType() OVERRIDE {
if (value()->type().IsHeapObject()) return value()->type();
return HType::HeapObject();
}
#ifdef DEBUG
- virtual void Verify() V8_OVERRIDE;
+ virtual void Verify() OVERRIDE;
#endif
- virtual HValue* Canonicalize() V8_OVERRIDE {
+ virtual HValue* Canonicalize() OVERRIDE {
return value()->type().IsHeapObject() ? NULL : this;
}
DECLARE_CONCRETE_INSTRUCTION(CheckHeapObject)
protected:
- virtual bool DataEquals(HValue* other) V8_OVERRIDE { return true; }
+ virtual bool DataEquals(HValue* other) OVERRIDE { return true; }
private:
explicit HCheckHeapObject(HValue* value) : HUnaryOperation(value) {
@@ -3049,7 +3049,7 @@ class HPhi;
class HBitwise;
-class InductionVariableData V8_FINAL : public ZoneObject {
+class InductionVariableData FINAL : public ZoneObject {
public:
class InductionVariableCheck : public ZoneObject {
public:
@@ -3249,7 +3249,7 @@ class InductionVariableData V8_FINAL : public ZoneObject {
};
-class HPhi V8_FINAL : public HValue {
+class HPhi FINAL : public HValue {
public:
HPhi(int merged_index, Zone* zone)
: inputs_(2, zone),
@@ -3265,20 +3265,20 @@ class HPhi V8_FINAL : public HValue {
SetFlag(kAllowUndefinedAsNaN);
}
- virtual Representation RepresentationFromInputs() V8_OVERRIDE;
+ virtual Representation RepresentationFromInputs() OVERRIDE;
- virtual Range* InferRange(Zone* zone) V8_OVERRIDE;
+ virtual Range* InferRange(Zone* zone) OVERRIDE;
virtual void InferRepresentation(
- HInferRepresentationPhase* h_infer) V8_OVERRIDE;
- virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE {
+ HInferRepresentationPhase* h_infer) OVERRIDE;
+ virtual Representation RequiredInputRepresentation(int index) OVERRIDE {
return representation();
}
- virtual Representation KnownOptimalRepresentation() V8_OVERRIDE {
+ virtual Representation KnownOptimalRepresentation() OVERRIDE {
return representation();
}
- virtual HType CalculateInferredType() V8_OVERRIDE;
- virtual int OperandCount() const V8_OVERRIDE { return inputs_.length(); }
- virtual HValue* OperandAt(int index) const V8_OVERRIDE {
+ virtual HType CalculateInferredType() OVERRIDE;
+ virtual int OperandCount() const OVERRIDE { return inputs_.length(); }
+ virtual HValue* OperandAt(int index) const OVERRIDE {
return inputs_[index];
}
HValue* GetRedundantReplacement();
@@ -3288,7 +3288,7 @@ class HPhi V8_FINAL : public HValue {
bool IsReceiver() const { return merged_index_ == 0; }
bool HasMergedIndex() const { return merged_index_ != kInvalidMergedIndex; }
- virtual HSourcePosition position() const V8_OVERRIDE;
+ virtual HSourcePosition position() const OVERRIDE;
int merged_index() const { return merged_index_; }
@@ -3307,10 +3307,10 @@ class HPhi V8_FINAL : public HValue {
induction_variable_data_ = InductionVariableData::ExaminePhi(this);
}
- virtual OStream& PrintTo(OStream& os) const V8_OVERRIDE; // NOLINT
+ virtual OStream& PrintTo(OStream& os) const OVERRIDE; // NOLINT
#ifdef DEBUG
- virtual void Verify() V8_OVERRIDE;
+ virtual void Verify() OVERRIDE;
#endif
void InitRealUses(int id);
@@ -3347,7 +3347,7 @@ class HPhi V8_FINAL : public HValue {
DCHECK(value->IsPhi());
return reinterpret_cast<HPhi*>(value);
}
- virtual Opcode opcode() const V8_OVERRIDE { return HValue::kPhi; }
+ virtual Opcode opcode() const OVERRIDE { return HValue::kPhi; }
void SimplifyConstantInputs();
@@ -3355,8 +3355,8 @@ class HPhi V8_FINAL : public HValue {
static const int kInvalidMergedIndex = -1;
protected:
- virtual void DeleteFromGraph() V8_OVERRIDE;
- virtual void InternalSetOperandAt(int index, HValue* value) V8_OVERRIDE {
+ virtual void DeleteFromGraph() OVERRIDE;
+ virtual void InternalSetOperandAt(int index, HValue* value) OVERRIDE {
inputs_[index] = value;
}
@@ -3370,7 +3370,7 @@ class HPhi V8_FINAL : public HValue {
InductionVariableData* induction_variable_data_;
// TODO(titzer): we can't eliminate the receiver for generating backtraces
- virtual bool IsDeletable() const V8_OVERRIDE { return !IsReceiver(); }
+ virtual bool IsDeletable() const OVERRIDE { return !IsReceiver(); }
};
@@ -3379,24 +3379,24 @@ class HDematerializedObject : public HInstruction {
public:
HDematerializedObject(int count, Zone* zone) : values_(count, zone) {}
- virtual int OperandCount() const V8_FINAL V8_OVERRIDE {
+ virtual int OperandCount() const FINAL OVERRIDE {
return values_.length();
}
- virtual HValue* OperandAt(int index) const V8_FINAL V8_OVERRIDE {
+ virtual HValue* OperandAt(int index) const FINAL OVERRIDE {
return values_[index];
}
- virtual bool HasEscapingOperandAt(int index) V8_FINAL V8_OVERRIDE {
+ virtual bool HasEscapingOperandAt(int index) FINAL OVERRIDE {
return false;
}
virtual Representation RequiredInputRepresentation(
- int index) V8_FINAL V8_OVERRIDE {
+ int index) FINAL OVERRIDE {
return Representation::None();
}
protected:
virtual void InternalSetOperandAt(int index,
- HValue* value) V8_FINAL V8_OVERRIDE {
+ HValue* value) FINAL OVERRIDE {
values_[index] = value;
}
@@ -3405,7 +3405,7 @@ class HDematerializedObject : public HInstruction {
};
-class HArgumentsObject V8_FINAL : public HDematerializedObject {
+class HArgumentsObject FINAL : public HDematerializedObject {
public:
static HArgumentsObject* New(Zone* zone, HValue* context, int count) {
return new(zone) HArgumentsObject(count, zone);
@@ -3432,7 +3432,7 @@ class HArgumentsObject V8_FINAL : public HDematerializedObject {
};
-class HCapturedObject V8_FINAL : public HDematerializedObject {
+class HCapturedObject FINAL : public HDematerializedObject {
public:
HCapturedObject(int length, int id, Zone* zone)
: HDematerializedObject(length, zone), capture_id_(id) {
@@ -3459,7 +3459,7 @@ class HCapturedObject V8_FINAL : public HDematerializedObject {
// Replay effects of this instruction on the given environment.
void ReplayEnvironment(HEnvironment* env);
- virtual OStream& PrintDataTo(OStream& os) const V8_OVERRIDE; // NOLINT
+ virtual OStream& PrintDataTo(OStream& os) const OVERRIDE; // NOLINT
DECLARE_CONCRETE_INSTRUCTION(CapturedObject)
@@ -3469,11 +3469,11 @@ class HCapturedObject V8_FINAL : public HDematerializedObject {
// Note that we cannot DCE captured objects as they are used to replay
// the environment. This method is here as an explicit reminder.
// TODO(mstarzinger): Turn HSimulates into full snapshots maybe?
- virtual bool IsDeletable() const V8_FINAL V8_OVERRIDE { return false; }
+ virtual bool IsDeletable() const FINAL OVERRIDE { return false; }
};
-class HConstant V8_FINAL : public HTemplateInstruction<0> {
+class HConstant FINAL : public HTemplateInstruction<0> {
public:
DECLARE_INSTRUCTION_FACTORY_P1(HConstant, int32_t);
DECLARE_INSTRUCTION_FACTORY_P2(HConstant, int32_t, Representation);
@@ -3552,11 +3552,11 @@ class HConstant V8_FINAL : public HTemplateInstruction<0> {
return instance_type_ == MAP_TYPE;
}
- virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE {
+ virtual Representation RequiredInputRepresentation(int index) OVERRIDE {
return Representation::None();
}
- virtual Representation KnownOptimalRepresentation() V8_OVERRIDE {
+ virtual Representation KnownOptimalRepresentation() OVERRIDE {
if (HasSmiValue() && SmiValuesAre31Bits()) return Representation::Smi();
if (HasInteger32Value()) return Representation::Integer32();
if (HasNumberValue()) return Representation::Double();
@@ -3564,8 +3564,8 @@ class HConstant V8_FINAL : public HTemplateInstruction<0> {
return Representation::Tagged();
}
- virtual bool EmitAtUses() V8_OVERRIDE;
- virtual OStream& PrintDataTo(OStream& os) const V8_OVERRIDE; // NOLINT
+ virtual bool EmitAtUses() OVERRIDE;
+ virtual OStream& PrintDataTo(OStream& os) const OVERRIDE; // NOLINT
HConstant* CopyToRepresentation(Representation r, Zone* zone) const;
Maybe<HConstant*> CopyToTruncatedInt32(Zone* zone);
Maybe<HConstant*> CopyToTruncatedNumber(Zone* zone);
@@ -3635,7 +3635,7 @@ class HConstant V8_FINAL : public HTemplateInstruction<0> {
return object_map_;
}
- virtual intptr_t Hashcode() V8_OVERRIDE {
+ virtual intptr_t Hashcode() OVERRIDE {
if (has_int32_value_) {
return static_cast<intptr_t>(int32_value_);
} else if (has_double_value_) {
@@ -3648,7 +3648,7 @@ class HConstant V8_FINAL : public HTemplateInstruction<0> {
}
}
- virtual void FinalizeUniqueness() V8_OVERRIDE {
+ virtual void FinalizeUniqueness() OVERRIDE {
if (!has_double_value_ && !has_external_reference_value_) {
DCHECK(!object_.handle().is_null());
object_ = Unique<Object>(object_.handle());
@@ -3663,7 +3663,7 @@ class HConstant V8_FINAL : public HTemplateInstruction<0> {
return object_.IsInitialized() && object_ == other;
}
- virtual bool DataEquals(HValue* other) V8_OVERRIDE {
+ virtual bool DataEquals(HValue* other) OVERRIDE {
HConstant* other_constant = HConstant::cast(other);
if (has_int32_value_) {
return other_constant->has_int32_value_ &&
@@ -3688,13 +3688,13 @@ class HConstant V8_FINAL : public HTemplateInstruction<0> {
}
#ifdef DEBUG
- virtual void Verify() V8_OVERRIDE { }
+ virtual void Verify() OVERRIDE { }
#endif
DECLARE_CONCRETE_INSTRUCTION(Constant)
protected:
- virtual Range* InferRange(Zone* zone) V8_OVERRIDE;
+ virtual Range* InferRange(Zone* zone) OVERRIDE;
private:
friend class HGraph;
@@ -3722,7 +3722,7 @@ class HConstant V8_FINAL : public HTemplateInstruction<0> {
void Initialize(Representation r);
- virtual bool IsDeletable() const V8_OVERRIDE { return true; }
+ virtual bool IsDeletable() const OVERRIDE { return true; }
// If this is a numerical constant, object_ either points to the
// HeapObject the constant originated from or is null. If the
@@ -3807,30 +3807,30 @@ class HBinaryOperation : public HTemplateInstruction<3> {
observed_output_representation_ = observed;
}
- virtual Representation observed_input_representation(int index) V8_OVERRIDE {
+ virtual Representation observed_input_representation(int index) OVERRIDE {
if (index == 0) return Representation::Tagged();
return observed_input_representation_[index - 1];
}
virtual void UpdateRepresentation(Representation new_rep,
HInferRepresentationPhase* h_infer,
- const char* reason) V8_OVERRIDE {
+ const char* reason) OVERRIDE {
Representation rep = !FLAG_smi_binop && new_rep.IsSmi()
? Representation::Integer32() : new_rep;
HValue::UpdateRepresentation(rep, h_infer, reason);
}
virtual void InferRepresentation(
- HInferRepresentationPhase* h_infer) V8_OVERRIDE;
- virtual Representation RepresentationFromInputs() V8_OVERRIDE;
+ HInferRepresentationPhase* h_infer) OVERRIDE;
+ virtual Representation RepresentationFromInputs() OVERRIDE;
Representation RepresentationFromOutput();
- virtual void AssumeRepresentation(Representation r) V8_OVERRIDE;
+ virtual void AssumeRepresentation(Representation r) OVERRIDE;
virtual bool IsCommutative() const { return false; }
- virtual OStream& PrintDataTo(OStream& os) const V8_OVERRIDE; // NOLINT
+ virtual OStream& PrintDataTo(OStream& os) const OVERRIDE; // NOLINT
- virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE {
+ virtual Representation RequiredInputRepresentation(int index) OVERRIDE {
if (index == 0) return Representation::Tagged();
return representation();
}
@@ -3858,22 +3858,22 @@ class HBinaryOperation : public HTemplateInstruction<3> {
};
-class HWrapReceiver V8_FINAL : public HTemplateInstruction<2> {
+class HWrapReceiver FINAL : public HTemplateInstruction<2> {
public:
DECLARE_INSTRUCTION_FACTORY_P2(HWrapReceiver, HValue*, HValue*);
- virtual bool DataEquals(HValue* other) V8_OVERRIDE { return true; }
+ virtual bool DataEquals(HValue* other) OVERRIDE { return true; }
- virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE {
+ virtual Representation RequiredInputRepresentation(int index) OVERRIDE {
return Representation::Tagged();
}
HValue* receiver() const { return OperandAt(0); }
HValue* function() const { return OperandAt(1); }
- virtual HValue* Canonicalize() V8_OVERRIDE;
+ virtual HValue* Canonicalize() OVERRIDE;
- virtual OStream& PrintDataTo(OStream& os) const V8_OVERRIDE; // NOLINT
+ virtual OStream& PrintDataTo(OStream& os) const OVERRIDE; // NOLINT
bool known_function() const { return known_function_; }
DECLARE_CONCRETE_INSTRUCTION(WrapReceiver)
@@ -3892,12 +3892,12 @@ class HWrapReceiver V8_FINAL : public HTemplateInstruction<2> {
};
-class HApplyArguments V8_FINAL : public HTemplateInstruction<4> {
+class HApplyArguments FINAL : public HTemplateInstruction<4> {
public:
DECLARE_INSTRUCTION_FACTORY_P4(HApplyArguments, HValue*, HValue*, HValue*,
HValue*);
- virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE {
+ virtual Representation RequiredInputRepresentation(int index) OVERRIDE {
// The length is untagged, all other inputs are tagged.
return (index == 2)
? Representation::Integer32()
@@ -3926,20 +3926,20 @@ class HApplyArguments V8_FINAL : public HTemplateInstruction<4> {
};
-class HArgumentsElements V8_FINAL : public HTemplateInstruction<0> {
+class HArgumentsElements FINAL : public HTemplateInstruction<0> {
public:
DECLARE_INSTRUCTION_FACTORY_P1(HArgumentsElements, bool);
DECLARE_CONCRETE_INSTRUCTION(ArgumentsElements)
- virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE {
+ virtual Representation RequiredInputRepresentation(int index) OVERRIDE {
return Representation::None();
}
bool from_inlined() const { return from_inlined_; }
protected:
- virtual bool DataEquals(HValue* other) V8_OVERRIDE { return true; }
+ virtual bool DataEquals(HValue* other) OVERRIDE { return true; }
private:
explicit HArgumentsElements(bool from_inlined) : from_inlined_(from_inlined) {
@@ -3949,24 +3949,24 @@ class HArgumentsElements V8_FINAL : public HTemplateInstruction<0> {
SetFlag(kUseGVN);
}
- virtual bool IsDeletable() const V8_OVERRIDE { return true; }
+ virtual bool IsDeletable() const OVERRIDE { return true; }
bool from_inlined_;
};
-class HArgumentsLength V8_FINAL : public HUnaryOperation {
+class HArgumentsLength FINAL : public HUnaryOperation {
public:
DECLARE_INSTRUCTION_FACTORY_P1(HArgumentsLength, HValue*);
- virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE {
+ virtual Representation RequiredInputRepresentation(int index) OVERRIDE {
return Representation::Tagged();
}
DECLARE_CONCRETE_INSTRUCTION(ArgumentsLength)
protected:
- virtual bool DataEquals(HValue* other) V8_OVERRIDE { return true; }
+ virtual bool DataEquals(HValue* other) OVERRIDE { return true; }
private:
explicit HArgumentsLength(HValue* value) : HUnaryOperation(value) {
@@ -3974,17 +3974,17 @@ class HArgumentsLength V8_FINAL : public HUnaryOperation {
SetFlag(kUseGVN);
}
- virtual bool IsDeletable() const V8_OVERRIDE { return true; }
+ virtual bool IsDeletable() const OVERRIDE { return true; }
};
-class HAccessArgumentsAt V8_FINAL : public HTemplateInstruction<3> {
+class HAccessArgumentsAt FINAL : public HTemplateInstruction<3> {
public:
DECLARE_INSTRUCTION_FACTORY_P3(HAccessArgumentsAt, HValue*, HValue*, HValue*);
- virtual OStream& PrintDataTo(OStream& os) const V8_OVERRIDE; // NOLINT
+ virtual OStream& PrintDataTo(OStream& os) const OVERRIDE; // NOLINT
- virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE {
+ virtual Representation RequiredInputRepresentation(int index) OVERRIDE {
// The arguments elements is considered tagged.
return index == 0
? Representation::Tagged()
@@ -4006,14 +4006,14 @@ class HAccessArgumentsAt V8_FINAL : public HTemplateInstruction<3> {
SetOperandAt(2, index);
}
- virtual bool DataEquals(HValue* other) V8_OVERRIDE { return true; }
+ virtual bool DataEquals(HValue* other) OVERRIDE { return true; }
};
class HBoundsCheckBaseIndexInformation;
-class HBoundsCheck V8_FINAL : public HTemplateInstruction<2> {
+class HBoundsCheck FINAL : public HTemplateInstruction<2> {
public:
DECLARE_INSTRUCTION_FACTORY_P2(HBoundsCheck, HValue*, HValue*);
@@ -4042,21 +4042,21 @@ class HBoundsCheck V8_FINAL : public HTemplateInstruction<2> {
}
}
- virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE {
+ virtual Representation RequiredInputRepresentation(int index) OVERRIDE {
return representation();
}
- virtual OStream& PrintDataTo(OStream& os) const V8_OVERRIDE; // NOLINT
+ virtual OStream& PrintDataTo(OStream& os) const OVERRIDE; // NOLINT
virtual void InferRepresentation(
- HInferRepresentationPhase* h_infer) V8_OVERRIDE;
+ HInferRepresentationPhase* h_infer) OVERRIDE;
HValue* index() const { return OperandAt(0); }
HValue* length() const { return OperandAt(1); }
bool allow_equality() const { return allow_equality_; }
void set_allow_equality(bool v) { allow_equality_ = v; }
- virtual int RedefinedOperandIndex() V8_OVERRIDE { return 0; }
- virtual bool IsPurelyInformativeDefinition() V8_OVERRIDE {
+ virtual int RedefinedOperandIndex() OVERRIDE { return 0; }
+ virtual bool IsPurelyInformativeDefinition() OVERRIDE {
return skip_check();
}
@@ -4065,9 +4065,9 @@ class HBoundsCheck V8_FINAL : public HTemplateInstruction<2> {
protected:
friend class HBoundsCheckBaseIndexInformation;
- virtual Range* InferRange(Zone* zone) V8_OVERRIDE;
+ virtual Range* InferRange(Zone* zone) OVERRIDE;
- virtual bool DataEquals(HValue* other) V8_OVERRIDE { return true; }
+ virtual bool DataEquals(HValue* other) OVERRIDE { return true; }
bool skip_check_;
HValue* base_;
int offset_;
@@ -4089,13 +4089,13 @@ class HBoundsCheck V8_FINAL : public HTemplateInstruction<2> {
SetFlag(kUseGVN);
}
- virtual bool IsDeletable() const V8_OVERRIDE {
+ virtual bool IsDeletable() const OVERRIDE {
return skip_check() && !FLAG_debug_code;
}
};
-class HBoundsCheckBaseIndexInformation V8_FINAL
+class HBoundsCheckBaseIndexInformation FINAL
: public HTemplateInstruction<2> {
public:
explicit HBoundsCheckBaseIndexInformation(HBoundsCheck* check) {
@@ -4113,14 +4113,14 @@ class HBoundsCheckBaseIndexInformation V8_FINAL
DECLARE_CONCRETE_INSTRUCTION(BoundsCheckBaseIndexInformation)
- virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE {
+ virtual Representation RequiredInputRepresentation(int index) OVERRIDE {
return representation();
}
- virtual OStream& PrintDataTo(OStream& os) const V8_OVERRIDE; // NOLINT
+ virtual OStream& PrintDataTo(OStream& os) const OVERRIDE; // NOLINT
- virtual int RedefinedOperandIndex() V8_OVERRIDE { return 0; }
- virtual bool IsPurelyInformativeDefinition() V8_OVERRIDE { return true; }
+ virtual int RedefinedOperandIndex() OVERRIDE { return 0; }
+ virtual bool IsPurelyInformativeDefinition() OVERRIDE { return true; }
};
@@ -4135,7 +4135,7 @@ class HBitwiseBinaryOperation : public HBinaryOperation {
SetAllSideEffects();
}
- virtual void RepresentationChanged(Representation to) V8_OVERRIDE {
+ virtual void RepresentationChanged(Representation to) OVERRIDE {
if (to.IsTagged() &&
(left()->ToNumberCanBeObserved() || right()->ToNumberCanBeObserved())) {
SetAllSideEffects();
@@ -4149,13 +4149,13 @@ class HBitwiseBinaryOperation : public HBinaryOperation {
virtual void UpdateRepresentation(Representation new_rep,
HInferRepresentationPhase* h_infer,
- const char* reason) V8_OVERRIDE {
+ const char* reason) OVERRIDE {
// We only generate either int32 or generic tagged bitwise operations.
if (new_rep.IsDouble()) new_rep = Representation::Integer32();
HBinaryOperation::UpdateRepresentation(new_rep, h_infer, reason);
}
- virtual Representation observed_input_representation(int index) V8_OVERRIDE {
+ virtual Representation observed_input_representation(int index) OVERRIDE {
Representation r = HBinaryOperation::observed_input_representation(index);
if (r.IsDouble()) return Representation::Integer32();
return r;
@@ -4169,11 +4169,11 @@ class HBitwiseBinaryOperation : public HBinaryOperation {
DECLARE_ABSTRACT_INSTRUCTION(BitwiseBinaryOperation)
private:
- virtual bool IsDeletable() const V8_OVERRIDE { return true; }
+ virtual bool IsDeletable() const OVERRIDE { return true; }
};
-class HMathFloorOfDiv V8_FINAL : public HBinaryOperation {
+class HMathFloorOfDiv FINAL : public HBinaryOperation {
public:
DECLARE_INSTRUCTION_WITH_CONTEXT_FACTORY_P2(HMathFloorOfDiv,
HValue*,
@@ -4182,7 +4182,7 @@ class HMathFloorOfDiv V8_FINAL : public HBinaryOperation {
DECLARE_CONCRETE_INSTRUCTION(MathFloorOfDiv)
protected:
- virtual bool DataEquals(HValue* other) V8_OVERRIDE { return true; }
+ virtual bool DataEquals(HValue* other) OVERRIDE { return true; }
private:
HMathFloorOfDiv(HValue* context, HValue* left, HValue* right)
@@ -4197,9 +4197,9 @@ class HMathFloorOfDiv V8_FINAL : public HBinaryOperation {
SetFlag(kAllowUndefinedAsNaN);
}
- virtual Range* InferRange(Zone* zone) V8_OVERRIDE;
+ virtual Range* InferRange(Zone* zone) OVERRIDE;
- virtual bool IsDeletable() const V8_OVERRIDE { return true; }
+ virtual bool IsDeletable() const OVERRIDE { return true; }
};
@@ -4212,7 +4212,7 @@ class HArithmeticBinaryOperation : public HBinaryOperation {
SetFlag(kAllowUndefinedAsNaN);
}
- virtual void RepresentationChanged(Representation to) V8_OVERRIDE {
+ virtual void RepresentationChanged(Representation to) OVERRIDE {
if (to.IsTagged() &&
(left()->ToNumberCanBeObserved() || right()->ToNumberCanBeObserved())) {
SetAllSideEffects();
@@ -4227,23 +4227,23 @@ class HArithmeticBinaryOperation : public HBinaryOperation {
DECLARE_ABSTRACT_INSTRUCTION(ArithmeticBinaryOperation)
private:
- virtual bool IsDeletable() const V8_OVERRIDE { return true; }
+ virtual bool IsDeletable() const OVERRIDE { return true; }
};
-class HCompareGeneric V8_FINAL : public HBinaryOperation {
+class HCompareGeneric FINAL : public HBinaryOperation {
public:
DECLARE_INSTRUCTION_WITH_CONTEXT_FACTORY_P3(HCompareGeneric, HValue*,
HValue*, Token::Value);
- virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE {
+ virtual Representation RequiredInputRepresentation(int index) OVERRIDE {
return index == 0
? Representation::Tagged()
: representation();
}
Token::Value token() const { return token_; }
- virtual OStream& PrintDataTo(OStream& os) const V8_OVERRIDE; // NOLINT
+ virtual OStream& PrintDataTo(OStream& os) const OVERRIDE; // NOLINT
DECLARE_CONCRETE_INSTRUCTION(CompareGeneric)
@@ -4282,18 +4282,18 @@ class HCompareNumericAndBranch : public HTemplateControlInstruction<2, 2> {
}
virtual void InferRepresentation(
- HInferRepresentationPhase* h_infer) V8_OVERRIDE;
+ HInferRepresentationPhase* h_infer) OVERRIDE;
- virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE {
+ virtual Representation RequiredInputRepresentation(int index) OVERRIDE {
return representation();
}
- virtual Representation observed_input_representation(int index) V8_OVERRIDE {
+ virtual Representation observed_input_representation(int index) OVERRIDE {
return observed_input_representation_[index];
}
- virtual bool KnownSuccessorBlock(HBasicBlock** block) V8_OVERRIDE;
+ virtual bool KnownSuccessorBlock(HBasicBlock** block) OVERRIDE;
- virtual OStream& PrintDataTo(OStream& os) const V8_OVERRIDE; // NOLINT
+ virtual OStream& PrintDataTo(OStream& os) const OVERRIDE; // NOLINT
void SetOperandPositions(Zone* zone,
HSourcePosition left_pos,
@@ -4324,16 +4324,16 @@ class HCompareNumericAndBranch : public HTemplateControlInstruction<2, 2> {
};
-class HCompareHoleAndBranch V8_FINAL : public HUnaryControlInstruction {
+class HCompareHoleAndBranch FINAL : public HUnaryControlInstruction {
public:
DECLARE_INSTRUCTION_FACTORY_P1(HCompareHoleAndBranch, HValue*);
DECLARE_INSTRUCTION_FACTORY_P3(HCompareHoleAndBranch, HValue*,
HBasicBlock*, HBasicBlock*);
virtual void InferRepresentation(
- HInferRepresentationPhase* h_infer) V8_OVERRIDE;
+ HInferRepresentationPhase* h_infer) OVERRIDE;
- virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE {
+ virtual Representation RequiredInputRepresentation(int index) OVERRIDE {
return representation();
}
@@ -4350,18 +4350,18 @@ class HCompareHoleAndBranch V8_FINAL : public HUnaryControlInstruction {
};
-class HCompareMinusZeroAndBranch V8_FINAL : public HUnaryControlInstruction {
+class HCompareMinusZeroAndBranch FINAL : public HUnaryControlInstruction {
public:
DECLARE_INSTRUCTION_FACTORY_P1(HCompareMinusZeroAndBranch, HValue*);
virtual void InferRepresentation(
- HInferRepresentationPhase* h_infer) V8_OVERRIDE;
+ HInferRepresentationPhase* h_infer) OVERRIDE;
- virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE {
+ virtual Representation RequiredInputRepresentation(int index) OVERRIDE {
return representation();
}
- virtual bool KnownSuccessorBlock(HBasicBlock** block) V8_OVERRIDE;
+ virtual bool KnownSuccessorBlock(HBasicBlock** block) OVERRIDE;
DECLARE_CONCRETE_INSTRUCTION(CompareMinusZeroAndBranch)
@@ -4378,7 +4378,7 @@ class HCompareObjectEqAndBranch : public HTemplateControlInstruction<2, 2> {
DECLARE_INSTRUCTION_FACTORY_P4(HCompareObjectEqAndBranch, HValue*, HValue*,
HBasicBlock*, HBasicBlock*);
- virtual bool KnownSuccessorBlock(HBasicBlock** block) V8_OVERRIDE;
+ virtual bool KnownSuccessorBlock(HBasicBlock** block) OVERRIDE;
static const int kNoKnownSuccessorIndex = -1;
int known_successor_index() const { return known_successor_index_; }
@@ -4389,13 +4389,13 @@ class HCompareObjectEqAndBranch : public HTemplateControlInstruction<2, 2> {
HValue* left() const { return OperandAt(0); }
HValue* right() const { return OperandAt(1); }
- virtual OStream& PrintDataTo(OStream& os) const V8_OVERRIDE; // NOLINT
+ virtual OStream& PrintDataTo(OStream& os) const OVERRIDE; // NOLINT
- virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE {
+ virtual Representation RequiredInputRepresentation(int index) OVERRIDE {
return Representation::Tagged();
}
- virtual Representation observed_input_representation(int index) V8_OVERRIDE {
+ virtual Representation observed_input_representation(int index) OVERRIDE {
return Representation::Tagged();
}
@@ -4417,17 +4417,17 @@ class HCompareObjectEqAndBranch : public HTemplateControlInstruction<2, 2> {
};
-class HIsObjectAndBranch V8_FINAL : public HUnaryControlInstruction {
+class HIsObjectAndBranch FINAL : public HUnaryControlInstruction {
public:
DECLARE_INSTRUCTION_FACTORY_P1(HIsObjectAndBranch, HValue*);
DECLARE_INSTRUCTION_FACTORY_P3(HIsObjectAndBranch, HValue*,
HBasicBlock*, HBasicBlock*);
- virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE {
+ virtual Representation RequiredInputRepresentation(int index) OVERRIDE {
return Representation::Tagged();
}
- virtual bool KnownSuccessorBlock(HBasicBlock** block) V8_OVERRIDE;
+ virtual bool KnownSuccessorBlock(HBasicBlock** block) OVERRIDE;
DECLARE_CONCRETE_INSTRUCTION(IsObjectAndBranch)
@@ -4439,17 +4439,17 @@ class HIsObjectAndBranch V8_FINAL : public HUnaryControlInstruction {
};
-class HIsStringAndBranch V8_FINAL : public HUnaryControlInstruction {
+class HIsStringAndBranch FINAL : public HUnaryControlInstruction {
public:
DECLARE_INSTRUCTION_FACTORY_P1(HIsStringAndBranch, HValue*);
DECLARE_INSTRUCTION_FACTORY_P3(HIsStringAndBranch, HValue*,
HBasicBlock*, HBasicBlock*);
- virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE {
+ virtual Representation RequiredInputRepresentation(int index) OVERRIDE {
return Representation::Tagged();
}
- virtual bool KnownSuccessorBlock(HBasicBlock** block) V8_OVERRIDE;
+ virtual bool KnownSuccessorBlock(HBasicBlock** block) OVERRIDE;
static const int kNoKnownSuccessorIndex = -1;
int known_successor_index() const { return known_successor_index_; }
@@ -4473,7 +4473,7 @@ class HIsStringAndBranch V8_FINAL : public HUnaryControlInstruction {
};
-class HIsSmiAndBranch V8_FINAL : public HUnaryControlInstruction {
+class HIsSmiAndBranch FINAL : public HUnaryControlInstruction {
public:
DECLARE_INSTRUCTION_FACTORY_P1(HIsSmiAndBranch, HValue*);
DECLARE_INSTRUCTION_FACTORY_P3(HIsSmiAndBranch, HValue*,
@@ -4481,12 +4481,12 @@ class HIsSmiAndBranch V8_FINAL : public HUnaryControlInstruction {
DECLARE_CONCRETE_INSTRUCTION(IsSmiAndBranch)
- virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE {
+ virtual Representation RequiredInputRepresentation(int index) OVERRIDE {
return Representation::Tagged();
}
protected:
- virtual bool DataEquals(HValue* other) V8_OVERRIDE { return true; }
+ virtual bool DataEquals(HValue* other) OVERRIDE { return true; }
virtual int RedefinedOperandIndex() { return 0; }
private:
@@ -4499,17 +4499,17 @@ class HIsSmiAndBranch V8_FINAL : public HUnaryControlInstruction {
};
-class HIsUndetectableAndBranch V8_FINAL : public HUnaryControlInstruction {
+class HIsUndetectableAndBranch FINAL : public HUnaryControlInstruction {
public:
DECLARE_INSTRUCTION_FACTORY_P1(HIsUndetectableAndBranch, HValue*);
DECLARE_INSTRUCTION_FACTORY_P3(HIsUndetectableAndBranch, HValue*,
HBasicBlock*, HBasicBlock*);
- virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE {
+ virtual Representation RequiredInputRepresentation(int index) OVERRIDE {
return Representation::Tagged();
}
- virtual bool KnownSuccessorBlock(HBasicBlock** block) V8_OVERRIDE;
+ virtual bool KnownSuccessorBlock(HBasicBlock** block) OVERRIDE;
DECLARE_CONCRETE_INSTRUCTION(IsUndetectableAndBranch)
@@ -4533,9 +4533,9 @@ class HStringCompareAndBranch : public HTemplateControlInstruction<2, 3> {
HValue* right() { return OperandAt(2); }
Token::Value token() const { return token_; }
- virtual OStream& PrintDataTo(OStream& os) const V8_OVERRIDE; // NOLINT
+ virtual OStream& PrintDataTo(OStream& os) const OVERRIDE; // NOLINT
- virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE {
+ virtual Representation RequiredInputRepresentation(int index) OVERRIDE {
return Representation::Tagged();
}
@@ -4567,7 +4567,7 @@ class HIsConstructCallAndBranch : public HTemplateControlInstruction<2, 0> {
public:
DECLARE_INSTRUCTION_FACTORY_P0(HIsConstructCallAndBranch);
- virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE {
+ virtual Representation RequiredInputRepresentation(int index) OVERRIDE {
return Representation::None();
}
@@ -4577,7 +4577,7 @@ class HIsConstructCallAndBranch : public HTemplateControlInstruction<2, 0> {
};
-class HHasInstanceTypeAndBranch V8_FINAL : public HUnaryControlInstruction {
+class HHasInstanceTypeAndBranch FINAL : public HUnaryControlInstruction {
public:
DECLARE_INSTRUCTION_FACTORY_P2(
HHasInstanceTypeAndBranch, HValue*, InstanceType);
@@ -4587,13 +4587,13 @@ class HHasInstanceTypeAndBranch V8_FINAL : public HUnaryControlInstruction {
InstanceType from() { return from_; }
InstanceType to() { return to_; }
- virtual OStream& PrintDataTo(OStream& os) const V8_OVERRIDE; // NOLINT
+ virtual OStream& PrintDataTo(OStream& os) const OVERRIDE; // NOLINT
- virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE {
+ virtual Representation RequiredInputRepresentation(int index) OVERRIDE {
return Representation::Tagged();
}
- virtual bool KnownSuccessorBlock(HBasicBlock** block) V8_OVERRIDE;
+ virtual bool KnownSuccessorBlock(HBasicBlock** block) OVERRIDE;
DECLARE_CONCRETE_INSTRUCTION(HasInstanceTypeAndBranch)
@@ -4610,11 +4610,11 @@ class HHasInstanceTypeAndBranch V8_FINAL : public HUnaryControlInstruction {
};
-class HHasCachedArrayIndexAndBranch V8_FINAL : public HUnaryControlInstruction {
+class HHasCachedArrayIndexAndBranch FINAL : public HUnaryControlInstruction {
public:
DECLARE_INSTRUCTION_FACTORY_P1(HHasCachedArrayIndexAndBranch, HValue*);
- virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE {
+ virtual Representation RequiredInputRepresentation(int index) OVERRIDE {
return Representation::Tagged();
}
@@ -4625,18 +4625,18 @@ class HHasCachedArrayIndexAndBranch V8_FINAL : public HUnaryControlInstruction {
};
-class HGetCachedArrayIndex V8_FINAL : public HUnaryOperation {
+class HGetCachedArrayIndex FINAL : public HUnaryOperation {
public:
DECLARE_INSTRUCTION_FACTORY_P1(HGetCachedArrayIndex, HValue*);
- virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE {
+ virtual Representation RequiredInputRepresentation(int index) OVERRIDE {
return Representation::Tagged();
}
DECLARE_CONCRETE_INSTRUCTION(GetCachedArrayIndex)
protected:
- virtual bool DataEquals(HValue* other) V8_OVERRIDE { return true; }
+ virtual bool DataEquals(HValue* other) OVERRIDE { return true; }
private:
explicit HGetCachedArrayIndex(HValue* value) : HUnaryOperation(value) {
@@ -4644,22 +4644,22 @@ class HGetCachedArrayIndex V8_FINAL : public HUnaryOperation {
SetFlag(kUseGVN);
}
- virtual bool IsDeletable() const V8_OVERRIDE { return true; }
+ virtual bool IsDeletable() const OVERRIDE { return true; }
};
-class HClassOfTestAndBranch V8_FINAL : public HUnaryControlInstruction {
+class HClassOfTestAndBranch FINAL : public HUnaryControlInstruction {
public:
DECLARE_INSTRUCTION_FACTORY_P2(HClassOfTestAndBranch, HValue*,
Handle<String>);
DECLARE_CONCRETE_INSTRUCTION(ClassOfTestAndBranch)
- virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE {
+ virtual Representation RequiredInputRepresentation(int index) OVERRIDE {
return Representation::Tagged();
}
- virtual OStream& PrintDataTo(OStream& os) const V8_OVERRIDE; // NOLINT
+ virtual OStream& PrintDataTo(OStream& os) const OVERRIDE; // NOLINT
Handle<String> class_name() const { return class_name_; }
@@ -4672,22 +4672,22 @@ class HClassOfTestAndBranch V8_FINAL : public HUnaryControlInstruction {
};
-class HTypeofIsAndBranch V8_FINAL : public HUnaryControlInstruction {
+class HTypeofIsAndBranch FINAL : public HUnaryControlInstruction {
public:
DECLARE_INSTRUCTION_FACTORY_P2(HTypeofIsAndBranch, HValue*, Handle<String>);
Handle<String> type_literal() const { return type_literal_.handle(); }
- virtual OStream& PrintDataTo(OStream& os) const V8_OVERRIDE; // NOLINT
+ virtual OStream& PrintDataTo(OStream& os) const OVERRIDE; // NOLINT
DECLARE_CONCRETE_INSTRUCTION(TypeofIsAndBranch)
- virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE {
+ virtual Representation RequiredInputRepresentation(int index) OVERRIDE {
return Representation::None();
}
- virtual bool KnownSuccessorBlock(HBasicBlock** block) V8_OVERRIDE;
+ virtual bool KnownSuccessorBlock(HBasicBlock** block) OVERRIDE;
- virtual void FinalizeUniqueness() V8_OVERRIDE {
+ virtual void FinalizeUniqueness() OVERRIDE {
type_literal_ = Unique<String>(type_literal_.handle());
}
@@ -4700,15 +4700,15 @@ class HTypeofIsAndBranch V8_FINAL : public HUnaryControlInstruction {
};
-class HInstanceOf V8_FINAL : public HBinaryOperation {
+class HInstanceOf FINAL : public HBinaryOperation {
public:
DECLARE_INSTRUCTION_WITH_CONTEXT_FACTORY_P2(HInstanceOf, HValue*, HValue*);
- virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE {
+ virtual Representation RequiredInputRepresentation(int index) OVERRIDE {
return Representation::Tagged();
}
- virtual OStream& PrintDataTo(OStream& os) const V8_OVERRIDE; // NOLINT
+ virtual OStream& PrintDataTo(OStream& os) const OVERRIDE; // NOLINT
DECLARE_CONCRETE_INSTRUCTION(InstanceOf)
@@ -4721,7 +4721,7 @@ class HInstanceOf V8_FINAL : public HBinaryOperation {
};
-class HInstanceOfKnownGlobal V8_FINAL : public HTemplateInstruction<2> {
+class HInstanceOfKnownGlobal FINAL : public HTemplateInstruction<2> {
public:
DECLARE_INSTRUCTION_WITH_CONTEXT_FACTORY_P2(HInstanceOfKnownGlobal,
HValue*,
@@ -4731,7 +4731,7 @@ class HInstanceOfKnownGlobal V8_FINAL : public HTemplateInstruction<2> {
HValue* left() { return OperandAt(1); }
Handle<JSFunction> function() { return function_; }
- virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE {
+ virtual Representation RequiredInputRepresentation(int index) OVERRIDE {
return Representation::Tagged();
}
@@ -4752,7 +4752,7 @@ class HInstanceOfKnownGlobal V8_FINAL : public HTemplateInstruction<2> {
};
-class HPower V8_FINAL : public HTemplateInstruction<2> {
+class HPower FINAL : public HTemplateInstruction<2> {
public:
static HInstruction* New(Zone* zone,
HValue* context,
@@ -4762,19 +4762,19 @@ class HPower V8_FINAL : public HTemplateInstruction<2> {
HValue* left() { return OperandAt(0); }
HValue* right() const { return OperandAt(1); }
- virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE {
+ virtual Representation RequiredInputRepresentation(int index) OVERRIDE {
return index == 0
? Representation::Double()
: Representation::None();
}
- virtual Representation observed_input_representation(int index) V8_OVERRIDE {
+ virtual Representation observed_input_representation(int index) OVERRIDE {
return RequiredInputRepresentation(index);
}
DECLARE_CONCRETE_INSTRUCTION(Power)
protected:
- virtual bool DataEquals(HValue* other) V8_OVERRIDE { return true; }
+ virtual bool DataEquals(HValue* other) OVERRIDE { return true; }
private:
HPower(HValue* left, HValue* right) {
@@ -4785,13 +4785,13 @@ class HPower V8_FINAL : public HTemplateInstruction<2> {
SetChangesFlag(kNewSpacePromotion);
}
- virtual bool IsDeletable() const V8_OVERRIDE {
+ virtual bool IsDeletable() const OVERRIDE {
return !right()->representation().IsTagged();
}
};
-class HAdd V8_FINAL : public HArithmeticBinaryOperation {
+class HAdd FINAL : public HArithmeticBinaryOperation {
public:
static HInstruction* New(Zone* zone,
HValue* context,
@@ -4801,13 +4801,13 @@ class HAdd V8_FINAL : public HArithmeticBinaryOperation {
// Add is only commutative if two integer values are added and not if two
// tagged values are added (because it might be a String concatenation).
// We also do not commute (pointer + offset).
- virtual bool IsCommutative() const V8_OVERRIDE {
+ virtual bool IsCommutative() const OVERRIDE {
return !representation().IsTagged() && !representation().IsExternal();
}
- virtual HValue* Canonicalize() V8_OVERRIDE;
+ virtual HValue* Canonicalize() OVERRIDE;
- virtual bool TryDecompose(DecompositionResult* decomposition) V8_OVERRIDE {
+ virtual bool TryDecompose(DecompositionResult* decomposition) OVERRIDE {
if (left()->IsInteger32Constant()) {
decomposition->Apply(right(), left()->GetInteger32Constant());
return true;
@@ -4819,7 +4819,7 @@ class HAdd V8_FINAL : public HArithmeticBinaryOperation {
}
}
- virtual void RepresentationChanged(Representation to) V8_OVERRIDE {
+ virtual void RepresentationChanged(Representation to) OVERRIDE {
if (to.IsTagged() &&
(left()->ToNumberCanBeObserved() || right()->ToNumberCanBeObserved() ||
left()->ToStringCanBeObserved() || right()->ToStringCanBeObserved())) {
@@ -4835,16 +4835,16 @@ class HAdd V8_FINAL : public HArithmeticBinaryOperation {
}
}
- virtual Representation RepresentationFromInputs() V8_OVERRIDE;
+ virtual Representation RepresentationFromInputs() OVERRIDE;
- virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE;
+ virtual Representation RequiredInputRepresentation(int index) OVERRIDE;
DECLARE_CONCRETE_INSTRUCTION(Add)
protected:
- virtual bool DataEquals(HValue* other) V8_OVERRIDE { return true; }
+ virtual bool DataEquals(HValue* other) OVERRIDE { return true; }
- virtual Range* InferRange(Zone* zone) V8_OVERRIDE;
+ virtual Range* InferRange(Zone* zone) OVERRIDE;
private:
HAdd(HValue* context, HValue* left, HValue* right)
@@ -4854,16 +4854,16 @@ class HAdd V8_FINAL : public HArithmeticBinaryOperation {
};
-class HSub V8_FINAL : public HArithmeticBinaryOperation {
+class HSub FINAL : public HArithmeticBinaryOperation {
public:
static HInstruction* New(Zone* zone,
HValue* context,
HValue* left,
HValue* right);
- virtual HValue* Canonicalize() V8_OVERRIDE;
+ virtual HValue* Canonicalize() OVERRIDE;
- virtual bool TryDecompose(DecompositionResult* decomposition) V8_OVERRIDE {
+ virtual bool TryDecompose(DecompositionResult* decomposition) OVERRIDE {
if (right()->IsInteger32Constant()) {
decomposition->Apply(left(), -right()->GetInteger32Constant());
return true;
@@ -4875,9 +4875,9 @@ class HSub V8_FINAL : public HArithmeticBinaryOperation {
DECLARE_CONCRETE_INSTRUCTION(Sub)
protected:
- virtual bool DataEquals(HValue* other) V8_OVERRIDE { return true; }
+ virtual bool DataEquals(HValue* other) OVERRIDE { return true; }
- virtual Range* InferRange(Zone* zone) V8_OVERRIDE;
+ virtual Range* InferRange(Zone* zone) OVERRIDE;
private:
HSub(HValue* context, HValue* left, HValue* right)
@@ -4887,7 +4887,7 @@ class HSub V8_FINAL : public HArithmeticBinaryOperation {
};
-class HMul V8_FINAL : public HArithmeticBinaryOperation {
+class HMul FINAL : public HArithmeticBinaryOperation {
public:
static HInstruction* New(Zone* zone,
HValue* context,
@@ -4907,16 +4907,16 @@ class HMul V8_FINAL : public HArithmeticBinaryOperation {
return mul;
}
- virtual HValue* Canonicalize() V8_OVERRIDE;
+ virtual HValue* Canonicalize() OVERRIDE;
// Only commutative if it is certain that not two objects are multiplicated.
- virtual bool IsCommutative() const V8_OVERRIDE {
+ virtual bool IsCommutative() const OVERRIDE {
return !representation().IsTagged();
}
virtual void UpdateRepresentation(Representation new_rep,
HInferRepresentationPhase* h_infer,
- const char* reason) V8_OVERRIDE {
+ const char* reason) OVERRIDE {
HArithmeticBinaryOperation::UpdateRepresentation(new_rep, h_infer, reason);
}
@@ -4925,9 +4925,9 @@ class HMul V8_FINAL : public HArithmeticBinaryOperation {
DECLARE_CONCRETE_INSTRUCTION(Mul)
protected:
- virtual bool DataEquals(HValue* other) V8_OVERRIDE { return true; }
+ virtual bool DataEquals(HValue* other) OVERRIDE { return true; }
- virtual Range* InferRange(Zone* zone) V8_OVERRIDE;
+ virtual Range* InferRange(Zone* zone) OVERRIDE;
private:
HMul(HValue* context, HValue* left, HValue* right)
@@ -4937,18 +4937,18 @@ class HMul V8_FINAL : public HArithmeticBinaryOperation {
};
-class HMod V8_FINAL : public HArithmeticBinaryOperation {
+class HMod FINAL : public HArithmeticBinaryOperation {
public:
static HInstruction* New(Zone* zone,
HValue* context,
HValue* left,
HValue* right);
- virtual HValue* Canonicalize() V8_OVERRIDE;
+ virtual HValue* Canonicalize() OVERRIDE;
virtual void UpdateRepresentation(Representation new_rep,
HInferRepresentationPhase* h_infer,
- const char* reason) V8_OVERRIDE {
+ const char* reason) OVERRIDE {
if (new_rep.IsSmi()) new_rep = Representation::Integer32();
HArithmeticBinaryOperation::UpdateRepresentation(new_rep, h_infer, reason);
}
@@ -4956,9 +4956,9 @@ class HMod V8_FINAL : public HArithmeticBinaryOperation {
DECLARE_CONCRETE_INSTRUCTION(Mod)
protected:
- virtual bool DataEquals(HValue* other) V8_OVERRIDE { return true; }
+ virtual bool DataEquals(HValue* other) OVERRIDE { return true; }
- virtual Range* InferRange(Zone* zone) V8_OVERRIDE;
+ virtual Range* InferRange(Zone* zone) OVERRIDE;
private:
HMod(HValue* context,
@@ -4971,18 +4971,18 @@ class HMod V8_FINAL : public HArithmeticBinaryOperation {
};
-class HDiv V8_FINAL : public HArithmeticBinaryOperation {
+class HDiv FINAL : public HArithmeticBinaryOperation {
public:
static HInstruction* New(Zone* zone,
HValue* context,
HValue* left,
HValue* right);
- virtual HValue* Canonicalize() V8_OVERRIDE;
+ virtual HValue* Canonicalize() OVERRIDE;
virtual void UpdateRepresentation(Representation new_rep,
HInferRepresentationPhase* h_infer,
- const char* reason) V8_OVERRIDE {
+ const char* reason) OVERRIDE {
if (new_rep.IsSmi()) new_rep = Representation::Integer32();
HArithmeticBinaryOperation::UpdateRepresentation(new_rep, h_infer, reason);
}
@@ -4990,9 +4990,9 @@ class HDiv V8_FINAL : public HArithmeticBinaryOperation {
DECLARE_CONCRETE_INSTRUCTION(Div)
protected:
- virtual bool DataEquals(HValue* other) V8_OVERRIDE { return true; }
+ virtual bool DataEquals(HValue* other) OVERRIDE { return true; }
- virtual Range* InferRange(Zone* zone) V8_OVERRIDE;
+ virtual Range* InferRange(Zone* zone) OVERRIDE;
private:
HDiv(HValue* context, HValue* left, HValue* right)
@@ -5003,7 +5003,7 @@ class HDiv V8_FINAL : public HArithmeticBinaryOperation {
};
-class HMathMinMax V8_FINAL : public HArithmeticBinaryOperation {
+class HMathMinMax FINAL : public HArithmeticBinaryOperation {
public:
enum Operation { kMathMin, kMathMax };
@@ -5013,14 +5013,14 @@ class HMathMinMax V8_FINAL : public HArithmeticBinaryOperation {
HValue* right,
Operation op);
- virtual Representation observed_input_representation(int index) V8_OVERRIDE {
+ virtual Representation observed_input_representation(int index) OVERRIDE {
return RequiredInputRepresentation(index);
}
virtual void InferRepresentation(
- HInferRepresentationPhase* h_infer) V8_OVERRIDE;
+ HInferRepresentationPhase* h_infer) OVERRIDE;
- virtual Representation RepresentationFromInputs() V8_OVERRIDE {
+ virtual Representation RepresentationFromInputs() OVERRIDE {
Representation left_rep = left()->representation();
Representation right_rep = right()->representation();
Representation result = Representation::Smi();
@@ -5030,19 +5030,19 @@ class HMathMinMax V8_FINAL : public HArithmeticBinaryOperation {
return result;
}
- virtual bool IsCommutative() const V8_OVERRIDE { return true; }
+ virtual bool IsCommutative() const OVERRIDE { return true; }
Operation operation() { return operation_; }
DECLARE_CONCRETE_INSTRUCTION(MathMinMax)
protected:
- virtual bool DataEquals(HValue* other) V8_OVERRIDE {
+ virtual bool DataEquals(HValue* other) OVERRIDE {
return other->IsMathMinMax() &&
HMathMinMax::cast(other)->operation_ == operation_;
}
- virtual Range* InferRange(Zone* zone) V8_OVERRIDE;
+ virtual Range* InferRange(Zone* zone) OVERRIDE;
private:
HMathMinMax(HValue* context, HValue* left, HValue* right, Operation op)
@@ -5053,7 +5053,7 @@ class HMathMinMax V8_FINAL : public HArithmeticBinaryOperation {
};
-class HBitwise V8_FINAL : public HBitwiseBinaryOperation {
+class HBitwise FINAL : public HBitwiseBinaryOperation {
public:
static HInstruction* New(Zone* zone,
HValue* context,
@@ -5063,20 +5063,20 @@ class HBitwise V8_FINAL : public HBitwiseBinaryOperation {
Token::Value op() const { return op_; }
- virtual bool IsCommutative() const V8_OVERRIDE { return true; }
+ virtual bool IsCommutative() const OVERRIDE { return true; }
- virtual HValue* Canonicalize() V8_OVERRIDE;
+ virtual HValue* Canonicalize() OVERRIDE;
- virtual OStream& PrintDataTo(OStream& os) const V8_OVERRIDE; // NOLINT
+ virtual OStream& PrintDataTo(OStream& os) const OVERRIDE; // NOLINT
DECLARE_CONCRETE_INSTRUCTION(Bitwise)
protected:
- virtual bool DataEquals(HValue* other) V8_OVERRIDE {
+ virtual bool DataEquals(HValue* other) OVERRIDE {
return op() == HBitwise::cast(other)->op();
}
- virtual Range* InferRange(Zone* zone) V8_OVERRIDE;
+ virtual Range* InferRange(Zone* zone) OVERRIDE;
private:
HBitwise(HValue* context,
@@ -5115,18 +5115,18 @@ class HBitwise V8_FINAL : public HBitwiseBinaryOperation {
};
-class HShl V8_FINAL : public HBitwiseBinaryOperation {
+class HShl FINAL : public HBitwiseBinaryOperation {
public:
static HInstruction* New(Zone* zone,
HValue* context,
HValue* left,
HValue* right);
- virtual Range* InferRange(Zone* zone) V8_OVERRIDE;
+ virtual Range* InferRange(Zone* zone) OVERRIDE;
virtual void UpdateRepresentation(Representation new_rep,
HInferRepresentationPhase* h_infer,
- const char* reason) V8_OVERRIDE {
+ const char* reason) OVERRIDE {
if (new_rep.IsSmi() &&
!(right()->IsInteger32Constant() &&
right()->GetInteger32Constant() >= 0)) {
@@ -5138,7 +5138,7 @@ class HShl V8_FINAL : public HBitwiseBinaryOperation {
DECLARE_CONCRETE_INSTRUCTION(Shl)
protected:
- virtual bool DataEquals(HValue* other) V8_OVERRIDE { return true; }
+ virtual bool DataEquals(HValue* other) OVERRIDE { return true; }
private:
HShl(HValue* context, HValue* left, HValue* right)
@@ -5146,14 +5146,14 @@ class HShl V8_FINAL : public HBitwiseBinaryOperation {
};
-class HShr V8_FINAL : public HBitwiseBinaryOperation {
+class HShr FINAL : public HBitwiseBinaryOperation {
public:
static HInstruction* New(Zone* zone,
HValue* context,
HValue* left,
HValue* right);
- virtual bool TryDecompose(DecompositionResult* decomposition) V8_OVERRIDE {
+ virtual bool TryDecompose(DecompositionResult* decomposition) OVERRIDE {
if (right()->IsInteger32Constant()) {
if (decomposition->Apply(left(), 0, right()->GetInteger32Constant())) {
// This is intended to look for HAdd and HSub, to handle compounds
@@ -5165,11 +5165,11 @@ class HShr V8_FINAL : public HBitwiseBinaryOperation {
return false;
}
- virtual Range* InferRange(Zone* zone) V8_OVERRIDE;
+ virtual Range* InferRange(Zone* zone) OVERRIDE;
virtual void UpdateRepresentation(Representation new_rep,
HInferRepresentationPhase* h_infer,
- const char* reason) V8_OVERRIDE {
+ const char* reason) OVERRIDE {
if (new_rep.IsSmi()) new_rep = Representation::Integer32();
HBitwiseBinaryOperation::UpdateRepresentation(new_rep, h_infer, reason);
}
@@ -5177,7 +5177,7 @@ class HShr V8_FINAL : public HBitwiseBinaryOperation {
DECLARE_CONCRETE_INSTRUCTION(Shr)
protected:
- virtual bool DataEquals(HValue* other) V8_OVERRIDE { return true; }
+ virtual bool DataEquals(HValue* other) OVERRIDE { return true; }
private:
HShr(HValue* context, HValue* left, HValue* right)
@@ -5185,14 +5185,14 @@ class HShr V8_FINAL : public HBitwiseBinaryOperation {
};
-class HSar V8_FINAL : public HBitwiseBinaryOperation {
+class HSar FINAL : public HBitwiseBinaryOperation {
public:
static HInstruction* New(Zone* zone,
HValue* context,
HValue* left,
HValue* right);
- virtual bool TryDecompose(DecompositionResult* decomposition) V8_OVERRIDE {
+ virtual bool TryDecompose(DecompositionResult* decomposition) OVERRIDE {
if (right()->IsInteger32Constant()) {
if (decomposition->Apply(left(), 0, right()->GetInteger32Constant())) {
// This is intended to look for HAdd and HSub, to handle compounds
@@ -5204,11 +5204,11 @@ class HSar V8_FINAL : public HBitwiseBinaryOperation {
return false;
}
- virtual Range* InferRange(Zone* zone) V8_OVERRIDE;
+ virtual Range* InferRange(Zone* zone) OVERRIDE;
virtual void UpdateRepresentation(Representation new_rep,
HInferRepresentationPhase* h_infer,
- const char* reason) V8_OVERRIDE {
+ const char* reason) OVERRIDE {
if (new_rep.IsSmi()) new_rep = Representation::Integer32();
HBitwiseBinaryOperation::UpdateRepresentation(new_rep, h_infer, reason);
}
@@ -5216,7 +5216,7 @@ class HSar V8_FINAL : public HBitwiseBinaryOperation {
DECLARE_CONCRETE_INSTRUCTION(Sar)
protected:
- virtual bool DataEquals(HValue* other) V8_OVERRIDE { return true; }
+ virtual bool DataEquals(HValue* other) OVERRIDE { return true; }
private:
HSar(HValue* context, HValue* left, HValue* right)
@@ -5224,7 +5224,7 @@ class HSar V8_FINAL : public HBitwiseBinaryOperation {
};
-class HRor V8_FINAL : public HBitwiseBinaryOperation {
+class HRor FINAL : public HBitwiseBinaryOperation {
public:
static HInstruction* New(Zone* zone,
HValue* context,
@@ -5235,7 +5235,7 @@ class HRor V8_FINAL : public HBitwiseBinaryOperation {
virtual void UpdateRepresentation(Representation new_rep,
HInferRepresentationPhase* h_infer,
- const char* reason) V8_OVERRIDE {
+ const char* reason) OVERRIDE {
if (new_rep.IsSmi()) new_rep = Representation::Integer32();
HBitwiseBinaryOperation::UpdateRepresentation(new_rep, h_infer, reason);
}
@@ -5243,7 +5243,7 @@ class HRor V8_FINAL : public HBitwiseBinaryOperation {
DECLARE_CONCRETE_INSTRUCTION(Ror)
protected:
- virtual bool DataEquals(HValue* other) V8_OVERRIDE { return true; }
+ virtual bool DataEquals(HValue* other) OVERRIDE { return true; }
private:
HRor(HValue* context, HValue* left, HValue* right)
@@ -5253,13 +5253,13 @@ class HRor V8_FINAL : public HBitwiseBinaryOperation {
};
-class HOsrEntry V8_FINAL : public HTemplateInstruction<0> {
+class HOsrEntry FINAL : public HTemplateInstruction<0> {
public:
DECLARE_INSTRUCTION_FACTORY_P1(HOsrEntry, BailoutId);
BailoutId ast_id() const { return ast_id_; }
- virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE {
+ virtual Representation RequiredInputRepresentation(int index) OVERRIDE {
return Representation::None();
}
@@ -5275,7 +5275,7 @@ class HOsrEntry V8_FINAL : public HTemplateInstruction<0> {
};
-class HParameter V8_FINAL : public HTemplateInstruction<0> {
+class HParameter FINAL : public HTemplateInstruction<0> {
public:
enum ParameterKind {
STACK_PARAMETER,
@@ -5290,9 +5290,9 @@ class HParameter V8_FINAL : public HTemplateInstruction<0> {
unsigned index() const { return index_; }
ParameterKind kind() const { return kind_; }
- virtual OStream& PrintDataTo(OStream& os) const V8_OVERRIDE; // NOLINT
+ virtual OStream& PrintDataTo(OStream& os) const OVERRIDE; // NOLINT
- virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE {
+ virtual Representation RequiredInputRepresentation(int index) OVERRIDE {
return Representation::None();
}
@@ -5319,14 +5319,14 @@ class HParameter V8_FINAL : public HTemplateInstruction<0> {
};
-class HCallStub V8_FINAL : public HUnaryCall {
+class HCallStub FINAL : public HUnaryCall {
public:
DECLARE_INSTRUCTION_WITH_CONTEXT_FACTORY_P2(HCallStub, CodeStub::Major, int);
CodeStub::Major major_key() { return major_key_; }
HValue* context() { return value(); }
- virtual OStream& PrintDataTo(OStream& os) const V8_OVERRIDE; // NOLINT
+ virtual OStream& PrintDataTo(OStream& os) const OVERRIDE; // NOLINT
DECLARE_CONCRETE_INSTRUCTION(CallStub)
@@ -5340,13 +5340,13 @@ class HCallStub V8_FINAL : public HUnaryCall {
};
-class HUnknownOSRValue V8_FINAL : public HTemplateInstruction<0> {
+class HUnknownOSRValue FINAL : public HTemplateInstruction<0> {
public:
DECLARE_INSTRUCTION_FACTORY_P2(HUnknownOSRValue, HEnvironment*, int);
virtual OStream& PrintDataTo(OStream& os) const; // NOLINT
- virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE {
+ virtual Representation RequiredInputRepresentation(int index) OVERRIDE {
return Representation::None();
}
@@ -5355,7 +5355,7 @@ class HUnknownOSRValue V8_FINAL : public HTemplateInstruction<0> {
HEnvironment *environment() { return environment_; }
int index() { return index_; }
- virtual Representation KnownOptimalRepresentation() V8_OVERRIDE {
+ virtual Representation KnownOptimalRepresentation() OVERRIDE {
if (incoming_value_ == NULL) return Representation::None();
return incoming_value_->KnownOptimalRepresentation();
}
@@ -5376,7 +5376,7 @@ class HUnknownOSRValue V8_FINAL : public HTemplateInstruction<0> {
};
-class HLoadGlobalCell V8_FINAL : public HTemplateInstruction<0> {
+class HLoadGlobalCell FINAL : public HTemplateInstruction<0> {
public:
DECLARE_INSTRUCTION_FACTORY_P2(HLoadGlobalCell, Handle<Cell>,
PropertyDetails);
@@ -5384,24 +5384,24 @@ class HLoadGlobalCell V8_FINAL : public HTemplateInstruction<0> {
Unique<Cell> cell() const { return cell_; }
bool RequiresHoleCheck() const;
- virtual OStream& PrintDataTo(OStream& os) const V8_OVERRIDE; // NOLINT
+ virtual OStream& PrintDataTo(OStream& os) const OVERRIDE; // NOLINT
- virtual intptr_t Hashcode() V8_OVERRIDE {
+ virtual intptr_t Hashcode() OVERRIDE {
return cell_.Hashcode();
}
- virtual void FinalizeUniqueness() V8_OVERRIDE {
+ virtual void FinalizeUniqueness() OVERRIDE {
cell_ = Unique<Cell>(cell_.handle());
}
- virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE {
+ virtual Representation RequiredInputRepresentation(int index) OVERRIDE {
return Representation::None();
}
DECLARE_CONCRETE_INSTRUCTION(LoadGlobalCell)
protected:
- virtual bool DataEquals(HValue* other) V8_OVERRIDE {
+ virtual bool DataEquals(HValue* other) OVERRIDE {
return cell_ == HLoadGlobalCell::cast(other)->cell_;
}
@@ -5413,14 +5413,14 @@ class HLoadGlobalCell V8_FINAL : public HTemplateInstruction<0> {
SetDependsOnFlag(kGlobalVars);
}
- virtual bool IsDeletable() const V8_OVERRIDE { return !RequiresHoleCheck(); }
+ virtual bool IsDeletable() const OVERRIDE { return !RequiresHoleCheck(); }
Unique<Cell> cell_;
PropertyDetails details_;
};
-class HLoadGlobalGeneric V8_FINAL : public HTemplateInstruction<2> {
+class HLoadGlobalGeneric FINAL : public HTemplateInstruction<2> {
public:
DECLARE_INSTRUCTION_WITH_CONTEXT_FACTORY_P3(HLoadGlobalGeneric, HValue*,
Handle<String>, bool);
@@ -5441,9 +5441,9 @@ class HLoadGlobalGeneric V8_FINAL : public HTemplateInstruction<2> {
slot_ = slot;
}
- virtual OStream& PrintDataTo(OStream& os) const V8_OVERRIDE; // NOLINT
+ virtual OStream& PrintDataTo(OStream& os) const OVERRIDE; // NOLINT
- virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE {
+ virtual Representation RequiredInputRepresentation(int index) OVERRIDE {
return Representation::Tagged();
}
@@ -5467,7 +5467,7 @@ class HLoadGlobalGeneric V8_FINAL : public HTemplateInstruction<2> {
};
-class HAllocate V8_FINAL : public HTemplateInstruction<2> {
+class HAllocate FINAL : public HTemplateInstruction<2> {
public:
static bool CompatibleInstanceTypes(InstanceType type1,
InstanceType type2) {
@@ -5500,7 +5500,7 @@ class HAllocate V8_FINAL : public HTemplateInstruction<2> {
size_upper_bound_ = value;
}
- virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE {
+ virtual Representation RequiredInputRepresentation(int index) OVERRIDE {
if (index == 0) {
return Representation::Tagged();
} else {
@@ -5549,9 +5549,9 @@ class HAllocate V8_FINAL : public HTemplateInstruction<2> {
}
virtual bool HandleSideEffectDominator(GVNFlag side_effect,
- HValue* dominator) V8_OVERRIDE;
+ HValue* dominator) OVERRIDE;
- virtual OStream& PrintDataTo(OStream& os) const V8_OVERRIDE; // NOLINT
+ virtual OStream& PrintDataTo(OStream& os) const OVERRIDE; // NOLINT
DECLARE_CONCRETE_INSTRUCTION(Allocate)
@@ -5655,7 +5655,7 @@ class HAllocate V8_FINAL : public HTemplateInstruction<2> {
};
-class HStoreCodeEntry V8_FINAL: public HTemplateInstruction<2> {
+class HStoreCodeEntry FINAL: public HTemplateInstruction<2> {
public:
static HStoreCodeEntry* New(Zone* zone,
HValue* context,
@@ -5681,7 +5681,7 @@ class HStoreCodeEntry V8_FINAL: public HTemplateInstruction<2> {
};
-class HInnerAllocatedObject V8_FINAL : public HTemplateInstruction<2> {
+class HInnerAllocatedObject FINAL : public HTemplateInstruction<2> {
public:
static HInnerAllocatedObject* New(Zone* zone,
HValue* context,
@@ -5694,11 +5694,11 @@ class HInnerAllocatedObject V8_FINAL : public HTemplateInstruction<2> {
HValue* base_object() const { return OperandAt(0); }
HValue* offset() const { return OperandAt(1); }
- virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE {
+ virtual Representation RequiredInputRepresentation(int index) OVERRIDE {
return index == 0 ? Representation::Tagged() : Representation::Integer32();
}
- virtual OStream& PrintDataTo(OStream& os) const V8_OVERRIDE; // NOLINT
+ virtual OStream& PrintDataTo(OStream& os) const OVERRIDE; // NOLINT
DECLARE_CONCRETE_INSTRUCTION(InnerAllocatedObject)
@@ -5778,7 +5778,7 @@ inline PointersToHereCheck PointersToHereCheckForObject(HValue* object,
}
-class HStoreGlobalCell V8_FINAL : public HUnaryOperation {
+class HStoreGlobalCell FINAL : public HUnaryOperation {
public:
DECLARE_INSTRUCTION_FACTORY_P3(HStoreGlobalCell, HValue*,
Handle<PropertyCell>, PropertyDetails);
@@ -5789,14 +5789,14 @@ class HStoreGlobalCell V8_FINAL : public HUnaryOperation {
return StoringValueNeedsWriteBarrier(value());
}
- virtual void FinalizeUniqueness() V8_OVERRIDE {
+ virtual void FinalizeUniqueness() OVERRIDE {
cell_ = Unique<PropertyCell>(cell_.handle());
}
- virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE {
+ virtual Representation RequiredInputRepresentation(int index) OVERRIDE {
return Representation::Tagged();
}
- virtual OStream& PrintDataTo(OStream& os) const V8_OVERRIDE; // NOLINT
+ virtual OStream& PrintDataTo(OStream& os) const OVERRIDE; // NOLINT
DECLARE_CONCRETE_INSTRUCTION(StoreGlobalCell)
@@ -5815,7 +5815,7 @@ class HStoreGlobalCell V8_FINAL : public HUnaryOperation {
};
-class HLoadContextSlot V8_FINAL : public HUnaryOperation {
+class HLoadContextSlot FINAL : public HUnaryOperation {
public:
enum Mode {
// Perform a normal load of the context slot without checking its value.
@@ -5848,29 +5848,29 @@ class HLoadContextSlot V8_FINAL : public HUnaryOperation {
return mode_ != kNoCheck;
}
- virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE {
+ virtual Representation RequiredInputRepresentation(int index) OVERRIDE {
return Representation::Tagged();
}
- virtual OStream& PrintDataTo(OStream& os) const V8_OVERRIDE; // NOLINT
+ virtual OStream& PrintDataTo(OStream& os) const OVERRIDE; // NOLINT
DECLARE_CONCRETE_INSTRUCTION(LoadContextSlot)
protected:
- virtual bool DataEquals(HValue* other) V8_OVERRIDE {
+ virtual bool DataEquals(HValue* other) OVERRIDE {
HLoadContextSlot* b = HLoadContextSlot::cast(other);
return (slot_index() == b->slot_index());
}
private:
- virtual bool IsDeletable() const V8_OVERRIDE { return !RequiresHoleCheck(); }
+ virtual bool IsDeletable() const OVERRIDE { return !RequiresHoleCheck(); }
int slot_index_;
Mode mode_;
};
-class HStoreContextSlot V8_FINAL : public HTemplateInstruction<2> {
+class HStoreContextSlot FINAL : public HTemplateInstruction<2> {
public:
enum Mode {
// Perform a normal store to the context slot without checking its previous
@@ -5905,11 +5905,11 @@ class HStoreContextSlot V8_FINAL : public HTemplateInstruction<2> {
return mode_ != kNoCheck;
}
- virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE {
+ virtual Representation RequiredInputRepresentation(int index) OVERRIDE {
return Representation::Tagged();
}
- virtual OStream& PrintDataTo(OStream& os) const V8_OVERRIDE; // NOLINT
+ virtual OStream& PrintDataTo(OStream& os) const OVERRIDE; // NOLINT
DECLARE_CONCRETE_INSTRUCTION(StoreContextSlot)
@@ -5928,7 +5928,7 @@ class HStoreContextSlot V8_FINAL : public HTemplateInstruction<2> {
// Represents an access to a portion of an object, such as the map pointer,
// array elements pointer, etc, but not accesses to array elements themselves.
-class HObjectAccess V8_FINAL {
+class HObjectAccess FINAL {
public:
inline bool IsInobject() const {
return portion() != kBackingStore && portion() != kExternalMemory;
@@ -6303,7 +6303,7 @@ class HObjectAccess V8_FINAL {
OStream& operator<<(OStream& os, const HObjectAccess& access);
-class HLoadNamedField V8_FINAL : public HTemplateInstruction<2> {
+class HLoadNamedField FINAL : public HTemplateInstruction<2> {
public:
DECLARE_INSTRUCTION_FACTORY_P3(HLoadNamedField, HValue*,
HValue*, HObjectAccess);
@@ -6323,19 +6323,19 @@ class HLoadNamedField V8_FINAL : public HTemplateInstruction<2> {
const UniqueSet<Map>* maps() const { return maps_; }
- virtual bool HasEscapingOperandAt(int index) V8_OVERRIDE { return false; }
- virtual bool HasOutOfBoundsAccess(int size) V8_OVERRIDE {
+ virtual bool HasEscapingOperandAt(int index) OVERRIDE { return false; }
+ virtual bool HasOutOfBoundsAccess(int size) OVERRIDE {
return !access().IsInobject() || access().offset() >= size;
}
- virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE {
+ virtual Representation RequiredInputRepresentation(int index) OVERRIDE {
if (index == 0 && access().IsExternalMemory()) {
// object must be external in case of external memory access
return Representation::External();
}
return Representation::Tagged();
}
- virtual Range* InferRange(Zone* zone) V8_OVERRIDE;
- virtual OStream& PrintDataTo(OStream& os) const V8_OVERRIDE; // NOLINT
+ virtual Range* InferRange(Zone* zone) OVERRIDE;
+ virtual OStream& PrintDataTo(OStream& os) const OVERRIDE; // NOLINT
bool CanBeReplacedWith(HValue* other) const {
if (!CheckFlag(HValue::kCantBeReplaced)) return false;
@@ -6351,7 +6351,7 @@ class HLoadNamedField V8_FINAL : public HTemplateInstruction<2> {
DECLARE_CONCRETE_INSTRUCTION(LoadNamedField)
protected:
- virtual bool DataEquals(HValue* other) V8_OVERRIDE {
+ virtual bool DataEquals(HValue* other) OVERRIDE {
HLoadNamedField* that = HLoadNamedField::cast(other);
if (!this->access_.Equals(that->access_)) return false;
if (this->maps_ == that->maps_) return true;
@@ -6415,14 +6415,14 @@ class HLoadNamedField V8_FINAL : public HTemplateInstruction<2> {
access.SetGVNFlags(this, LOAD);
}
- virtual bool IsDeletable() const V8_OVERRIDE { return true; }
+ virtual bool IsDeletable() const OVERRIDE { return true; }
HObjectAccess access_;
const UniqueSet<Map>* maps_;
};
-class HLoadNamedGeneric V8_FINAL : public HTemplateInstruction<2> {
+class HLoadNamedGeneric FINAL : public HTemplateInstruction<2> {
public:
DECLARE_INSTRUCTION_WITH_CONTEXT_FACTORY_P2(HLoadNamedGeneric, HValue*,
Handle<Object>);
@@ -6443,11 +6443,11 @@ class HLoadNamedGeneric V8_FINAL : public HTemplateInstruction<2> {
slot_ = slot;
}
- virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE {
+ virtual Representation RequiredInputRepresentation(int index) OVERRIDE {
return Representation::Tagged();
}
- virtual OStream& PrintDataTo(OStream& os) const V8_OVERRIDE; // NOLINT
+ virtual OStream& PrintDataTo(OStream& os) const OVERRIDE; // NOLINT
DECLARE_CONCRETE_INSTRUCTION(LoadNamedGeneric)
@@ -6467,20 +6467,20 @@ class HLoadNamedGeneric V8_FINAL : public HTemplateInstruction<2> {
};
-class HLoadFunctionPrototype V8_FINAL : public HUnaryOperation {
+class HLoadFunctionPrototype FINAL : public HUnaryOperation {
public:
DECLARE_INSTRUCTION_FACTORY_P1(HLoadFunctionPrototype, HValue*);
HValue* function() { return OperandAt(0); }
- virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE {
+ virtual Representation RequiredInputRepresentation(int index) OVERRIDE {
return Representation::Tagged();
}
DECLARE_CONCRETE_INSTRUCTION(LoadFunctionPrototype)
protected:
- virtual bool DataEquals(HValue* other) V8_OVERRIDE { return true; }
+ virtual bool DataEquals(HValue* other) OVERRIDE { return true; }
private:
explicit HLoadFunctionPrototype(HValue* function)
@@ -6517,7 +6517,7 @@ enum LoadKeyedHoleMode {
};
-class HLoadKeyed V8_FINAL
+class HLoadKeyed FINAL
: public HTemplateInstruction<3>, public ArrayInstructionInterface {
public:
DECLARE_INSTRUCTION_FACTORY_P4(HLoadKeyed, HValue*, HValue*, HValue*,
@@ -6551,14 +6551,14 @@ class HLoadKeyed V8_FINAL
void SetDehoisted(bool is_dehoisted) {
bit_field_ = IsDehoistedField::update(bit_field_, is_dehoisted);
}
- virtual ElementsKind elements_kind() const V8_OVERRIDE {
+ virtual ElementsKind elements_kind() const OVERRIDE {
return ElementsKindField::decode(bit_field_);
}
LoadKeyedHoleMode hole_mode() const {
return HoleModeField::decode(bit_field_);
}
- virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE {
+ virtual Representation RequiredInputRepresentation(int index) OVERRIDE {
// kind_fast: tagged[int32] (none)
// kind_double: tagged[int32] (none)
// kind_fixed_typed_array: tagged[int32] (none)
@@ -6574,22 +6574,22 @@ class HLoadKeyed V8_FINAL
return Representation::None();
}
- virtual Representation observed_input_representation(int index) V8_OVERRIDE {
+ virtual Representation observed_input_representation(int index) OVERRIDE {
return RequiredInputRepresentation(index);
}
- virtual OStream& PrintDataTo(OStream& os) const V8_OVERRIDE; // NOLINT
+ virtual OStream& PrintDataTo(OStream& os) const OVERRIDE; // NOLINT
bool UsesMustHandleHole() const;
bool AllUsesCanTreatHoleAsNaN() const;
bool RequiresHoleCheck() const;
- virtual Range* InferRange(Zone* zone) V8_OVERRIDE;
+ virtual Range* InferRange(Zone* zone) OVERRIDE;
DECLARE_CONCRETE_INSTRUCTION(LoadKeyed)
protected:
- virtual bool DataEquals(HValue* other) V8_OVERRIDE {
+ virtual bool DataEquals(HValue* other) OVERRIDE {
if (!other->IsLoadKeyed()) return false;
HLoadKeyed* other_load = HLoadKeyed::cast(other);
@@ -6666,7 +6666,7 @@ class HLoadKeyed V8_FINAL
SetFlag(kUseGVN);
}
- virtual bool IsDeletable() const V8_OVERRIDE {
+ virtual bool IsDeletable() const OVERRIDE {
return !RequiresHoleCheck();
}
@@ -6702,7 +6702,7 @@ class HLoadKeyed V8_FINAL
};
-class HLoadKeyedGeneric V8_FINAL : public HTemplateInstruction<3> {
+class HLoadKeyedGeneric FINAL : public HTemplateInstruction<3> {
public:
DECLARE_INSTRUCTION_WITH_CONTEXT_FACTORY_P2(HLoadKeyedGeneric, HValue*,
HValue*);
@@ -6721,14 +6721,14 @@ class HLoadKeyedGeneric V8_FINAL : public HTemplateInstruction<3> {
slot_ = slot;
}
- virtual OStream& PrintDataTo(OStream& os) const V8_OVERRIDE; // NOLINT
+ virtual OStream& PrintDataTo(OStream& os) const OVERRIDE; // NOLINT
- virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE {
+ virtual Representation RequiredInputRepresentation(int index) OVERRIDE {
// tagged[tagged]
return Representation::Tagged();
}
- virtual HValue* Canonicalize() V8_OVERRIDE;
+ virtual HValue* Canonicalize() OVERRIDE;
DECLARE_CONCRETE_INSTRUCTION(LoadKeyedGeneric)
@@ -6758,7 +6758,7 @@ enum StoreFieldOrKeyedMode {
};
-class HStoreNamedField V8_FINAL : public HTemplateInstruction<3> {
+class HStoreNamedField FINAL : public HTemplateInstruction<3> {
public:
DECLARE_INSTRUCTION_FACTORY_P3(HStoreNamedField, HValue*,
HObjectAccess, HValue*);
@@ -6767,13 +6767,13 @@ class HStoreNamedField V8_FINAL : public HTemplateInstruction<3> {
DECLARE_CONCRETE_INSTRUCTION(StoreNamedField)
- virtual bool HasEscapingOperandAt(int index) V8_OVERRIDE {
+ virtual bool HasEscapingOperandAt(int index) OVERRIDE {
return index == 1;
}
- virtual bool HasOutOfBoundsAccess(int size) V8_OVERRIDE {
+ virtual bool HasOutOfBoundsAccess(int size) OVERRIDE {
return !access().IsInobject() || access().offset() >= size;
}
- virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE {
+ virtual Representation RequiredInputRepresentation(int index) OVERRIDE {
if (index == 0 && access().IsExternalMemory()) {
// object must be external in case of external memory access
return Representation::External();
@@ -6798,13 +6798,13 @@ class HStoreNamedField V8_FINAL : public HTemplateInstruction<3> {
return Representation::Tagged();
}
virtual bool HandleSideEffectDominator(GVNFlag side_effect,
- HValue* dominator) V8_OVERRIDE {
+ HValue* dominator) OVERRIDE {
DCHECK(side_effect == kNewSpacePromotion);
if (!FLAG_use_write_barrier_elimination) return false;
dominator_ = dominator;
return false;
}
- virtual OStream& PrintDataTo(OStream& os) const V8_OVERRIDE; // NOLINT
+ virtual OStream& PrintDataTo(OStream& os) const OVERRIDE; // NOLINT
HValue* object() const { return OperandAt(0); }
HValue* value() const { return OperandAt(1); }
@@ -6903,7 +6903,7 @@ class HStoreNamedField V8_FINAL : public HTemplateInstruction<3> {
};
-class HStoreNamedGeneric V8_FINAL : public HTemplateInstruction<3> {
+class HStoreNamedGeneric FINAL : public HTemplateInstruction<3> {
public:
DECLARE_INSTRUCTION_WITH_CONTEXT_FACTORY_P4(HStoreNamedGeneric, HValue*,
Handle<String>, HValue*,
@@ -6914,9 +6914,9 @@ class HStoreNamedGeneric V8_FINAL : public HTemplateInstruction<3> {
Handle<String> name() const { return name_; }
StrictMode strict_mode() const { return strict_mode_; }
- virtual OStream& PrintDataTo(OStream& os) const V8_OVERRIDE; // NOLINT
+ virtual OStream& PrintDataTo(OStream& os) const OVERRIDE; // NOLINT
- virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE {
+ virtual Representation RequiredInputRepresentation(int index) OVERRIDE {
return Representation::Tagged();
}
@@ -6941,7 +6941,7 @@ class HStoreNamedGeneric V8_FINAL : public HTemplateInstruction<3> {
};
-class HStoreKeyed V8_FINAL
+class HStoreKeyed FINAL
: public HTemplateInstruction<3>, public ArrayInstructionInterface {
public:
DECLARE_INSTRUCTION_FACTORY_P4(HStoreKeyed, HValue*, HValue*, HValue*,
@@ -6951,7 +6951,7 @@ class HStoreKeyed V8_FINAL
DECLARE_INSTRUCTION_FACTORY_P6(HStoreKeyed, HValue*, HValue*, HValue*,
ElementsKind, StoreFieldOrKeyedMode, int);
- virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE {
+ virtual Representation RequiredInputRepresentation(int index) OVERRIDE {
// kind_fast: tagged[int32] = tagged
// kind_double: tagged[int32] = double
// kind_smi : tagged[int32] = smi
@@ -7002,7 +7002,7 @@ class HStoreKeyed V8_FINAL
return is_external() || is_fixed_typed_array();
}
- virtual Representation observed_input_representation(int index) V8_OVERRIDE {
+ virtual Representation observed_input_representation(int index) OVERRIDE {
if (index < 2) return RequiredInputRepresentation(index);
if (IsUninitialized()) {
return Representation::None();
@@ -7037,7 +7037,7 @@ class HStoreKeyed V8_FINAL
}
virtual bool HandleSideEffectDominator(GVNFlag side_effect,
- HValue* dominator) V8_OVERRIDE {
+ HValue* dominator) OVERRIDE {
DCHECK(side_effect == kNewSpacePromotion);
dominator_ = dominator;
return false;
@@ -7060,7 +7060,7 @@ class HStoreKeyed V8_FINAL
bool NeedsCanonicalization();
- virtual OStream& PrintDataTo(OStream& os) const V8_OVERRIDE; // NOLINT
+ virtual OStream& PrintDataTo(OStream& os) const OVERRIDE; // NOLINT
DECLARE_CONCRETE_INSTRUCTION(StoreKeyed)
@@ -7117,7 +7117,7 @@ class HStoreKeyed V8_FINAL
};
-class HStoreKeyedGeneric V8_FINAL : public HTemplateInstruction<4> {
+class HStoreKeyedGeneric FINAL : public HTemplateInstruction<4> {
public:
DECLARE_INSTRUCTION_WITH_CONTEXT_FACTORY_P4(HStoreKeyedGeneric, HValue*,
HValue*, HValue*, StrictMode);
@@ -7128,12 +7128,12 @@ class HStoreKeyedGeneric V8_FINAL : public HTemplateInstruction<4> {
HValue* context() const { return OperandAt(3); }
StrictMode strict_mode() const { return strict_mode_; }
- virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE {
+ virtual Representation RequiredInputRepresentation(int index) OVERRIDE {
// tagged[tagged] = tagged
return Representation::Tagged();
}
- virtual OStream& PrintDataTo(OStream& os) const V8_OVERRIDE; // NOLINT
+ virtual OStream& PrintDataTo(OStream& os) const OVERRIDE; // NOLINT
DECLARE_CONCRETE_INSTRUCTION(StoreKeyedGeneric)
@@ -7155,7 +7155,7 @@ class HStoreKeyedGeneric V8_FINAL : public HTemplateInstruction<4> {
};
-class HTransitionElementsKind V8_FINAL : public HTemplateInstruction<2> {
+class HTransitionElementsKind FINAL : public HTemplateInstruction<2> {
public:
inline static HTransitionElementsKind* New(Zone* zone,
HValue* context,
@@ -7166,7 +7166,7 @@ class HTransitionElementsKind V8_FINAL : public HTemplateInstruction<2> {
original_map, transitioned_map);
}
- virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE {
+ virtual Representation RequiredInputRepresentation(int index) OVERRIDE {
return Representation::Tagged();
}
@@ -7177,12 +7177,12 @@ class HTransitionElementsKind V8_FINAL : public HTemplateInstruction<2> {
ElementsKind from_kind() const { return from_kind_; }
ElementsKind to_kind() const { return to_kind_; }
- virtual OStream& PrintDataTo(OStream& os) const V8_OVERRIDE; // NOLINT
+ virtual OStream& PrintDataTo(OStream& os) const OVERRIDE; // NOLINT
DECLARE_CONCRETE_INSTRUCTION(TransitionElementsKind)
protected:
- virtual bool DataEquals(HValue* other) V8_OVERRIDE {
+ virtual bool DataEquals(HValue* other) OVERRIDE {
HTransitionElementsKind* instr = HTransitionElementsKind::cast(other);
return original_map_ == instr->original_map_ &&
transitioned_map_ == instr->transitioned_map_;
@@ -7217,7 +7217,7 @@ class HTransitionElementsKind V8_FINAL : public HTemplateInstruction<2> {
};
-class HStringAdd V8_FINAL : public HBinaryOperation {
+class HStringAdd FINAL : public HBinaryOperation {
public:
static HInstruction* New(Zone* zone,
HValue* context,
@@ -7231,16 +7231,16 @@ class HStringAdd V8_FINAL : public HBinaryOperation {
StringAddFlags flags() const { return flags_; }
PretenureFlag pretenure_flag() const { return pretenure_flag_; }
- virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE {
+ virtual Representation RequiredInputRepresentation(int index) OVERRIDE {
return Representation::Tagged();
}
- virtual OStream& PrintDataTo(OStream& os) const V8_OVERRIDE; // NOLINT
+ virtual OStream& PrintDataTo(OStream& os) const OVERRIDE; // NOLINT
DECLARE_CONCRETE_INSTRUCTION(StringAdd)
protected:
- virtual bool DataEquals(HValue* other) V8_OVERRIDE {
+ virtual bool DataEquals(HValue* other) OVERRIDE {
return flags_ == HStringAdd::cast(other)->flags_ &&
pretenure_flag_ == HStringAdd::cast(other)->pretenure_flag_;
}
@@ -7268,14 +7268,14 @@ class HStringAdd V8_FINAL : public HBinaryOperation {
}
// No side-effects except possible allocation:
- virtual bool IsDeletable() const V8_OVERRIDE { return true; }
+ virtual bool IsDeletable() const OVERRIDE { return true; }
const StringAddFlags flags_;
const PretenureFlag pretenure_flag_;
};
-class HStringCharCodeAt V8_FINAL : public HTemplateInstruction<3> {
+class HStringCharCodeAt FINAL : public HTemplateInstruction<3> {
public:
DECLARE_INSTRUCTION_WITH_CONTEXT_FACTORY_P2(HStringCharCodeAt,
HValue*,
@@ -7295,9 +7295,9 @@ class HStringCharCodeAt V8_FINAL : public HTemplateInstruction<3> {
DECLARE_CONCRETE_INSTRUCTION(StringCharCodeAt)
protected:
- virtual bool DataEquals(HValue* other) V8_OVERRIDE { return true; }
+ virtual bool DataEquals(HValue* other) OVERRIDE { return true; }
- virtual Range* InferRange(Zone* zone) V8_OVERRIDE {
+ virtual Range* InferRange(Zone* zone) OVERRIDE {
return new(zone) Range(0, String::kMaxUtf16CodeUnit);
}
@@ -7314,17 +7314,17 @@ class HStringCharCodeAt V8_FINAL : public HTemplateInstruction<3> {
}
// No side effects: runtime function assumes string + number inputs.
- virtual bool IsDeletable() const V8_OVERRIDE { return true; }
+ virtual bool IsDeletable() const OVERRIDE { return true; }
};
-class HStringCharFromCode V8_FINAL : public HTemplateInstruction<2> {
+class HStringCharFromCode FINAL : public HTemplateInstruction<2> {
public:
static HInstruction* New(Zone* zone,
HValue* context,
HValue* char_code);
- virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE {
+ virtual Representation RequiredInputRepresentation(int index) OVERRIDE {
return index == 0
? Representation::Tagged()
: Representation::Integer32();
@@ -7333,7 +7333,7 @@ class HStringCharFromCode V8_FINAL : public HTemplateInstruction<2> {
HValue* context() const { return OperandAt(0); }
HValue* value() const { return OperandAt(1); }
- virtual bool DataEquals(HValue* other) V8_OVERRIDE { return true; }
+ virtual bool DataEquals(HValue* other) OVERRIDE { return true; }
DECLARE_CONCRETE_INSTRUCTION(StringCharFromCode)
@@ -7347,7 +7347,7 @@ class HStringCharFromCode V8_FINAL : public HTemplateInstruction<2> {
SetChangesFlag(kNewSpacePromotion);
}
- virtual bool IsDeletable() const V8_OVERRIDE {
+ virtual bool IsDeletable() const OVERRIDE {
return !value()->ToNumberCanBeObserved();
}
};
@@ -7374,7 +7374,7 @@ class HMaterializedLiteral : public HTemplateInstruction<V> {
}
private:
- virtual bool IsDeletable() const V8_FINAL V8_OVERRIDE { return true; }
+ virtual bool IsDeletable() const FINAL OVERRIDE { return true; }
int literal_index_;
int depth_;
@@ -7382,7 +7382,7 @@ class HMaterializedLiteral : public HTemplateInstruction<V> {
};
-class HRegExpLiteral V8_FINAL : public HMaterializedLiteral<1> {
+class HRegExpLiteral FINAL : public HMaterializedLiteral<1> {
public:
DECLARE_INSTRUCTION_WITH_CONTEXT_FACTORY_P4(HRegExpLiteral,
Handle<FixedArray>,
@@ -7395,7 +7395,7 @@ class HRegExpLiteral V8_FINAL : public HMaterializedLiteral<1> {
Handle<String> pattern() { return pattern_; }
Handle<String> flags() { return flags_; }
- virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE {
+ virtual Representation RequiredInputRepresentation(int index) OVERRIDE {
return Representation::Tagged();
}
@@ -7422,14 +7422,14 @@ class HRegExpLiteral V8_FINAL : public HMaterializedLiteral<1> {
};
-class HFunctionLiteral V8_FINAL : public HTemplateInstruction<1> {
+class HFunctionLiteral FINAL : public HTemplateInstruction<1> {
public:
DECLARE_INSTRUCTION_WITH_CONTEXT_FACTORY_P2(HFunctionLiteral,
Handle<SharedFunctionInfo>,
bool);
HValue* context() { return OperandAt(0); }
- virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE {
+ virtual Representation RequiredInputRepresentation(int index) OVERRIDE {
return Representation::Tagged();
}
@@ -7456,7 +7456,7 @@ class HFunctionLiteral V8_FINAL : public HTemplateInstruction<1> {
SetChangesFlag(kNewSpacePromotion);
}
- virtual bool IsDeletable() const V8_OVERRIDE { return true; }
+ virtual bool IsDeletable() const OVERRIDE { return true; }
Handle<SharedFunctionInfo> shared_info_;
bool pretenure_ : 1;
@@ -7466,16 +7466,16 @@ class HFunctionLiteral V8_FINAL : public HTemplateInstruction<1> {
};
-class HTypeof V8_FINAL : public HTemplateInstruction<2> {
+class HTypeof FINAL : public HTemplateInstruction<2> {
public:
DECLARE_INSTRUCTION_WITH_CONTEXT_FACTORY_P1(HTypeof, HValue*);
HValue* context() const { return OperandAt(0); }
HValue* value() const { return OperandAt(1); }
- virtual OStream& PrintDataTo(OStream& os) const V8_OVERRIDE; // NOLINT
+ virtual OStream& PrintDataTo(OStream& os) const OVERRIDE; // NOLINT
- virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE {
+ virtual Representation RequiredInputRepresentation(int index) OVERRIDE {
return Representation::Tagged();
}
@@ -7488,15 +7488,15 @@ class HTypeof V8_FINAL : public HTemplateInstruction<2> {
set_representation(Representation::Tagged());
}
- virtual bool IsDeletable() const V8_OVERRIDE { return true; }
+ virtual bool IsDeletable() const OVERRIDE { return true; }
};
-class HTrapAllocationMemento V8_FINAL : public HTemplateInstruction<1> {
+class HTrapAllocationMemento FINAL : public HTemplateInstruction<1> {
public:
DECLARE_INSTRUCTION_FACTORY_P1(HTrapAllocationMemento, HValue*);
- virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE {
+ virtual Representation RequiredInputRepresentation(int index) OVERRIDE {
return Representation::Tagged();
}
@@ -7511,11 +7511,11 @@ class HTrapAllocationMemento V8_FINAL : public HTemplateInstruction<1> {
};
-class HToFastProperties V8_FINAL : public HUnaryOperation {
+class HToFastProperties FINAL : public HUnaryOperation {
public:
DECLARE_INSTRUCTION_FACTORY_P1(HToFastProperties, HValue*);
- virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE {
+ virtual Representation RequiredInputRepresentation(int index) OVERRIDE {
return Representation::Tagged();
}
@@ -7536,17 +7536,17 @@ class HToFastProperties V8_FINAL : public HUnaryOperation {
#endif
}
- virtual bool IsDeletable() const V8_OVERRIDE { return true; }
+ virtual bool IsDeletable() const OVERRIDE { return true; }
};
-class HDateField V8_FINAL : public HUnaryOperation {
+class HDateField FINAL : public HUnaryOperation {
public:
DECLARE_INSTRUCTION_FACTORY_P2(HDateField, HValue*, Smi*);
Smi* index() const { return index_; }
- virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE {
+ virtual Representation RequiredInputRepresentation(int index) OVERRIDE {
return Representation::Tagged();
}
@@ -7562,7 +7562,7 @@ class HDateField V8_FINAL : public HUnaryOperation {
};
-class HSeqStringGetChar V8_FINAL : public HTemplateInstruction<2> {
+class HSeqStringGetChar FINAL : public HTemplateInstruction<2> {
public:
static HInstruction* New(Zone* zone,
HValue* context,
@@ -7570,7 +7570,7 @@ class HSeqStringGetChar V8_FINAL : public HTemplateInstruction<2> {
HValue* string,
HValue* index);
- virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE {
+ virtual Representation RequiredInputRepresentation(int index) OVERRIDE {
return (index == 0) ? Representation::Tagged()
: Representation::Integer32();
}
@@ -7582,11 +7582,11 @@ class HSeqStringGetChar V8_FINAL : public HTemplateInstruction<2> {
DECLARE_CONCRETE_INSTRUCTION(SeqStringGetChar)
protected:
- virtual bool DataEquals(HValue* other) V8_OVERRIDE {
+ virtual bool DataEquals(HValue* other) OVERRIDE {
return encoding() == HSeqStringGetChar::cast(other)->encoding();
}
- virtual Range* InferRange(Zone* zone) V8_OVERRIDE {
+ virtual Range* InferRange(Zone* zone) OVERRIDE {
if (encoding() == String::ONE_BYTE_ENCODING) {
return new(zone) Range(0, String::kMaxOneByteCharCode);
} else {
@@ -7606,13 +7606,13 @@ class HSeqStringGetChar V8_FINAL : public HTemplateInstruction<2> {
SetDependsOnFlag(kStringChars);
}
- virtual bool IsDeletable() const V8_OVERRIDE { return true; }
+ virtual bool IsDeletable() const OVERRIDE { return true; }
String::Encoding encoding_;
};
-class HSeqStringSetChar V8_FINAL : public HTemplateInstruction<4> {
+class HSeqStringSetChar FINAL : public HTemplateInstruction<4> {
public:
DECLARE_INSTRUCTION_WITH_CONTEXT_FACTORY_P4(
HSeqStringSetChar, String::Encoding,
@@ -7624,7 +7624,7 @@ class HSeqStringSetChar V8_FINAL : public HTemplateInstruction<4> {
HValue* index() { return OperandAt(2); }
HValue* value() { return OperandAt(3); }
- virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE {
+ virtual Representation RequiredInputRepresentation(int index) OVERRIDE {
return (index <= 1) ? Representation::Tagged()
: Representation::Integer32();
}
@@ -7649,17 +7649,17 @@ class HSeqStringSetChar V8_FINAL : public HTemplateInstruction<4> {
};
-class HCheckMapValue V8_FINAL : public HTemplateInstruction<2> {
+class HCheckMapValue FINAL : public HTemplateInstruction<2> {
public:
DECLARE_INSTRUCTION_FACTORY_P2(HCheckMapValue, HValue*, HValue*);
- virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE {
+ virtual Representation RequiredInputRepresentation(int index) OVERRIDE {
return Representation::Tagged();
}
- virtual OStream& PrintDataTo(OStream& os) const V8_OVERRIDE; // NOLINT
+ virtual OStream& PrintDataTo(OStream& os) const OVERRIDE; // NOLINT
- virtual HType CalculateInferredType() V8_OVERRIDE {
+ virtual HType CalculateInferredType() OVERRIDE {
if (value()->type().IsHeapObject()) return value()->type();
return HType::HeapObject();
}
@@ -7667,14 +7667,14 @@ class HCheckMapValue V8_FINAL : public HTemplateInstruction<2> {
HValue* value() const { return OperandAt(0); }
HValue* map() const { return OperandAt(1); }
- virtual HValue* Canonicalize() V8_OVERRIDE;
+ virtual HValue* Canonicalize() OVERRIDE;
DECLARE_CONCRETE_INSTRUCTION(CheckMapValue)
protected:
virtual int RedefinedOperandIndex() { return 0; }
- virtual bool DataEquals(HValue* other) V8_OVERRIDE {
+ virtual bool DataEquals(HValue* other) OVERRIDE {
return true;
}
@@ -7691,20 +7691,20 @@ class HCheckMapValue V8_FINAL : public HTemplateInstruction<2> {
};
-class HForInPrepareMap V8_FINAL : public HTemplateInstruction<2> {
+class HForInPrepareMap FINAL : public HTemplateInstruction<2> {
public:
DECLARE_INSTRUCTION_WITH_CONTEXT_FACTORY_P1(HForInPrepareMap, HValue*);
- virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE {
+ virtual Representation RequiredInputRepresentation(int index) OVERRIDE {
return Representation::Tagged();
}
HValue* context() const { return OperandAt(0); }
HValue* enumerable() const { return OperandAt(1); }
- virtual OStream& PrintDataTo(OStream& os) const V8_OVERRIDE; // NOLINT
+ virtual OStream& PrintDataTo(OStream& os) const OVERRIDE; // NOLINT
- virtual HType CalculateInferredType() V8_OVERRIDE {
+ virtual HType CalculateInferredType() OVERRIDE {
return HType::Tagged();
}
@@ -7721,11 +7721,11 @@ class HForInPrepareMap V8_FINAL : public HTemplateInstruction<2> {
};
-class HForInCacheArray V8_FINAL : public HTemplateInstruction<2> {
+class HForInCacheArray FINAL : public HTemplateInstruction<2> {
public:
DECLARE_INSTRUCTION_FACTORY_P3(HForInCacheArray, HValue*, HValue*, int);
- virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE {
+ virtual Representation RequiredInputRepresentation(int index) OVERRIDE {
return Representation::Tagged();
}
@@ -7741,9 +7741,9 @@ class HForInCacheArray V8_FINAL : public HTemplateInstruction<2> {
index_cache_ = index_cache;
}
- virtual OStream& PrintDataTo(OStream& os) const V8_OVERRIDE; // NOLINT
+ virtual OStream& PrintDataTo(OStream& os) const OVERRIDE; // NOLINT
- virtual HType CalculateInferredType() V8_OVERRIDE {
+ virtual HType CalculateInferredType() OVERRIDE {
return HType::Tagged();
}
@@ -7763,7 +7763,7 @@ class HForInCacheArray V8_FINAL : public HTemplateInstruction<2> {
};
-class HLoadFieldByIndex V8_FINAL : public HTemplateInstruction<2> {
+class HLoadFieldByIndex FINAL : public HTemplateInstruction<2> {
public:
DECLARE_INSTRUCTION_FACTORY_P2(HLoadFieldByIndex, HValue*, HValue*);
@@ -7775,7 +7775,7 @@ class HLoadFieldByIndex V8_FINAL : public HTemplateInstruction<2> {
set_representation(Representation::Tagged());
}
- virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE {
+ virtual Representation RequiredInputRepresentation(int index) OVERRIDE {
if (index == 1) {
return Representation::Smi();
} else {
@@ -7786,16 +7786,16 @@ class HLoadFieldByIndex V8_FINAL : public HTemplateInstruction<2> {
HValue* object() const { return OperandAt(0); }
HValue* index() const { return OperandAt(1); }
- virtual OStream& PrintDataTo(OStream& os) const V8_OVERRIDE; // NOLINT
+ virtual OStream& PrintDataTo(OStream& os) const OVERRIDE; // NOLINT
- virtual HType CalculateInferredType() V8_OVERRIDE {
+ virtual HType CalculateInferredType() OVERRIDE {
return HType::Tagged();
}
DECLARE_CONCRETE_INSTRUCTION(LoadFieldByIndex);
private:
- virtual bool IsDeletable() const V8_OVERRIDE { return true; }
+ virtual bool IsDeletable() const OVERRIDE { return true; }
};
« no previous file with comments | « src/hydrogen-gvn.cc ('k') | src/hydrogen-types.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698