Ignore:
Timestamp:
Jun 24, 2008, 4:03:11 PM (17 years ago)
Author:
[email protected]
Message:

2008-06-24 Cameron Zwarich <[email protected]>

Rubber stamped by Oliver.

Roll out r34777 due to multiple assertion failures on tests.

  • ChangeLog:
  • VM/CodeGenerator.cpp: (KJS::CodeGenerator::emitJump): (KJS::CodeGenerator::emitJumpIfTrueMayCombine): (KJS::CodeGenerator::emitJumpIfTrue): (KJS::CodeGenerator::emitJumpIfFalse): (KJS::CodeGenerator::emitJumpScopes):
  • VM/LabelID.h:
  • VM/Machine.cpp: (KJS::Machine::privateExecute):
  • VM/Machine.h:
  • VM/Opcode.h:
File:
1 edited

Legend:

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

    r34777 r34781  
    421421PassRefPtr<LabelID> CodeGenerator::emitJump(LabelID* target)
    422422{
    423     ASSERT(target->isForwardLabel());
    424423    emitOpcode(op_jmp);
    425424    instructions().append(target->offsetFrom(instructions().size()));
     
    438437        if (cond->index() == dstIndex) {
    439438            rewindBinaryOp();
    440             emitOpcode(target->isForwardLabel() ? op_jless : op_loop_if_less);
     439            emitOpcode(op_jless);
    441440            instructions().append(src1Index);
    442441            instructions().append(src2Index);
     
    451450PassRefPtr<LabelID> CodeGenerator::emitJumpIfTrue(RegisterID* cond, LabelID* target)
    452451{
    453     emitOpcode(target->isForwardLabel() ? op_jtrue : op_loop_if_true);
     452    emitOpcode(op_jtrue);
    454453    instructions().append(cond->index());
    455454    instructions().append(target->offsetFrom(instructions().size()));
     
    459458PassRefPtr<LabelID> CodeGenerator::emitJumpIfFalse(RegisterID* cond, LabelID* target)
    460459{
    461     ASSERT(target->isForwardLabel());
    462460    emitOpcode(op_jfalse);
    463461    instructions().append(cond->index());
     
    10341032{
    10351033    ASSERT(scopeDepth() - targetScopeDepth >= 0);
    1036     ASSERT(target->isForwardLabel());
    10371034
    10381035    size_t scopeDelta = scopeDepth() - targetScopeDepth;
Note: See TracChangeset for help on using the changeset viewer.