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

Unified Diff: src/bootstrapper.cc

Issue 978813002: Serializer: still install experimental globals when creating a snapshot. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 10 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 | « no previous file | test/cctest/test-serialize.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/bootstrapper.cc
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc
index 960406d59ad6726b3bb4f3f4cc0dea541d8b1d6f..7a040bc7d3d171b7f29520bf5e8311b6609b1f43 100644
--- a/src/bootstrapper.cc
+++ b/src/bootstrapper.cc
@@ -2896,9 +2896,10 @@ Genesis::Genesis(Isolate* isolate,
// they have already been deserialized would also fail.
if (!isolate->serializer_enabled()) {
if (!InstallExperimentalNatives()) return;
vogelheim 2015/03/04 14:37:34 super nitpick: I think I'd find 1x if with &&-ed c
Yang 2015/03/04 14:41:04 Done.
- InitializeExperimentalGlobal();
}
+ InitializeExperimentalGlobal();
+
// The serializer cannot serialize typed arrays. Reset those typed arrays
// for each new context.
InitializeBuiltinTypedArrays();
« no previous file with comments | « no previous file | test/cctest/test-serialize.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698