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

Unified Diff: runtime/vm/raw_object.h

Issue 419103003: Handle load errors in deferred code (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: runtime/vm/raw_object.h
===================================================================
--- runtime/vm/raw_object.h (revision 38636)
+++ runtime/vm/raw_object.h (working copy)
@@ -798,8 +798,9 @@
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.
+ RawObject* load_error_; // Error iff load_state_ == kLoadError.
Ivan Posva 2014/07/31 18:29:05 RawInstance*
hausner 2014/07/31 21:12:45 Done.
RawObject** to() {
- return reinterpret_cast<RawObject**>(&ptr()->loaded_scripts_);
+ return reinterpret_cast<RawObject**>(&ptr()->load_error_);
}
int32_t index_; // Library id number.

Powered by Google App Engine
This is Rietveld 408576698