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

Unified Diff: runtime/vm/instructions_x64.h

Issue 10912146: Finish implementing lazy deoptimization (ia32, x64). Ran tests with --deoptimize-alot. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 3 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/flow_graph_compiler_x64.cc ('k') | runtime/vm/instructions_x64.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/instructions_x64.h
===================================================================
--- runtime/vm/instructions_x64.h (revision 12092)
+++ runtime/vm/instructions_x64.h (working copy)
@@ -97,6 +97,28 @@
};
+// 5 byte call instruction.
+class ShortCallPattern : public InstructionPattern {
+ public:
+ explicit ShortCallPattern(uword pc) : InstructionPattern(pc) {}
+ static int InstructionLength() {
+ return kLengthInBytes;
+ }
+
+ virtual int pattern_length_in_bytes() const {
+ return kLengthInBytes;
+ }
+
+ void SetTargetAddress(uword new_target) const;
+
+ private:
+ static const int kLengthInBytes = 5;
+ virtual const int* pattern() const;
+
+ DISALLOW_COPY_AND_ASSIGN(ShortCallPattern);
+};
+
+
} // namespace dart
#endif // VM_INSTRUCTIONS_X64_H_
« no previous file with comments | « runtime/vm/flow_graph_compiler_x64.cc ('k') | runtime/vm/instructions_x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698