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

Unified Diff: runtime/vm/instructions_x64.h

Issue 869533003: VM: Emit compacter code for x64 branches to external labels. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 5 years, 11 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/assembler_x64_test.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 43070)
+++ runtime/vm/instructions_x64.h (working copy)
@@ -56,29 +56,6 @@
};
-class CallPattern : public InstructionPattern {
- public:
- CallPattern(uword pc, const Code& code)
- : InstructionPattern(pc),
- code_(code) {}
- static int InstructionLength() {
- return kLengthInBytes;
- }
- uword TargetAddress() const;
- void SetTargetAddress(uword new_target) const;
- virtual int pattern_length_in_bytes() const {
- return kLengthInBytes;
- }
-
- private:
- static const int kLengthInBytes = 13;
- virtual const int* pattern() const;
- const Code& code_;
-
- DISALLOW_COPY_AND_ASSIGN(CallPattern);
-};
-
-
class JumpPattern : public InstructionPattern {
public:
JumpPattern(uword pc, const Code& code)
@@ -93,8 +70,8 @@
return kLengthInBytes;
}
+ static const int kLengthInBytes = 7;
private:
- static const int kLengthInBytes = 10;
virtual const int* pattern() const;
const Array& object_pool_;
« no previous file with comments | « runtime/vm/assembler_x64_test.cc ('k') | runtime/vm/instructions_x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698