Bug 141792 - Refine the FTL part of ArithPow
Summary: Refine the FTL part of ArithPow
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Benjamin Poulain
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-18 22:00 PST by Benjamin Poulain
Modified: 2015-02-19 13:08 PST (History)
2 users (show)

See Also:


Attachments
Patch (20.75 KB, patch)
2015-02-18 22:20 PST, Benjamin Poulain
fpizlo: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Benjamin Poulain 2015-02-18 22:00:44 PST
Refine the FTL part of ArithPow
Comment 1 Benjamin Poulain 2015-02-18 22:20:43 PST
Created attachment 246880 [details]
Patch
Comment 2 Benjamin Poulain 2015-02-18 23:37:51 PST
Comment on attachment 246880 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=246880&action=review

> Source/JavaScriptCore/tests/stress/math-pow-with-constants.js:177
> +            throw "Error: exponentIsInfinityConstant(2) should be Infinity, was = " + result;

Note to self: fix the error messages before landing.

> Source/JavaScriptCore/tests/stress/math-pow-with-constants.js:182
> +            throw "Error: exponentIsInfinityConstant(5) should be Infinity+29, was = " + result;

Ditto

> Source/JavaScriptCore/tests/stress/math-pow-with-constants.js:187
> +            throw "Error: exponentIsInfinityConstant(2.1) should be Infinity, was = " + result;

Ditto

> Source/JavaScriptCore/tests/stress/math-pow-with-constants.js:202
> +            throw "Error: exponentIsNegativeInfinityConstant(2) should be Infinity, was = " + result;

Ditto

> Source/JavaScriptCore/tests/stress/math-pow-with-constants.js:207
> +            throw "Error: exponentIsNegativeInfinityConstant(5) should be Infinity+29, was = " + result;

Ditto

> Source/JavaScriptCore/tests/stress/math-pow-with-constants.js:212
> +            throw "Error: exponentIsNegativeInfinityConstant(2.1) should be Infinity, was = " + result;

Ditto
Comment 3 Benjamin Poulain 2015-02-19 13:08:32 PST
Committed r180360: <http://trac.webkit.org/changeset/180360>