| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include <inttypes.h> | 5 #include <inttypes.h> |
| 6 #include <stdint.h> | 6 #include <stdint.h> |
| 7 #include <stddef.h> | 7 #include <stddef.h> |
| 8 | 8 |
| 9 namespace blink { | 9 namespace blink { |
| 10 | 10 |
| 11 // The string on the next line will be filled in with the contents of the | 11 // The string on the next line will be filled in with the contents of the |
| 12 // generated snapshot binary file. | 12 // generated snapshot binary file for the vm isolate. |
| 13 // This string forms the content of a snapshot which is loaded in by dart. | 13 // This string forms the content of the dart vm isolate snapshot which |
| 14 static const uint8_t snapshot_buffer_[] = { % s}; | 14 // is loaded into the vm isolate. |
| 15 static const uint8_t vm_isolate_snapshot_buffer_[] = { % s}; |
| 16 const uint8_t* kDartVmIsolateSnapshotBuffer = vm_isolate_snapshot_buffer_; |
| 15 | 17 |
| 16 const uint8_t* kDartSnapshotBuffer = snapshot_buffer_; | 18 // The string on the next line will be filled in with the contents of the |
| 19 // generated snapshot binary file for a regular dart isolate. |
| 20 // This string forms the content of a regular dart isolate snapshot which |
| 21 // is loaded into an isolate when it is created. |
| 22 static const uint8_t isolate_snapshot_buffer_[] = { % s}; |
| 23 const uint8_t* kDartIsolateSnapshotBuffer = isolate_snapshot_buffer_; |
| 17 | 24 |
| 18 } // namespace blink | 25 } // namespace blink |
| OLD | NEW |