| Index: runtime/vm/instructions_mips.h
|
| diff --git a/runtime/vm/instructions_mips.h b/runtime/vm/instructions_mips.h
|
| index b4864b74665617ed7d95dd59231f689acfbb73e8..d19d9be9901959e48447ff44906477d387cb8c81 100644
|
| --- a/runtime/vm/instructions_mips.h
|
| +++ b/runtime/vm/instructions_mips.h
|
| @@ -99,6 +99,24 @@ class JumpPattern : public ValueObject {
|
| DISALLOW_COPY_AND_ASSIGN(JumpPattern);
|
| };
|
|
|
| +
|
| +class ReturnPattern : public ValueObject {
|
| + public:
|
| + ReturnPattern(uword pc);
|
| +
|
| + // jr(RA) = 1
|
| + static const int kLengthInBytes = 1*Instr::kInstrSize;
|
| +
|
| + int pattern_length_in_bytes() const {
|
| + return kLengthInBytes;
|
| + }
|
| +
|
| + bool IsValid() const;
|
| +
|
| + private:
|
| + const uword pc_;
|
| +};
|
| +
|
| } // namespace dart
|
|
|
| #endif // VM_INSTRUCTIONS_MIPS_H_
|
|
|