| Index: src/hydrogen-instructions.h
|
| diff --git a/src/hydrogen-instructions.h b/src/hydrogen-instructions.h
|
| index 696d8b00f8635fd98943df65da87ae3af511a982..de8e19a5fd73f72331c249c881d0222b0318b16d 100644
|
| --- a/src/hydrogen-instructions.h
|
| +++ b/src/hydrogen-instructions.h
|
| @@ -638,6 +638,8 @@ class HValue : public ZoneObject {
|
| flags_(0) {}
|
| virtual ~HValue() {}
|
|
|
| + virtual int position() const { return RelocInfo::kNoPosition; }
|
| +
|
| HBasicBlock* block() const { return block_; }
|
| void SetBlock(HBasicBlock* block);
|
| int LoopWeight() const;
|
| @@ -1114,7 +1116,7 @@ class HInstruction : public HValue {
|
| void InsertAfter(HInstruction* previous);
|
|
|
| // The position is a write-once variable.
|
| - int position() const { return position_; }
|
| + virtual int position() const V8_OVERRIDE { return position_; }
|
| bool has_position() const { return position_ != RelocInfo::kNoPosition; }
|
| void set_position(int position) {
|
| ASSERT(!has_position());
|
| @@ -3147,6 +3149,8 @@ class HPhi V8_FINAL : public HValue {
|
| bool IsReceiver() const { return merged_index_ == 0; }
|
| bool HasMergedIndex() const { return merged_index_ != kInvalidMergedIndex; }
|
|
|
| + virtual int position() const V8_OVERRIDE;
|
| +
|
| int merged_index() const { return merged_index_; }
|
|
|
| InductionVariableData* induction_variable_data() {
|
|
|