Changeset 49726 in webkit for trunk/JavaScriptCore/bytecompiler


Ignore:
Timestamp:
Oct 16, 2009, 7:31:42 PM (16 years ago)
Author:
[email protected]
Message:

Roll out r49717 as it broke the build.

Location:
trunk/JavaScriptCore/bytecompiler
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/bytecompiler/BytecodeGenerator.cpp

    r49717 r49726  
    17951795}
    17961796
    1797 RegisterID* BytecodeGenerator::emitGetPropertyNames(RegisterID* dst, RegisterID* base, RegisterID* i, RegisterID* size, Label* breakTarget)
     1797RegisterID* BytecodeGenerator::emitNextPropertyName(RegisterID* dst, RegisterID* iter, Label* target)
    17981798{
    17991799    size_t begin = instructions().size();
    18001800
    1801     emitOpcode(op_get_pnames);
    1802     instructions().append(dst->index());
    1803     instructions().append(base->index());
    1804     instructions().append(i->index());
    1805     instructions().append(size->index());
    1806     instructions().append(breakTarget->bind(begin, instructions().size()));
    1807     return dst;
    1808 }
    1809 
    1810 RegisterID* BytecodeGenerator::emitNextPropertyName(RegisterID* dst, RegisterID* base, RegisterID* i, RegisterID* size, RegisterID* iter, Label* target)
    1811 {
    1812     size_t begin = instructions().size();
    1813 
    18141801    emitOpcode(op_next_pname);
    18151802    instructions().append(dst->index());
    1816     instructions().append(base->index());
    1817     instructions().append(i->index());
    1818     instructions().append(size->index());
    18191803    instructions().append(iter->index());
    18201804    instructions().append(target->bind(begin, instructions().size()));
  • trunk/JavaScriptCore/bytecompiler/BytecodeGenerator.h

    r49717 r49726  
    313313        void emitSubroutineReturn(RegisterID* retAddrSrc);
    314314
    315         RegisterID* emitGetPropertyNames(RegisterID* dst, RegisterID* base, RegisterID* i, RegisterID* size, Label* breakTarget);
    316         RegisterID* emitNextPropertyName(RegisterID* dst, RegisterID* base, RegisterID* i, RegisterID* size, RegisterID* iter, Label* target);
     315        RegisterID* emitGetPropertyNames(RegisterID* dst, RegisterID* base) { return emitUnaryOp(op_get_pnames, dst, base); }
     316        RegisterID* emitNextPropertyName(RegisterID* dst, RegisterID* iter, Label* target);
    317317
    318318        RegisterID* emitCatch(RegisterID*, Label* start, Label* end);
Note: See TracChangeset for help on using the changeset viewer.