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

Unified Diff: src/snapshot-common.cc

Issue 342054: Introduce a switch for the new snapshot code and switch... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 11 years, 2 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: src/snapshot-common.cc
===================================================================
--- src/snapshot-common.cc (revision 3179)
+++ src/snapshot-common.cc (working copy)
@@ -73,10 +73,12 @@
if (!str) return false;
Deserialize2(str, len);
DeleteArray(str);
+ return true;
} else if (size_ > 0) {
Deserialize2(data_, size_);
+ return true;
}
- return true;
+ return false;
}
« src/mksnapshot.cc ('K') | « src/serialize.cc ('k') | src/x64/assembler-x64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698