Index: runtime/vm/instructions_arm64.h |
diff --git a/runtime/vm/instructions_arm64.h b/runtime/vm/instructions_arm64.h |
index 0d2c96d70ceba0d775b65f631bd78f6504fa8c63..32e6f3801c9cd98216ad4d61f3dbebe11c77f3bc 100644 |
--- a/runtime/vm/instructions_arm64.h |
+++ b/runtime/vm/instructions_arm64.h |
@@ -106,6 +106,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); |