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

Unified Diff: runtime/vm/snapshot_test.cc

Issue 12438033: Write the magic number 0xf5f5dcdc into a script snapshot file and use this to distinguish whether a… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 9 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/dart_api_impl.cc ('k') | sdk/bin/dart2js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/snapshot_test.cc
===================================================================
--- runtime/vm/snapshot_test.cc (revision 20286)
+++ runtime/vm/snapshot_test.cc (working copy)
@@ -1130,7 +1130,7 @@
// Load the test library from the snapshot.
EXPECT(script_snapshot != NULL);
- result = Dart_LoadScriptFromSnapshot(script_snapshot);
+ result = Dart_LoadScriptFromSnapshot(script_snapshot, size);
EXPECT_VALID(result);
// Get list of library URLs loaded and compare with expected count.
@@ -1204,7 +1204,7 @@
// Load the test library from the snapshot.
EXPECT(script_snapshot != NULL);
- result = Dart_LoadScriptFromSnapshot(script_snapshot);
+ result = Dart_LoadScriptFromSnapshot(script_snapshot, size);
EXPECT_VALID(result);
}
Dart_ShutdownIsolate();
« no previous file with comments | « runtime/vm/dart_api_impl.cc ('k') | sdk/bin/dart2js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698