| Index: src/compiler/instruction.h
|
| diff --git a/src/compiler/instruction.h b/src/compiler/instruction.h
|
| index 82191c828da1db4892880790aee027df98494597..f68ef8fc74d094e30f7095b6e89fd6fe93b6cde6 100644
|
| --- a/src/compiler/instruction.h
|
| +++ b/src/compiler/instruction.h
|
| @@ -930,9 +930,12 @@ class Constant final {
|
| explicit Constant(Handle<HeapObject> obj)
|
| : type_(kHeapObject), value_(bit_cast<intptr_t>(obj)) {}
|
| explicit Constant(RpoNumber rpo) : type_(kRpoNumber), value_(rpo.ToInt()) {}
|
| + explicit Constant(RelocatablePtrConstantInfo info);
|
|
|
| Type type() const { return type_; }
|
|
|
| + RelocInfo::Mode rmode() const { return rmode_; }
|
| +
|
| int32_t ToInt32() const {
|
| DCHECK(type() == kInt32 || type() == kInt64);
|
| const int32_t value = static_cast<int32_t>(value_);
|
| @@ -975,6 +978,7 @@ class Constant final {
|
| private:
|
| Type type_;
|
| int64_t value_;
|
| + RelocInfo::Mode rmode_;
|
| };
|
|
|
|
|
|
|