mirror of
https://github.com/dart-lang/sdk
synced 2024-09-05 00:13:50 +00:00
![Régis Crelier](/assets/img/avatar_default.png)
Allow pc_marker slot to hold a Code object or a new Bytecode object. Change-Id: If11c1df6dafc5b1cfcce6f0322c36d1d68e86df9 Reviewed-on: https://dart-review.googlesource.com/c/82526 Commit-Queue: Régis Crelier <regis@google.com> Reviewed-by: Ryan Macnak <rmacnak@google.com> Reviewed-by: Alexander Markov <alexmarkov@google.com>
26 lines
724 B
C++
26 lines
724 B
C++
// Copyright (c) 2018, the Dart project authors. Please see the AUTHORS file
|
|
// for details. All rights reserved. Use of this source code is governed by a
|
|
// BSD-style license that can be found in the LICENSE file.
|
|
// Classes that describe assembly patterns as used by inline caches.
|
|
|
|
#ifndef RUNTIME_VM_INSTRUCTIONS_KBC_H_
|
|
#define RUNTIME_VM_INSTRUCTIONS_KBC_H_
|
|
|
|
#include "vm/globals.h"
|
|
#if !defined(DART_PRECOMPILED_RUNTIME)
|
|
|
|
#include "vm/object.h"
|
|
|
|
namespace dart {
|
|
|
|
class KBCNativeCallPattern : public AllStatic {
|
|
public:
|
|
static RawTypedData* GetNativeEntryDataAt(uword pc, const Bytecode& bytecode);
|
|
};
|
|
|
|
#endif // !defined(DART_PRECOMPILED_RUNTIME)
|
|
|
|
} // namespace dart
|
|
|
|
#endif // RUNTIME_VM_INSTRUCTIONS_KBC_H_
|