mirror of
https://github.com/dart-lang/sdk
synced 2024-10-14 11:42:11 +00:00
b46af1e75f
Progress toward allowing each isolate to load a different snapshot. R=asiva@google.com Review-Url: https://codereview.chromium.org/2622053002 .
26 lines
719 B
C++
26 lines
719 B
C++
// Copyright (c) 2011, 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.
|
|
|
|
// This file is linked into the dart executable when it does not have a
|
|
// snapshot linked into it.
|
|
|
|
#if defined(_WIN32)
|
|
typedef unsigned __int8 uint8_t;
|
|
#else
|
|
#include <inttypes.h>
|
|
#include <stdint.h>
|
|
#endif
|
|
#include <stddef.h>
|
|
|
|
namespace dart {
|
|
namespace bin {
|
|
|
|
const uint8_t* vm_snapshot_data = NULL;
|
|
const uint8_t* vm_snapshot_instructions = NULL;
|
|
const uint8_t* core_isolate_snapshot_data = NULL;
|
|
const uint8_t* core_isolate_snapshot_instructions = NULL;
|
|
|
|
} // namespace bin
|
|
} // namespace dart
|