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

Side by Side Diff: src/third_party/fdlibm/fdlibm.js

Issue 1140743004: Generalize builtins inlining flag to allow forced inlining of any function (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix comment Created 5 years, 7 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 unified diff | Download patch
« no previous file with comments | « src/runtime/runtime-function.cc ('k') | src/v8natives.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // The following is adapted from fdlibm (http://www.netlib.org/fdlibm), 1 // The following is adapted from fdlibm (http://www.netlib.org/fdlibm),
2 // 2 //
3 // ==================================================== 3 // ====================================================
4 // Copyright (C) 1993-2004 by Sun Microsystems, Inc. All rights reserved. 4 // Copyright (C) 1993-2004 by Sun Microsystems, Inc. All rights reserved.
5 // 5 //
6 // Developed at SunSoft, a Sun Microsystems, Inc. business. 6 // Developed at SunSoft, a Sun Microsystems, Inc. business.
7 // Permission to use, copy, modify, and distribute this 7 // Permission to use, copy, modify, and distribute this
8 // software is freely granted, provided that this notice 8 // software is freely granted, provided that this notice
9 // is preserved. 9 // is preserved.
10 // ==================================================== 10 // ====================================================
(...skipping 1006 matching lines...) Expand 10 before | Expand all | Expand 10 after
1017 "sin", MathSin, 1017 "sin", MathSin,
1018 "tan", MathTan, 1018 "tan", MathTan,
1019 "sinh", MathSinh, 1019 "sinh", MathSinh,
1020 "cosh", MathCosh, 1020 "cosh", MathCosh,
1021 "log10", MathLog10, 1021 "log10", MathLog10,
1022 "log2", MathLog2, 1022 "log2", MathLog2,
1023 "log1p", MathLog1p, 1023 "log1p", MathLog1p,
1024 "expm1", MathExpm1 1024 "expm1", MathExpm1
1025 ]); 1025 ]);
1026 1026
1027 %SetInlineBuiltinFlag(MathSin); 1027 %SetForceInlineFlag(MathSin);
1028 %SetInlineBuiltinFlag(MathCos); 1028 %SetForceInlineFlag(MathCos);
1029 1029
1030 }) 1030 })
OLDNEW
« no previous file with comments | « src/runtime/runtime-function.cc ('k') | src/v8natives.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698