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

Unified Diff: runtime/vm/instructions_arm64.h

Issue 1355953002: Fix lazy deoptimization from deferred code. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: speed up ia32 disassembler 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_arm.cc ('k') | runtime/vm/instructions_mips.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/instructions_arm64.h
diff --git a/runtime/vm/instructions_arm64.h b/runtime/vm/instructions_arm64.h
index 34bc3326d12dc8f6946fdeeb2948114b05e52a66..0d2c96d70ceba0d775b65f631bd78f6504fa8c63 100644
--- a/runtime/vm/instructions_arm64.h
+++ b/runtime/vm/instructions_arm64.h
@@ -66,7 +66,9 @@ class CallPattern : public ValueObject {
// This constant length is only valid for inserted call patterns used for
// lazy deoptimization. Regular call pattern may vary in length.
- static const int kDeoptCallLengthInBytes = 5 * Instr::kInstrSize;
+ static const int kDeoptCallLengthInInstructions = 5;
+ static const int kDeoptCallLengthInBytes =
+ kDeoptCallLengthInInstructions * Instr::kInstrSize;
static void InsertDeoptCallAt(uword pc, uword target_address);
« no previous file with comments | « runtime/vm/instructions_arm.cc ('k') | runtime/vm/instructions_mips.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698