Changeset 36427 in webkit for trunk/JavaScriptCore/VM/CTI.cpp
- Timestamp:
- Sep 14, 2008, 11:26:15 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/VM/CTI.cpp
r36418 r36427 413 413 { 414 414 if (type == OpConstruct) { 415 emitPutArgConstant(reinterpret_cast<unsigned>(instruction + i), 12); 415 emitPutArgConstant(reinterpret_cast<unsigned>(instruction + i), 16); 416 emitPutArgConstant(instruction[i + 5].u.operand, 12); 416 417 emitPutArgConstant(instruction[i + 4].u.operand, 8); 417 emit PutArgConstant(instruction[i + 3].u.operand, 4);418 emitGetPutArg(instruction[i + 3].u.operand, 4, X86::ecx); 418 419 } else { 419 420 emitPutArgConstant(reinterpret_cast<unsigned>(instruction + i), 16); … … 434 435 m_jit.emitRestoreArgumentReference(); 435 436 436 emitGetCTIParam(CTI_ARGS_r, X86::edi); // edi := r437 emitGetCTIParam(CTI_ARGS_r, X86::edi); // edi := r 437 438 438 439 m_jit.cmpl_i32r(reinterpret_cast<unsigned>(JSImmediate::impossibleValue()), X86::eax); … … 825 826 case op_construct: { 826 827 compileOpCall(instruction, i, OpConstruct); 827 i += 5;828 i += 6; 828 829 break; 829 830 }
Note:
See TracChangeset
for help on using the changeset viewer.