Ignore:
Timestamp:
Sep 6, 2008, 10:44:58 PM (17 years ago)
Author:
[email protected]
Message:

Merge squirrelfish-extreme to trunk.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/VM/CodeGenerator.cpp

    r36032 r36244  
    11931193RegisterID* CodeGenerator::emitCatch(RegisterID* targetRegister, LabelID* start, LabelID* end)
    11941194{
    1195     HandlerInfo info = { start->offsetFrom(0), end->offsetFrom(0), instructions().size(), m_dynamicScopeDepth };
     1195    HandlerInfo info = { start->offsetFrom(0), end->offsetFrom(0), instructions().size(), m_dynamicScopeDepth, 0 };
    11961196    exceptionHandlers().append(info);
    11971197    emitOpcode(op_catch);
     
    13211321        ASSERT(nodes[i]->isString());
    13221322        UString::Rep* clause = static_cast<StringNode*>(nodes[i])->value().rep();
    1323         jumpTable.add(clause, labels[i]->offsetFrom(switchAddress));
     1323        OffsetLocation location;
     1324        location.branchOffset = labels[i]->offsetFrom(switchAddress);
     1325#if ENABLE(CTI)
     1326        location.ctiOffset = 0;
     1327#endif
     1328        jumpTable.offsetTable.add(clause, location);
    13241329    }
    13251330}
Note: See TracChangeset for help on using the changeset viewer.