Index: runtime/vm/instructions_x64.h |
diff --git a/runtime/vm/instructions_x64.h b/runtime/vm/instructions_x64.h |
index 9e02313cee1bb6df3b44ef27672166d30827058c..0c0dc5397f48c6aa5a976de5c1870ff45ee22bec 100644 |
--- a/runtime/vm/instructions_x64.h |
+++ b/runtime/vm/instructions_x64.h |
@@ -101,6 +101,17 @@ class ShortCallPattern : public InstructionPattern { |
}; |
+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; } |
+ |
+ private: |
+ static const int kLengthInBytes = 1; |
+}; |
+ |
} // namespace dart |
#endif // VM_INSTRUCTIONS_X64_H_ |