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

Unified Diff: runtime/vm/snapshot_test.cc

Issue 2186423002: Only reload libraries when they may have been modified. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Code review Created 4 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
« no previous file with comments | « runtime/vm/service.cc ('k') | runtime/vm/unit_test.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/snapshot_test.cc
diff --git a/runtime/vm/snapshot_test.cc b/runtime/vm/snapshot_test.cc
index bcd69f7b6527a8620b19d81be4e5769f023b4e52..915358a6a1c154f55e8f304bbb219d3d5616b3d6 100644
--- a/runtime/vm/snapshot_test.cc
+++ b/runtime/vm/snapshot_test.cc
@@ -1373,6 +1373,7 @@ UNIT_TEST_CASE(ScriptSnapshot) {
// Load the library.
Dart_Handle import_lib = Dart_LoadLibrary(NewString("dart_import_lib"),
+ Dart_Null(),
NewString(kLibScriptChars),
0, 0);
EXPECT_VALID(import_lib);
@@ -1435,6 +1436,7 @@ UNIT_TEST_CASE(ScriptSnapshot) {
// Load the library.
Dart_Handle lib = Dart_LoadLibrary(NewString("dart_lib"),
+ Dart_Null(),
NewString(kScriptChars),
0, 0);
EXPECT_VALID(lib);
@@ -1610,6 +1612,7 @@ UNIT_TEST_CASE(ScriptSnapshot2) {
// Load the library.
Dart_Handle import_lib = Dart_LoadLibrary(NewString("dart_import_lib"),
+ Dart_Null(),
NewString(kLibScriptChars),
0, 0);
EXPECT_VALID(import_lib);
« no previous file with comments | « runtime/vm/service.cc ('k') | runtime/vm/unit_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698