| Index: runtime/vm/raw_object.h
|
| diff --git a/runtime/vm/raw_object.h b/runtime/vm/raw_object.h
|
| index 19a1de512c72ebba6ecb0fe39c6add1bd4ca33ff..514f9c62fd96b7463d49b15e6d8778c03bcf6d52 100644
|
| --- a/runtime/vm/raw_object.h
|
| +++ b/runtime/vm/raw_object.h
|
| @@ -929,16 +929,19 @@ class RawLibrary : public RawObject {
|
| RawScript* script_;
|
| RawString* private_key_;
|
| RawArray* dictionary_; // Top-level names in this library.
|
| - RawArray* resolved_names_; // Cache of resolved names in library scope.
|
| RawGrowableObjectArray* metadata_; // Metadata on classes, methods etc.
|
| RawArray* anonymous_classes_; // Classes containing top-level elements.
|
| RawArray* imports_; // List of Namespaces imported without prefix.
|
| RawArray* exports_; // List of re-exported Namespaces.
|
| - RawArray* loaded_scripts_; // Array of scripts loaded in this library.
|
| RawInstance* load_error_; // Error iff load_state_ == kLoadError.
|
| - RawObject** to() {
|
| + RawObject** to_snapshot() {
|
| return reinterpret_cast<RawObject**>(&ptr()->load_error_);
|
| }
|
| + RawArray* resolved_names_; // Cache of resolved names in library scope.
|
| + RawArray* loaded_scripts_; // Array of scripts loaded in this library.
|
| + RawObject** to() {
|
| + return reinterpret_cast<RawObject**>(&ptr()->loaded_scripts_);
|
| + }
|
|
|
| Dart_NativeEntryResolver native_entry_resolver_; // Resolves natives.
|
| Dart_NativeEntrySymbol native_entry_symbol_resolver_;
|
|
|