blob: bc3047c19000f106b2c82f264ecad4eb8a27bc28 [file] [log] [blame]
// 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.
// clang-format off
// This file is linked into the dart executable when it has a snapshot
// linked into it.
#include <stdint.h>
extern "C" {
// The string on the next line will be filled in with the contents of the
// generated snapshot binary file for the vm isolate.
// This string forms the content of a vm isolate snapshot which is loaded
// into the vm isolate.
uint8_t kDartVmSnapshotData[] = {
%s
};
uint8_t kDartVmSnapshotInstructions[] = {};
// The string on the next line will be filled in with the contents of the
// generated snapshot binary file for a regular dart isolate.
// This string forms the content of a regular dart isolate snapshot which is
// loaded into an isolate when it is created.
uint8_t kDartCoreIsolateSnapshotData[] = {
%s
};
uint8_t kDartCoreIsolateSnapshotInstructions[] = {};
}