Ignore:
Timestamp:
Sep 21, 2009, 8:45:13 AM (16 years ago)
Author:
[email protected]
Message:

Re-land SNES fix, with correct assertion

RS=Maciej Stachowiak

File:
1 edited

Legend:

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

    r48580 r48582  
    170170    if (globalObject->getPropertySlot(callFrame, ident, slot)) {
    171171        JSValue result = slot.getValue(callFrame, ident);
    172         if (slot.isCacheable() && !globalObject->structure()->isDictionary() && slot.slotBase() == globalObject) {
     172        if (slot.isCacheable() && !globalObject->structure()->isUncacheableDictionary() && slot.slotBase() == globalObject) {
    173173            if (vPC[4].u.structure)
    174174                vPC[4].u.structure->deref();
     
    954954    Structure* structure = baseCell->structure();
    955955
    956     if (structure->isDictionary()) {
     956    if (structure->isUncacheableDictionary()) {
    957957        vPC[0] = getOpcode(op_put_by_id_generic);
    958958        return;
     
    10411041    Structure* structure = asCell(baseValue)->structure();
    10421042
    1043     if (structure->isDictionary()) {
     1043    if (structure->isUncacheableDictionary()) {
    10441044        vPC[0] = getOpcode(op_get_by_id_generic);
    10451045        return;
Note: See TracChangeset for help on using the changeset viewer.