Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(118)

Side by Side Diff: runtime/include/dart_api.h

Issue 1373873004: Make --noopt behave like an in-place precompilation. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 2 * Copyright (c) 2012, 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_API_H_ 7 #ifndef INCLUDE_DART_API_H_
8 #define INCLUDE_DART_API_H_ 8 #define INCLUDE_DART_API_H_
9 9
10 /** \mainpage Dart Embedding API Reference 10 /** \mainpage Dart Embedding API Reference
(...skipping 2858 matching lines...) Expand 10 before | Expand all | Expand 10 after
2869 * ============== 2869 * ==============
2870 */ 2870 */
2871 2871
2872 2872
2873 typedef struct { 2873 typedef struct {
2874 const char* library_uri; 2874 const char* library_uri;
2875 const char* class_name; 2875 const char* class_name;
2876 const char* function_name; 2876 const char* function_name;
2877 } Dart_QualifiedFunctionName; 2877 } Dart_QualifiedFunctionName;
2878 2878
2879 2879
srdjan 2015/09/29 23:27:47 Please add a comment why 'reset_fields' is necessa
rmacnak 2015/09/30 00:10:29 Done.
2880 DART_EXPORT Dart_Handle Dart_Precompile( 2880 DART_EXPORT Dart_Handle Dart_Precompile(
2881 Dart_QualifiedFunctionName entry_points[]); 2881 Dart_QualifiedFunctionName entry_points[],
2882 bool reset_fields);
2882 2883
2883 2884
2884 DART_EXPORT Dart_Handle Dart_CreatePrecompiledSnapshot( 2885 DART_EXPORT Dart_Handle Dart_CreatePrecompiledSnapshot(
2885 uint8_t** vm_isolate_snapshot_buffer, 2886 uint8_t** vm_isolate_snapshot_buffer,
2886 intptr_t* vm_isolate_snapshot_size, 2887 intptr_t* vm_isolate_snapshot_size,
2887 uint8_t** isolate_snapshot_buffer, 2888 uint8_t** isolate_snapshot_buffer,
2888 intptr_t* isolate_snapshot_size, 2889 intptr_t* isolate_snapshot_size,
2889 uint8_t** instructions_snapshot_buffer, 2890 uint8_t** instructions_snapshot_buffer,
2890 intptr_t* instructions_snapshot_size); 2891 intptr_t* instructions_snapshot_size);
2891 2892
2892 #endif /* INCLUDE_DART_API_H_ */ /* NOLINT */ 2893 #endif /* INCLUDE_DART_API_H_ */ /* NOLINT */
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698