Changeset 40846 in webkit for trunk/JavaScriptCore/assembler/MacroAssemblerX86Common.h
- Timestamp:
- Feb 10, 2009, 8:57:08 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/assembler/MacroAssemblerX86Common.h
r40660 r40846 549 549 } 550 550 551 Jump call() 552 { 553 return Jump(m_assembler.call()); 554 } 555 556 // FIXME: why does this return a Jump object? - it can't be linked. 557 // This may be to get a reference to the return address of the call. 558 // 559 // This should probably be handled by a separate label type to a regular 560 // jump. Todo: add a CallLabel type, for the regular call - can be linked 561 // like a jump (possibly a subclass of jump?, or possibly casts to a Jump). 562 // Also add a CallReturnLabel type for this to return (just a more JmpDsty 563 // form of label, can get the void* after the code has been linked, but can't 564 // try to link it like a Jump object), and let the CallLabel be cast into a 565 // CallReturnLabel. 566 Jump call(RegisterID target) 567 { 568 return Jump(m_assembler.call(target)); 551 Call call() 552 { 553 return Call(m_assembler.call(), true); 554 } 555 556 Call call(RegisterID target) 557 { 558 return Call(m_assembler.call(target), false); 569 559 } 570 560
Note:
See TracChangeset
for help on using the changeset viewer.