Changeset 43331 in webkit for trunk/JavaScriptCore/bytecompiler
- Timestamp:
- May 6, 2009, 5:06:07 PM (16 years ago)
- Location:
- trunk/JavaScriptCore/bytecompiler
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/bytecompiler/BytecodeGenerator.cpp
r43153 r43331 1534 1534 } 1535 1535 1536 RegisterID* BytecodeGenerator::emitStrcat(RegisterID* dst, RegisterID* src, int count) 1537 { 1538 emitOpcode(op_strcat); 1539 instructions().append(dst->index()); 1540 instructions().append(src->index()); 1541 instructions().append(count); 1542 1543 return dst; 1544 } 1545 1546 void BytecodeGenerator::emitToPrimitive(RegisterID* dst, RegisterID* src) 1547 { 1548 emitOpcode(op_to_primitive); 1549 instructions().append(dst->index()); 1550 instructions().append(src->index()); 1551 } 1552 1536 1553 RegisterID* BytecodeGenerator::emitPushScope(RegisterID* scope) 1537 1554 { -
trunk/JavaScriptCore/bytecompiler/BytecodeGenerator.h
r43153 r43331 297 297 298 298 RegisterID* emitConstruct(RegisterID* dst, RegisterID* func, ArgumentsNode*, unsigned divot, unsigned startOffset, unsigned endOffset); 299 RegisterID* emitStrcat(RegisterID* dst, RegisterID* src, int count); 300 void emitToPrimitive(RegisterID* dst, RegisterID* src); 299 301 300 302 PassRefPtr<Label> emitLabel(Label*);
Note:
See TracChangeset
for help on using the changeset viewer.