Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 /* | 1 /* |
| 2 * Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 2 * Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 3 * for details. All rights reserved. Use of this source code is governed by a | 3 * for details. All rights reserved. Use of this source code is governed by a |
| 4 * BSD-style license that can be found in the LICENSE file. | 4 * BSD-style license that can be found in the LICENSE file. |
| 5 */ | 5 */ |
| 6 | 6 |
| 7 #ifndef INCLUDE_DART_NATIVE_API_H_ | 7 #ifndef INCLUDE_DART_NATIVE_API_H_ |
| 8 #define INCLUDE_DART_NATIVE_API_H_ | 8 #define INCLUDE_DART_NATIVE_API_H_ |
| 9 | 9 |
| 10 #include "include/dart_api.h" | 10 #include "include/dart_api.h" |
| (...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 153 */ | 153 */ |
| 154 | 154 |
| 155 /** | 155 /** |
| 156 * Forces all loaded classes and functions to be compiled eagerly in | 156 * Forces all loaded classes and functions to be compiled eagerly in |
| 157 * the current isolate.. | 157 * the current isolate.. |
| 158 * | 158 * |
| 159 * TODO(turnidge): Document. | 159 * TODO(turnidge): Document. |
| 160 */ | 160 */ |
| 161 DART_EXPORT Dart_Handle Dart_CompileAll(); | 161 DART_EXPORT Dart_Handle Dart_CompileAll(); |
| 162 DART_EXPORT Dart_Handle Dart_Precompile(); | 162 DART_EXPORT Dart_Handle Dart_Precompile(); |
| 163 DART_EXPORT Dart_Handle Dart_CreatePrecompiledSnapshot( | |
| 164 uint8_t** vm_isolate_snapshot_buffer, | |
| 165 intptr_t* vm_isolate_snapshot_size, | |
| 166 uint8_t** isolate_snapshot_buffer, | |
| 167 intptr_t* isolate_snapshot_size, | |
| 168 uint8_t** instructions_snapshot_buffer, | |
| 169 intptr_t* instructions_snapshot_size); | |
|
siva
2015/09/02 21:16:37
I think Dart_Precompile and Dart_CreatePrecompiled
rmacnak
2015/09/02 22:58:50
Moved.
| |
| 163 | 170 |
| 164 #endif /* INCLUDE_DART_NATIVE_API_H_ */ /* NOLINT */ | 171 #endif /* INCLUDE_DART_NATIVE_API_H_ */ /* NOLINT */ |
| OLD | NEW |