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); |