[fdlibm] Inline coefficients for __kernel_sin and __kernel_cos.
authorBenedikt Meurer <bmeurer@chromium.org>
Mon, 9 Mar 2015 07:29:57 +0000 (08:29 +0100)
committerBenedikt Meurer <bmeurer@chromium.org>
Mon, 9 Mar 2015 07:30:09 +0000 (07:30 +0000)
commit9bce5b347f4df7415354a412e39c65b5b91d7c52
treef0a0680be8f4bb5b207534603ae39cdc7e2bc7c8
parent3c4a32dcdc8ca054130789cb2062a22b3e09071c
[fdlibm] Inline coefficients for __kernel_sin and __kernel_cos.

Loading the coefficients from a the constants typed array is currently
blocking inlining MathSin and MathCos into TurboFan generated code,
because there is no type feedback and hence TurboFan has to generate a
LOAD_IC for every coefficient.

R=yanggou@chromium.org
BUG=v8:3952
LOG=n

Review URL: https://codereview.chromium.org/989133002

Cr-Commit-Position: refs/heads/master@{#27057}
src/third_party/fdlibm/fdlibm.js