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

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

Issue 1915853004: Option to output precompiled instructions as a blob for use with mmap instead of assembly for use i… (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 8 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
« no previous file with comments | « runtime/bin/main.cc ('k') | runtime/vm/benchmark_test.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 2939 matching lines...) Expand 10 before | Expand all | Expand 10 after
2950 * the same process. 2950 * the same process.
2951 * 2951 *
2952 * \return An error handle if a compilation error or runtime error running const 2952 * \return An error handle if a compilation error or runtime error running const
2953 * constructors was encountered. 2953 * constructors was encountered.
2954 */ 2954 */
2955 DART_EXPORT Dart_Handle Dart_Precompile( 2955 DART_EXPORT Dart_Handle Dart_Precompile(
2956 Dart_QualifiedFunctionName entry_points[], 2956 Dart_QualifiedFunctionName entry_points[],
2957 bool reset_fields); 2957 bool reset_fields);
2958 2958
2959 2959
2960 DART_EXPORT Dart_Handle Dart_CreatePrecompiledSnapshot( 2960 DART_EXPORT Dart_Handle Dart_CreatePrecompiledSnapshotAssembly(
2961 uint8_t** vm_isolate_snapshot_buffer, 2961 uint8_t** vm_isolate_snapshot_buffer,
2962 intptr_t* vm_isolate_snapshot_size, 2962 intptr_t* vm_isolate_snapshot_size,
2963 uint8_t** isolate_snapshot_buffer, 2963 uint8_t** isolate_snapshot_buffer,
2964 intptr_t* isolate_snapshot_size, 2964 intptr_t* isolate_snapshot_size,
2965 uint8_t** instructions_snapshot_buffer, 2965 uint8_t** instructions_assembly_buffer,
2966 intptr_t* instructions_snapshot_size); 2966 intptr_t* instructions_assembly_size);
2967
2968
2969 DART_EXPORT Dart_Handle Dart_CreatePrecompiledSnapshotBlob(
2970 uint8_t** vm_isolate_snapshot_buffer,
2971 intptr_t* vm_isolate_snapshot_size,
2972 uint8_t** isolate_snapshot_buffer,
2973 intptr_t* isolate_snapshot_size,
2974 uint8_t** instructions_blob_buffer,
2975 intptr_t* instructions_blob_size,
2976 uint8_t** rodata_blob_buffer,
2977 intptr_t* rodata_blob_size);
2967 2978
2968 2979
2969 DART_EXPORT bool Dart_IsRunningPrecompiledCode(); 2980 DART_EXPORT bool Dart_IsRunningPrecompiledCode();
2970 2981
2971 #endif /* INCLUDE_DART_API_H_ */ /* NOLINT */ 2982 #endif /* INCLUDE_DART_API_H_ */ /* NOLINT */
OLDNEW
« no previous file with comments | « runtime/bin/main.cc ('k') | runtime/vm/benchmark_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698