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):

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.