Changeset 49734 in webkit for trunk/JavaScriptCore/bytecompiler/BytecodeGenerator.cpp
- Timestamp:
- Oct 16, 2009, 10:52:20 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/bytecompiler/BytecodeGenerator.cpp
r49726 r49734 1795 1795 } 1796 1796 1797 RegisterID* BytecodeGenerator::emit NextPropertyName(RegisterID* dst, RegisterID* iter, Label* target)1797 RegisterID* BytecodeGenerator::emitGetPropertyNames(RegisterID* dst, RegisterID* base, RegisterID* i, RegisterID* size, Label* breakTarget) 1798 1798 { 1799 1799 size_t begin = instructions().size(); 1800 1800 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 1801 1814 emitOpcode(op_next_pname); 1802 1815 instructions().append(dst->index()); 1816 instructions().append(base->index()); 1817 instructions().append(i->index()); 1818 instructions().append(size->index()); 1803 1819 instructions().append(iter->index()); 1804 1820 instructions().append(target->bind(begin, instructions().size()));
Note:
See TracChangeset
for help on using the changeset viewer.