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

Unified Diff: src/third_party/fdlibm/fdlibm.js

Issue 1409143011: Revert of 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/runtime/runtime-maths.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/third_party/fdlibm/fdlibm.js
diff --git a/src/third_party/fdlibm/fdlibm.js b/src/third_party/fdlibm/fdlibm.js
index a5e789f38a59d56083c82338aca4cd59bbb7aee0..6a64c6ca52697118fdb2fa0b6121802d03173d0e 100644
--- a/src/third_party/fdlibm/fdlibm.js
+++ b/src/third_party/fdlibm/fdlibm.js
@@ -28,7 +28,6 @@
// -------------------------------------------------------------------
// Imports
-var GlobalFloat64Array = global.Float64Array;
var GlobalMath = global.Math;
var MathAbs;
var MathExp;
@@ -40,9 +39,9 @@
MathExp = from.MathExp;
});
-utils.CreateDoubleResultArray = function(global) {
- rempio2result = new GlobalFloat64Array(2);
-};
+utils.SetupTypedArray(function(arg) {
+ rempio2result = arg;
+});
// -------------------------------------------------------------------
« no previous file with comments | « src/runtime/runtime-maths.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698