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

Unified Diff: runtime/vm/instructions_x64.h

Issue 1192103004: VM: New calling convention for generated code. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: fixed comments Created 5 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/instructions_mips_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
diff --git a/runtime/vm/instructions_x64.h b/runtime/vm/instructions_x64.h
index 4c4aae833deaf66594d7c7f48adeebf5ae450fd3..5d7616dd4064dfc54aba279c26c01be4e05c0841 100644
--- a/runtime/vm/instructions_x64.h
+++ b/runtime/vm/instructions_x64.h
@@ -65,30 +65,6 @@ template<class P> class InstructionPattern : public ValueObject {
};
-class JumpPattern : public InstructionPattern<JumpPattern> {
- public:
- JumpPattern(uword pc, const Code& code)
- : InstructionPattern(pc),
- object_pool_(ObjectPool::Handle(code.GetObjectPool())) {}
-
- uword TargetAddress() const;
- void SetTargetAddress(uword new_target) const;
-
- static const int kLengthInBytes = 7;
- static int pattern_length_in_bytes() { return kLengthInBytes; }
- static const int* pattern() {
- // 07: 41 ff a7 imm32 jmpq [reg + off]
- static const int kJumpPattern[kLengthInBytes] =
- {0x41, 0xFF, -1, -1, -1, -1, -1};
- return kJumpPattern;
- }
- private:
- const ObjectPool& object_pool_;
-
- DISALLOW_COPY_AND_ASSIGN(JumpPattern);
-};
-
-
// 5 byte call instruction.
class ShortCallPattern : public InstructionPattern<ShortCallPattern> {
public:
« no previous file with comments | « runtime/vm/instructions_mips_test.cc ('k') | runtime/vm/instructions_x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698