Ignore:
Timestamp:
Jun 26, 2009, 10:15:25 PM (16 years ago)
Author:
[email protected]
Message:

<rdar://problem/7009684> REGRESSION(r45039): Crashes inside JSEvent::put on PowerPC (26746)
<https://bugs.webkit.org/show_bug.cgi?id=26746>

Reviewed by Dan Bernstein

Fix for r45039 incorrectly uncached a get_by_id by converting it to put_by_id. Clearly this
is less than correct. This patch corrects that error.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/interpreter/Interpreter.cpp

    r45039 r45307  
    10861086    StructureChain* protoChain = structure->prototypeChain(callFrame);
    10871087    if (!protoChain->isCacheable()) {
    1088         vPC[0] = getOpcode(op_put_by_id_generic);
     1088        vPC[0] = getOpcode(op_get_by_id_generic);
    10891089        return;
    10901090    }
Note: See TracChangeset for help on using the changeset viewer.