Chromium Code Reviews| Index: runtime/vm/instructions_ia32.h |
| diff --git a/runtime/vm/instructions_ia32.h b/runtime/vm/instructions_ia32.h |
| index 365ac265309f007e9f01d1d8753ecf99af8d7658..7f9f1885b8c4f5825a091c5996aa93c4c28ef03d 100644 |
| --- a/runtime/vm/instructions_ia32.h |
| +++ b/runtime/vm/instructions_ia32.h |
| @@ -95,6 +95,17 @@ class JumpPattern : public CallOrJumpPattern { |
| }; |
| +class ReturnPattern : public InstructionPattern { |
| + public: |
| + explicit ReturnPattern(uword pc) : InstructionPattern(pc) {} |
| + |
| + virtual const int* pattern() const; |
| + virtual int pattern_length_in_bytes() const { return kLengthInBytes; } |
|
siva
2015/02/25 22:58:39
I guess this name is coming from some existing cod
Cutch
2015/02/26 18:44:40
Acknowledged.
|
| + |
| + private: |
| + static const int kLengthInBytes = 1; |
| +}; |
| + |
| } // namespace dart |
| #endif // VM_INSTRUCTIONS_IA32_H_ |