Changeset 154139 in webkit for trunk/Source/JavaScriptCore


Ignore:
Timestamp:
Aug 15, 2013, 2:54:01 PM (12 years ago)
Author:
[email protected]
Message:

http://trac.webkit.org/changeset/154120 accidentally changed DFGCapabilities to read the resolve type from operand 4, not 3; it should be 3.

Rubber stamped by Oliver Hunt.

This was causing some test crashes for me.

  • dfg/DFGCapabilities.cpp:

(JSC::DFG::capabilityLevel):

Location:
trunk/Source/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r154136 r154139  
     12013-08-15  Filip Pizlo  <[email protected]>
     2
     3        http://trac.webkit.org/changeset/154120 accidentally changed DFGCapabilities to read the resolve type from operand 4, not 3; it should be 3.
     4
     5        Rubber stamped by Oliver Hunt.
     6       
     7        This was causing some test crashes for me.
     8
     9        * dfg/DFGCapabilities.cpp:
     10        (JSC::DFG::capabilityLevel):
     11
    1122013-08-15  Brent Fulgham  <[email protected]>
    213
  • trunk/Source/JavaScriptCore/dfg/DFGCapabilities.cpp

    r154120 r154139  
    184184    case op_resolve_scope: {
    185185        // We don't compile 'catch' or 'with', so there's no point in compiling variable resolution within them.
    186         ResolveType resolveType = ResolveModeAndType(pc[4].u.operand).type();
     186        ResolveType resolveType = ResolveModeAndType(pc[3].u.operand).type();
    187187        if (resolveType == Dynamic)
    188188            return CannotCompile;
Note: See TracChangeset for help on using the changeset viewer.