Index: runtime/vm/instructions_mips.h |
diff --git a/runtime/vm/instructions_mips.h b/runtime/vm/instructions_mips.h |
index 95f04f74d08dfa71b7b23808658b6121bc6e0075..a5a398f846701f802771e53ab4fde7aba244fd19 100644 |
--- a/runtime/vm/instructions_mips.h |
+++ b/runtime/vm/instructions_mips.h |
@@ -57,6 +57,12 @@ class CallPattern : public ValueObject { |
RawCode* TargetCode() const; |
void SetTargetCode(const Code& target) const; |
+ static const int kDeoptCallLengthInInstructions = 4; |
+ static const int kDeoptCallLengthInBytes = |
+ kDeoptCallLengthInInstructions * Instr::kInstrSize; |
+ |
+ static void InsertDeoptCallAt(uword pc, uword target_address); |
+ |
private: |
const ObjectPool& object_pool_; |