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

Unified Diff: runtime/bin/gen_snapshot.cc

Issue 10574037: Add dart:web to VM. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 6 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/bin/gen_snapshot.cc
===================================================================
--- runtime/bin/gen_snapshot.cc (revision 8884)
+++ runtime/bin/gen_snapshot.cc (working copy)
@@ -188,6 +188,8 @@
id = Builtin::kUriLibrary;
} else if (DartUtils::IsDartUtfLibURL(url_string)) {
id = Builtin::kUtfLibrary;
+ } else if (DartUtils::IsDartWebLibURL(url_string)) {
+ id = Builtin::kWebLibrary;
} else {
return Dart_Error("Do not know how to load '%s'", url_string);
}
@@ -310,6 +312,8 @@
VerifyLoaded(library);
library = LoadGenericSnapshotCreationScript(Builtin::kUtfLibrary);
VerifyLoaded(library);
+ library = LoadGenericSnapshotCreationScript(Builtin::kWebLibrary);
+ VerifyLoaded(library);
}
uint8_t* buffer = NULL;

Powered by Google App Engine
This is Rietveld 408576698