Index: runtime/vm/instructions_arm.h |
diff --git a/runtime/vm/instructions_arm.h b/runtime/vm/instructions_arm.h |
index 687cf7e03ddb359382fcf85cbf940894439b210b..86d81a7ad615a2507b8ff652fe89c73c8241d922 100644 |
--- a/runtime/vm/instructions_arm.h |
+++ b/runtime/vm/instructions_arm.h |
@@ -57,6 +57,13 @@ class CallPattern : public ValueObject { |
RawCode* TargetCode() const; |
void SetTargetCode(const Code& code) const; |
+ // This constant length is only valid for inserted call patterns used for |
+ // lazy deoptimization. Regular call pattern may vary in length. |
+ static int DeoptCallPatternLengthInBytes(); |
+ static int DeoptCallPatternLengthInInstructions(); |
+ |
+ static void InsertDeoptCallAt(uword pc, uword target_address); |
+ |
private: |
const ObjectPool& object_pool_; |