Changeset 140221 in webkit


Ignore:
Timestamp:
Jan 18, 2013 4:56:26 PM (11 years ago)
Author:
msaboff@apple.com
Message:

Change set r140201 broke editing/selection/move-by-word-visually-multi-line.html
https://bugs.webkit.org/show_bug.cgi?id=107340

Reviewed by Filip Pizlo.

Due to the change landed in r140201, more nodes might end up
generating Int32ToDouble nodes. Therefore, changed the JSVALUE64
constant path of compileInt32ToDouble() to use the more
restrictive isInt32Constant() check on the input. This check was
the same as the existing ASSERT() so the ASSERT was eliminated.

  • dfg/DFGSpeculativeJIT.cpp:

(JSC::DFG::SpeculativeJIT::compileInt32ToDouble):

Location:
trunk/Source/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r140211 r140221  
     12013-01-18  Michael Saboff  <msaboff@apple.com>
     2
     3        Change set r140201 broke editing/selection/move-by-word-visually-multi-line.html
     4        https://bugs.webkit.org/show_bug.cgi?id=107340
     5
     6        Reviewed by Filip Pizlo.
     7
     8        Due to the change landed in r140201, more nodes might end up
     9        generating Int32ToDouble nodes.  Therefore, changed the JSVALUE64
     10        constant path of compileInt32ToDouble() to use the more
     11        restrictive isInt32Constant() check on the input.  This check was
     12        the same as the existing ASSERT() so the ASSERT was eliminated.
     13
     14        * dfg/DFGSpeculativeJIT.cpp:
     15        (JSC::DFG::SpeculativeJIT::compileInt32ToDouble):
     16
    1172013-01-18  Viatcheslav Ostapenko  <sl.ostapenko@samsung.com>
    218
  • trunk/Source/JavaScriptCore/dfg/DFGSpeculativeJIT.cpp

    r139835 r140221  
    24722472    // any such mechanism - though we could have it, if we just provisioned some memory
    24732473    // in CodeBlock for the double form of integer constants.
    2474     if (at(node.child1()).hasConstant()) {
    2475         ASSERT(isInt32Constant(node.child1().index()));
     2474    if (isInt32Constant(node.child1().index())) {
    24762475        FPRTemporary result(this);
    24772476        GPRTemporary temp(this);
Note: See TracChangeset for help on using the changeset viewer.