Changeset 191700 in webkit
- Timestamp:
- Oct 28, 2015 3:59:03 PM (9 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r191692 r191700 1 2015-10-28 Mark Lam <mark.lam@apple.com> 2 3 Rename MacroAssembler::callProbe() to probe(). 4 https://bugs.webkit.org/show_bug.cgi?id=150641 5 6 Reviewed by Saam Barati. 7 8 To do this, I needed to disambiguate between the low-level probe() from the 9 high-level version that takes a std::function. I did this by changing the low- 10 level version to not take default args anymore. 11 12 * assembler/AbstractMacroAssembler.h: 13 * assembler/MacroAssembler.cpp: 14 (JSC::stdFunctionCallback): 15 (JSC::MacroAssembler::probe): 16 (JSC::MacroAssembler::callProbe): Deleted. 17 * assembler/MacroAssembler.h: 18 (JSC::MacroAssembler::urshift32): 19 * assembler/MacroAssemblerARM.h: 20 (JSC::MacroAssemblerARM::repatchCall): 21 * assembler/MacroAssemblerARM64.h: 22 (JSC::MacroAssemblerARM64::repatchCall): 23 * assembler/MacroAssemblerARMv7.h: 24 (JSC::MacroAssemblerARMv7::repatchCall): 25 * assembler/MacroAssemblerPrinter.h: 26 (JSC::MacroAssemblerPrinter::print): 27 * assembler/MacroAssemblerX86Common.h: 28 (JSC::MacroAssemblerX86Common::maxJumpReplacementSize): 29 1 30 2015-10-28 Timothy Hatcher <timothy@apple.com> 2 31 -
trunk/Source/JavaScriptCore/assembler/AbstractMacroAssembler.h
r191682 r191700 941 941 // This prototype is only provided here to document the interface. 942 942 943 void probe(ProbeFunction, void* arg1 = 0, void* arg2 = 0);943 void probe(ProbeFunction, void* arg1, void* arg2); 944 944 945 945 #endif // ENABLE(MASM_PROBE) -
trunk/Source/JavaScriptCore/assembler/MacroAssembler.cpp
r191202 r191700 40 40 } 41 41 42 void MacroAssembler:: callProbe(std::function<void (MacroAssembler::ProbeContext*)> func)42 void MacroAssembler::probe(std::function<void (MacroAssembler::ProbeContext*)> func) 43 43 { 44 probe(stdFunctionCallback, new std::function<void (MacroAssembler::ProbeContext*)>(func) );44 probe(stdFunctionCallback, new std::function<void (MacroAssembler::ProbeContext*)>(func), 0); 45 45 } 46 46 #endif // ENABLE(MASM_PROBE) -
trunk/Source/JavaScriptCore/assembler/MacroAssembler.h
r191202 r191700 1586 1586 1587 1587 #if ENABLE(MASM_PROBE) 1588 using MacroAssemblerBase::probe; 1589 1588 1590 // Let's you print from your JIT generated code. 1589 1591 // See comments in MacroAssemblerPrinter.h for examples of how to use this. … … 1591 1593 void print(Arguments... args); 1592 1594 1593 void callProbe(std::function<void (ProbeContext*)>);1595 void probe(std::function<void (ProbeContext*)>); 1594 1596 #endif 1595 1597 }; -
trunk/Source/JavaScriptCore/assembler/MacroAssemblerARM.h
r190718 r191700 1449 1449 1450 1450 #if ENABLE(MASM_PROBE) 1451 void probe(ProbeFunction, void* arg1 = 0, void* arg2 = 0);1451 void probe(ProbeFunction, void* arg1, void* arg2); 1452 1452 #endif // ENABLE(MASM_PROBE) 1453 1453 -
trunk/Source/JavaScriptCore/assembler/MacroAssemblerARM64.h
r191683 r191700 2534 2534 2535 2535 #if ENABLE(MASM_PROBE) 2536 void probe(ProbeFunction, void* arg1 = 0, void* arg2 = 0);2536 void probe(ProbeFunction, void* arg1, void* arg2); 2537 2537 #endif // ENABLE(MASM_PROBE) 2538 2538 -
trunk/Source/JavaScriptCore/assembler/MacroAssemblerARMv7.h
r190718 r191700 1919 1919 1920 1920 #if ENABLE(MASM_PROBE) 1921 void probe(ProbeFunction, void* arg1 = 0, void* arg2 = 0);1921 void probe(ProbeFunction, void* arg1, void* arg2); 1922 1922 #endif // ENABLE(MASM_PROBE) 1923 1923 -
trunk/Source/JavaScriptCore/assembler/MacroAssemblerPrinter.h
r191677 r191700 170 170 auto argsList = std::make_unique<PrintArgsList>(); 171 171 appendPrintArg(argsList.get(), args...); 172 masm->probe(printCallback, argsList.release() );172 masm->probe(printCallback, argsList.release(), 0); 173 173 } 174 174 -
trunk/Source/JavaScriptCore/assembler/MacroAssemblerX86Common.h
r189884 r191700 1497 1497 1498 1498 #if ENABLE(MASM_PROBE) 1499 void probe(ProbeFunction, void* arg1 = 0, void* arg2 = 0);1499 void probe(ProbeFunction, void* arg1, void* arg2); 1500 1500 #endif // ENABLE(MASM_PROBE) 1501 1501
Note: See TracChangeset
for help on using the changeset viewer.