OLD | NEW |
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
| 5 // clang-format off |
| 6 |
5 // This file is linked into the dart executable when it has a snapshot | 7 // This file is linked into the dart executable when it has a snapshot |
6 // linked into it. | 8 // linked into it. |
7 | 9 |
8 #if defined(_WIN32) | 10 #if defined(_WIN32) |
9 typedef unsigned __int8 uint8_t; | 11 typedef unsigned __int8 uint8_t; |
10 #else | 12 #else |
11 #include <inttypes.h> | 13 #include <inttypes.h> |
12 #include <stdint.h> | 14 #include <stdint.h> |
13 #endif | 15 #endif |
14 #include <stddef.h> | 16 #include <stddef.h> |
(...skipping 15 matching lines...) Expand all Loading... |
30 // generated snapshot binary file for a regular dart isolate. | 32 // generated snapshot binary file for a regular dart isolate. |
31 // This string forms the content of a regular dart isolate snapshot which is | 33 // This string forms the content of a regular dart isolate snapshot which is |
32 // loaded into an isolate when it is created. | 34 // loaded into an isolate when it is created. |
33 static const uint8_t isolate_snapshot_buffer_[] = { | 35 static const uint8_t isolate_snapshot_buffer_[] = { |
34 %s | 36 %s |
35 }; | 37 }; |
36 const uint8_t* isolate_snapshot_buffer = isolate_snapshot_buffer_; | 38 const uint8_t* isolate_snapshot_buffer = isolate_snapshot_buffer_; |
37 | 39 |
38 } // namespace bin | 40 } // namespace bin |
39 } // namespace dart | 41 } // namespace dart |
OLD | NEW |