Bug 141792

Summary: Refine the FTL part of ArithPow
Product: WebKit Reporter: Benjamin Poulain <benjamin>
Component: New BugsAssignee: Benjamin Poulain <benjamin>
Status: RESOLVED FIXED    
Severity: Normal CC: fpizlo, msaboff
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch fpizlo: review+

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>