⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 243206 in webkit


Ignore:
Timestamp:
Mar 20, 2019, 9:17:44 AM (7 years ago)
Author:
sbarati@apple.com
Message:

AI rule for ValueBitNot/ValueBitXor/ValueBitAnd/ValueBitOr is wrong
https://bugs.webkit.org/show_bug.cgi?id=195980

Reviewed by Yusuke Suzuki.

They were all saying they could be type: (SpecBoolInt32, SpecBigInt)
However, they should have been type: (SpecInt32Only, SpecBigInt)

  • dfg/DFGAbstractInterpreterInlines.h:

(JSC::DFG::AbstractInterpreter<AbstractStateType>::executeEffects):

Location:
trunk/Source/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r243204 r243206  
     12019-03-20  Saam Barati  <sbarati@apple.com>
     2
     3        AI rule for ValueBitNot/ValueBitXor/ValueBitAnd/ValueBitOr is wrong
     4        https://bugs.webkit.org/show_bug.cgi?id=195980
     5
     6        Reviewed by Yusuke Suzuki.
     7
     8        They were all saying they could be type: (SpecBoolInt32, SpecBigInt)
     9        However, they should have been type: (SpecInt32Only, SpecBigInt)
     10
     11        * dfg/DFGAbstractInterpreterInlines.h:
     12        (JSC::DFG::AbstractInterpreter<AbstractStateType>::executeEffects):
     13
    1142019-03-20  Michael Catanzaro  <mcatanzaro@igalia.com>
    215
  • trunk/Source/JavaScriptCore/dfg/DFGAbstractInterpreterInlines.h

    r242715 r243206  
    390390        else {
    391391            clobberWorld();
    392             setTypeForNode(node, SpecBoolInt32 | SpecBigInt);
     392            setTypeForNode(node, SpecInt32Only | SpecBigInt);
    393393        }
    394394
     
    415415        else {
    416416            clobberWorld();
    417             setTypeForNode(node, SpecBoolInt32 | SpecBigInt);
     417            setTypeForNode(node, SpecInt32Only | SpecBigInt);
    418418        }
    419419        break;
Note: See TracChangeset for help on using the changeset viewer.