Index: runtime/vm/instructions_dbc.h |
diff --git a/runtime/vm/instructions_dbc.h b/runtime/vm/instructions_dbc.h |
index a10dcc0a62002cb24cc6c57cad35ad413968cf07..6db52052bc284427f4bc1694db642ab574b1faca 100644 |
--- a/runtime/vm/instructions_dbc.h |
+++ b/runtime/vm/instructions_dbc.h |
@@ -57,7 +57,12 @@ class CallPattern : public ValueObject { |
RawCode* TargetCode() const; |
void SetTargetCode(const Code& code) const; |
- static void InsertDeoptCallAt(uword pc); |
+ // 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_; |