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

Unified Diff: runtime/vm/instructions_arm64.h

Issue 241573002: Code patching for ARM64. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 8 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/constants_arm64.h ('k') | runtime/vm/instructions_arm64.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/instructions_arm64.h
===================================================================
--- runtime/vm/instructions_arm64.h (revision 35070)
+++ runtime/vm/instructions_arm64.h (working copy)
@@ -59,7 +59,7 @@
// This constant length is only valid for inserted call patterns used for
// lazy deoptimization. Regular call pattern may vary in length.
- static int LengthInBytes();
+ static const int kLengthInBytes = 5 * Instr::kInstrSize;
static void InsertAt(uword pc, uword target_address);
@@ -82,9 +82,11 @@
public:
JumpPattern(uword pc, const Code& code);
- static const int kLengthInBytes = 3 * Instr::kInstrSize;
+ static const int kLengthInBytes = 5 * Instr::kInstrSize;
- static int pattern_length_in_bytes();
+ int pattern_length_in_bytes() const {
+ return kLengthInBytes;
+ }
bool IsValid() const;
uword TargetAddress() const;
« no previous file with comments | « runtime/vm/constants_arm64.h ('k') | runtime/vm/instructions_arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698