| OLD | NEW |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, 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 #include "include/dart_api.h" | 5 #include "include/dart_api.h" |
| 6 #include "include/dart_mirrors_api.h" | 6 #include "include/dart_mirrors_api.h" |
| 7 #include "include/dart_native_api.h" | 7 #include "include/dart_native_api.h" |
| 8 | 8 |
| 9 #include "platform/assert.h" | 9 #include "platform/assert.h" |
| 10 #include "vm/class_finalizer.h" | 10 #include "vm/class_finalizer.h" |
| (...skipping 5956 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5967 instructions_snapshot_buffer, | 5967 instructions_snapshot_buffer, |
| 5968 ApiReallocate); | 5968 ApiReallocate); |
| 5969 writer.WriteFullSnapshot(); | 5969 writer.WriteFullSnapshot(); |
| 5970 *vm_isolate_snapshot_size = writer.VmIsolateSnapshotSize(); | 5970 *vm_isolate_snapshot_size = writer.VmIsolateSnapshotSize(); |
| 5971 *isolate_snapshot_size = writer.IsolateSnapshotSize(); | 5971 *isolate_snapshot_size = writer.IsolateSnapshotSize(); |
| 5972 *instructions_snapshot_size = writer.InstructionsSnapshotSize(); | 5972 *instructions_snapshot_size = writer.InstructionsSnapshotSize(); |
| 5973 | 5973 |
| 5974 return Api::Success(); | 5974 return Api::Success(); |
| 5975 } | 5975 } |
| 5976 | 5976 |
| 5977 |
| 5978 DART_EXPORT bool Dart_IsRunningPrecompiledCode() { |
| 5979 return Dart::IsRunningPrecompiledCode(); |
| 5980 } |
| 5981 |
| 5977 } // namespace dart | 5982 } // namespace dart |
| OLD | NEW |