Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1267)

Unified Diff: runtime/vm/instructions_ia32.h

Issue 928833003: Add Function based profile tree (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/instructions_arm64.cc ('k') | runtime/vm/instructions_ia32.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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; }
+
+ private:
+ static const int kLengthInBytes = 1;
+};
+
} // namespace dart
#endif // VM_INSTRUCTIONS_IA32_H_
« no previous file with comments | « runtime/vm/instructions_arm64.cc ('k') | runtime/vm/instructions_ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698