Reviewers: rossberg,
Message:
PTAL
Description:
Fix the order of experimenal global init/natives installation.
Just like for normal natives, we need to initialize the global object
first and install natives afterwards.
[email protected]
Please review this at https://codereview.chromium.org/960263003/
Base URL: https://chromium.googlesource.com/v8/v8.git@master
Affected files (+1, -1 lines):
M src/bootstrapper.cc
Index: src/bootstrapper.cc
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc
index
eb2269c15ecf6292d86e553157b532a33d5894ab..7fb1b680c2e78f38d6372f0960b02c331f96ea7f
100644
--- a/src/bootstrapper.cc
+++ b/src/bootstrapper.cc
@@ -2892,8 +2892,8 @@ Genesis::Genesis(Isolate* isolate,
}
// Install experimental natives.
- if (!InstallExperimentalNatives()) return;
InitializeExperimentalGlobal();
+ if (!InstallExperimentalNatives()) return;
// The serializer cannot serialize typed arrays. Reset those typed arrays
// for each new context.
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.