Index: runtime/vm/instructions_mips.h |
diff --git a/runtime/vm/instructions_mips.h b/runtime/vm/instructions_mips.h |
index fb2e22ba673aaea9f3510b67c1b844bcec83eb37..eb49a024db083103127d49520d5be3329c48986c 100644 |
--- a/runtime/vm/instructions_mips.h |
+++ b/runtime/vm/instructions_mips.h |
@@ -97,6 +97,23 @@ class NativeCallPattern : public ValueObject { |
}; |
+class SwitchableCallPattern : public ValueObject { |
+ public: |
+ SwitchableCallPattern(uword pc, const Code& code); |
+ |
+ RawObject* cache() const; |
+ void SetCache(const MegamorphicCache& cache) const; |
+ void SetLookupStub(const Code& stub) const; |
+ |
+ private: |
+ const ObjectPool& object_pool_; |
+ intptr_t cache_pool_index_; |
+ intptr_t stub_pool_index_; |
+ |
+ DISALLOW_COPY_AND_ASSIGN(SwitchableCallPattern); |
+}; |
+ |
+ |
class ReturnPattern : public ValueObject { |
public: |
explicit ReturnPattern(uword pc); |