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

Side by Side Diff: runtime/vm/dart_api_message.h

Issue 1944213002: Support for taking full snapshots from 'dart', not just 'dart_bootstrap'. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 7 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/vm/dart_api_impl.cc ('k') | runtime/vm/dart_api_message.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 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 #ifndef VM_DART_API_MESSAGE_H_ 5 #ifndef VM_DART_API_MESSAGE_H_
6 #define VM_DART_API_MESSAGE_H_ 6 #define VM_DART_API_MESSAGE_H_
7 7
8 #include "include/dart_native_api.h" 8 #include "include/dart_native_api.h"
9 #include "platform/utils.h" 9 #include "platform/utils.h"
10 #include "vm/allocation.h" 10 #include "vm/allocation.h"
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 BackRefNode* AllocateBackRefNode(Dart_CObject* ref, DeserializeState state); 108 BackRefNode* AllocateBackRefNode(Dart_CObject* ref, DeserializeState state);
109 109
110 void Init(); 110 void Init();
111 111
112 intptr_t LookupInternalClass(intptr_t class_header); 112 intptr_t LookupInternalClass(intptr_t class_header);
113 Dart_CObject* ReadVMIsolateObject(intptr_t value); 113 Dart_CObject* ReadVMIsolateObject(intptr_t value);
114 Dart_CObject* ReadInternalVMObject(intptr_t class_id, intptr_t object_id); 114 Dart_CObject* ReadInternalVMObject(intptr_t class_id, intptr_t object_id);
115 Dart_CObject* ReadInlinedObject(intptr_t object_id); 115 Dart_CObject* ReadInlinedObject(intptr_t object_id);
116 Dart_CObject* ReadObjectImpl(); 116 Dart_CObject* ReadObjectImpl();
117 Dart_CObject* ReadIndexedObject(intptr_t object_id); 117 Dart_CObject* ReadIndexedObject(intptr_t object_id);
118 Dart_CObject* ReadVMSymbol(intptr_t object_id); 118 Dart_CObject* ReadPredefinedSymbol(intptr_t object_id);
119 Dart_CObject* ReadObjectRef(); 119 Dart_CObject* ReadObjectRef();
120 Dart_CObject* ReadObject(); 120 Dart_CObject* ReadObject();
121 121
122 // Add object to backward references. 122 // Add object to backward references.
123 void AddBackRef(intptr_t id, Dart_CObject* obj, DeserializeState state); 123 void AddBackRef(intptr_t id, Dart_CObject* obj, DeserializeState state);
124 124
125 // Get an object from the backward references list. 125 // Get an object from the backward references list.
126 Dart_CObject* GetBackRef(intptr_t id); 126 Dart_CObject* GetBackRef(intptr_t id);
127 127
128 intptr_t NextAvailableObjectId() const; 128 intptr_t NextAvailableObjectId() const;
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
244 244
245 static void ConvertNull(Dart_CObject* c_obj) { 245 static void ConvertNull(Dart_CObject* c_obj) {
246 c_obj->type = Dart_CObject_kNull; 246 c_obj->type = Dart_CObject_kNull;
247 c_obj->value.as_int64 = 0; 247 c_obj->value.as_int64 = 0;
248 } 248 }
249 }; 249 };
250 250
251 } // namespace dart 251 } // namespace dart
252 252
253 #endif // VM_DART_API_MESSAGE_H_ 253 #endif // VM_DART_API_MESSAGE_H_
OLDNEW
« no previous file with comments | « runtime/vm/dart_api_impl.cc ('k') | runtime/vm/dart_api_message.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698