a37d042e68
TEST=manual Issue: https://github.com/dart-lang/sdk/issues/61635 Change-Id: I27f712d9687d45a09173b1018bc08812dd18658e Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/460580 Reviewed-by: Slava Egorov <vegorov@google.com> Reviewed-by: Ryan Macnak <rmacnak@google.com> Commit-Queue: Alexander Markov <alexmarkov@google.com>
28 lines
823 B
C++
28 lines
823 B
C++
// Copyright (c) 2025, 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.
|
|
|
|
#ifndef RUNTIME_VM_MODULE_SNAPSHOT_H_
|
|
#define RUNTIME_VM_MODULE_SNAPSHOT_H_
|
|
|
|
#if !defined(DART_PRECOMPILED_RUNTIME)
|
|
|
|
#include "platform/assert.h"
|
|
#include "vm/allocation.h"
|
|
#include "vm/globals.h"
|
|
#include "vm/snapshot.h"
|
|
#include "vm/thread.h"
|
|
|
|
namespace dart {
|
|
namespace module_snapshot {
|
|
|
|
ApiErrorPtr ReadModuleSnapshot(Thread* thread,
|
|
const Snapshot* snapshot,
|
|
const uint8_t* instructions_buffer);
|
|
|
|
} // namespace module_snapshot
|
|
} // namespace dart
|
|
|
|
#endif // !defined(DART_PRECOMPILED_RUNTIME)
|
|
#endif // RUNTIME_VM_MODULE_SNAPSHOT_H_
|