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

Unified Diff: runtime/vm/benchmark_test.cc

Issue 270503007: Eliminate unused url mapping parameter in dartutils (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 7 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/bin/gen_snapshot.cc ('k') | runtime/vm/dart_api_impl_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/benchmark_test.cc
===================================================================
--- runtime/vm/benchmark_test.cc (revision 35981)
+++ runtime/vm/benchmark_test.cc (working copy)
@@ -438,7 +438,9 @@
// Start an Isolate, load a script and create a full snapshot.
uint8_t* buffer;
- TestCase::LoadTestScript(kScriptChars, NULL);
+ // Need to load the script into the dart: core library due to
+ // the import of dart:_internal.
+ TestCase::LoadCoreTestScript(kScriptChars, NULL);
Api::CheckIsolateState(Isolate::Current());
// Write snapshot with object content.
@@ -467,7 +469,9 @@
// Start an Isolate, load a script and create a full snapshot.
uint8_t* buffer;
- TestCase::LoadTestScript(kScriptChars, NULL);
+ // Need to load the script into the dart: core library due to
+ // the import of dart:_internal.
+ TestCase::LoadCoreTestScript(kScriptChars, NULL);
Api::CheckIsolateState(Isolate::Current());
// Write snapshot with object content.
« no previous file with comments | « runtime/bin/gen_snapshot.cc ('k') | runtime/vm/dart_api_impl_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698