Changeset 36976 in webkit for trunk/JavaScriptCore/VM/CodeGenerator.cpp
- Timestamp:
- Sep 26, 2008, 6:44:15 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/VM/CodeGenerator.cpp
r36972 r36976 677 677 } 678 678 679 RegisterID* CodeGenerator::emitBinaryOp(OpcodeID opcode, RegisterID* dst, RegisterID* src1, RegisterID* src2 )679 RegisterID* CodeGenerator::emitBinaryOp(OpcodeID opcode, RegisterID* dst, RegisterID* src1, RegisterID* src2, OperandTypes types) 680 680 { 681 681 emitOpcode(opcode); … … 683 683 instructions().append(src1->index()); 684 684 instructions().append(src2->index()); 685 686 if (opcode == op_bitor || opcode == op_bitand || opcode == op_bitxor || 687 opcode == op_add || opcode == op_mul || opcode == op_sub) { 688 instructions().append(types.toInt()); 689 } 690 685 691 return dst; 686 692 }
Note:
See TracChangeset
for help on using the changeset viewer.