| 1 | // Copyright (c) 2018, the Dart project authors. Please see the AUTHORS file |
| 2 | // for details. All rights reserved. Use of this source code is governed by a |
| 3 | // BSD-style license that can be found in the LICENSE file. |
| 4 | // Classes that describe assembly patterns as used by inline caches. |
| 5 | |
| 6 | #ifndef RUNTIME_VM_INSTRUCTIONS_KBC_H_ |
| 7 | #define RUNTIME_VM_INSTRUCTIONS_KBC_H_ |
| 8 | |
| 9 | #include "vm/globals.h" |
| 10 | #if !defined(DART_PRECOMPILED_RUNTIME) |
| 11 | |
| 12 | #include "vm/object.h" |
| 13 | |
| 14 | namespace dart { |
| 15 | |
| 16 | class KBCNativeCallPattern : public AllStatic { |
| 17 | public: |
| 18 | static TypedDataPtr GetNativeEntryDataAt(uword pc, const Bytecode& bytecode); |
| 19 | }; |
| 20 | |
| 21 | #endif // !defined(DART_PRECOMPILED_RUNTIME) |
| 22 | |
| 23 | } // namespace dart |
| 24 | |
| 25 | #endif // RUNTIME_VM_INSTRUCTIONS_KBC_H_ |
| 26 | |