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

Unified Diff: src/js/prologue.js

Issue 1421703004: Initialize maths result array in JS. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 1 month 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 | « src/bootstrapper.cc ('k') | src/runtime/runtime-maths.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/js/prologue.js
diff --git a/src/js/prologue.js b/src/js/prologue.js
index b91a76562eed0d86e9bd6450e79cfcf77f66791e..e0cf05f1860af31b51c0f77388cbbf24e2d2748f 100644
--- a/src/js/prologue.js
+++ b/src/js/prologue.js
@@ -247,12 +247,12 @@ function PostExperimentals(utils) {
utils.InitializeRNG();
utils.InitializeRNG = UNDEFINED;
+ utils.CreateDoubleResultArray();
+ utils.CreateDoubleResultArray = UNDEFINED;
utils.Export = UNDEFINED;
utils.PostDebug = UNDEFINED;
utils.PostExperimentals = UNDEFINED;
- utils.InitializeBuiltinTypedArrays = UNDEFINED;
- utils.SetupTypedArray = UNDEFINED;
typed_array_setup = UNDEFINED;
}
@@ -264,6 +264,8 @@ function PostDebug(utils) {
utils.InitializeRNG();
utils.InitializeRNG = UNDEFINED;
+ utils.CreateDoubleResultArray();
+ utils.CreateDoubleResultArray = UNDEFINED;
exports_container = UNDEFINED;
@@ -272,8 +274,6 @@ function PostDebug(utils) {
utils.ImportNow = UNDEFINED;
utils.PostDebug = UNDEFINED;
utils.PostExperimentals = UNDEFINED;
- utils.InitializeBuiltinTypedArrays = UNDEFINED;
- utils.SetupTypedArray = UNDEFINED;
typed_array_setup = UNDEFINED;
}
@@ -304,8 +304,6 @@ utils.SetUpLockedPrototype = SetUpLockedPrototype;
utils.PostNatives = PostNatives;
utils.PostExperimentals = PostExperimentals;
utils.PostDebug = PostDebug;
-utils.SetupTypedArray = SetupTypedArray;
-utils.InitializeBuiltinTypedArrays = InitializeBuiltinTypedArrays;
%ToFastProperties(utils);
« no previous file with comments | « src/bootstrapper.cc ('k') | src/runtime/runtime-maths.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698