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

Unified Diff: runtime/vm/snapshot.cc

Issue 516303006: Minor changes to avoid handle creation. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 3 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/parser.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/snapshot.cc
===================================================================
--- runtime/vm/snapshot.cc (revision 39813)
+++ runtime/vm/snapshot.cc (working copy)
@@ -504,7 +504,8 @@
char* actual_version = OS::StrNDup(version, version_len);
OS::SNPrint(message_buffer,
kMessageBufferSize,
- "Wrong full snapshot version, expected '%s' found '%s'",
+ "Wrong %s snapshot version, expected '%s' found '%s'",
+ (kind_ == Snapshot::kFull) ? "full" : "script",
Version::SnapshotString(),
actual_version);
free(actual_version);
« no previous file with comments | « runtime/vm/parser.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698