[vm] Remove transitions for removing VM isolate.
TEST=ci Change-Id: I65c315e9efc3cd7b8b47d2c167681986278644da Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/502780 Reviewed-by: Alexander Markov <alexmarkov@google.com> Commit-Queue: Ryan Macnak <rmacnak@google.com>
This commit is contained in:
committed by
dart-scoped@luci-project-accounts.iam.gserviceaccount.com
parent
dd66887ed7
commit
546bf07f7d
@@ -838,7 +838,7 @@ typedef Dart_Handle (*Dart_GetVMServiceAssetsArchive)(void);
|
||||
* The current version of the Dart_InitializeFlags. Should be incremented every
|
||||
* time Dart_InitializeFlags changes in a binary incompatible way.
|
||||
*/
|
||||
#define DART_INITIALIZE_PARAMS_CURRENT_VERSION (0x0000000A)
|
||||
#define DART_INITIALIZE_PARAMS_CURRENT_VERSION (0x0000000B)
|
||||
|
||||
/** Forward declaration */
|
||||
struct Dart_CodeObserver;
|
||||
@@ -874,10 +874,6 @@ typedef struct {
|
||||
*/
|
||||
int32_t version;
|
||||
|
||||
/* TRANSITION */
|
||||
const uint8_t* vm_snapshot_data;
|
||||
const uint8_t* vm_snapshot_instructions;
|
||||
|
||||
/**
|
||||
* A function to be called during isolate group creation.
|
||||
* See Dart_IsolateGroupCreateCallback.
|
||||
@@ -4018,23 +4014,6 @@ DART_EXPORT Dart_Handle Dart_LoadingUnitLibraryUris(intptr_t loading_unit_id);
|
||||
#define kSnapshotTextAsmSymbol "_kDartSnapshotText"
|
||||
#define kSnapshotBssAsmSymbol "_kDartSnapshotBss"
|
||||
|
||||
/* TRANSITION */
|
||||
#if defined(__APPLE__)
|
||||
#define kVmSnapshotDataCSymbol "kDartVmSnapshotData"
|
||||
#define kVmSnapshotInstructionsCSymbol "kDartVmSnapshotInstructions"
|
||||
#define kVmSnapshotBssCSymbol "kDartVmSnapshotBss"
|
||||
#define kIsolateSnapshotDataCSymbol "kDartIsolateSnapshotData"
|
||||
#define kIsolateSnapshotInstructionsCSymbol "kDartIsolateSnapshotInstructions"
|
||||
#define kIsolateSnapshotBssCSymbol "kDartIsolateSnapshotBss"
|
||||
#else
|
||||
#define kVmSnapshotDataCSymbol "_kDartVmSnapshotData"
|
||||
#define kVmSnapshotInstructionsCSymbol "_kDartVmSnapshotInstructions"
|
||||
#define kVmSnapshotBssCSymbol "_kDartVmSnapshotBss"
|
||||
#define kIsolateSnapshotDataCSymbol "_kDartIsolateSnapshotData"
|
||||
#define kIsolateSnapshotInstructionsCSymbol "_kDartIsolateSnapshotInstructions"
|
||||
#define kIsolateSnapshotBssCSymbol "_kDartIsolateSnapshotBss"
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Creates a precompiled snapshot.
|
||||
* - A root library must have been loaded.
|
||||
@@ -4207,15 +4186,10 @@ Dart_CreateAppAOTSnapshotAndRelocatableObject(
|
||||
const char* path);
|
||||
|
||||
/**
|
||||
* Like Dart_CreateAppAOTSnapshotAsAssembly, but only includes
|
||||
* kDartVmSnapshotData and kDartVmSnapshotInstructions. It also does
|
||||
* not strip DWARF information from the generated assembly or allow for
|
||||
* separate debug information.
|
||||
* Creates a blob needed only on Fuchsia to work around platform deficiencies.
|
||||
* The embedder must place it at pkg/lib/ffi_callback_stub.bin.
|
||||
*/
|
||||
DART_EXPORT DART_API_WARN_UNUSED_RESULT Dart_Handle
|
||||
Dart_CreateVMAOTSnapshotAsAssembly(Dart_StreamingWriteCallback callback,
|
||||
void* callback_data);
|
||||
DART_EXPORT DART_API_WARN_UNUSED_RESULT Dart_Handle
|
||||
Dart_WriteCallbackStub(Dart_StreamingWriteCallback callback,
|
||||
void* callback_data);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user