87c8a6ee76
regular isolate snapsot. - change gen_snapshot to split a full snapshot into a vm isolate snapshot and an isolate snapshot - change the build process and scripts to account for splitting the full snapshot R=hausner@google.com Review URL: https://codereview.chromium.org//1023753006 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@44814 260f80e4-7a28-3924-810f-c04153c831b5
25 lines
621 B
C++
25 lines
621 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_isolate_snapshot_buffer = NULL;
|
|
const uint8_t* isolate_snapshot_buffer = NULL;
|
|
|
|
} // namespace bin
|
|
} // namespace dart
|