Ignore:
Timestamp:
Oct 28, 2015, 3:59:03 PM (10 years ago)
Author:
[email protected]
Message:

Rename MacroAssembler::callProbe() to probe().
https://bugs.webkit.org/show_bug.cgi?id=150641

Reviewed by Saam Barati.

To do this, I needed to disambiguate between the low-level probe() from the
high-level version that takes a std::function. I did this by changing the low-
level version to not take default args anymore.

  • assembler/AbstractMacroAssembler.h:
  • assembler/MacroAssembler.cpp:

(JSC::stdFunctionCallback):
(JSC::MacroAssembler::probe):
(JSC::MacroAssembler::callProbe): Deleted.

  • assembler/MacroAssembler.h:

(JSC::MacroAssembler::urshift32):

  • assembler/MacroAssemblerARM.h:

(JSC::MacroAssemblerARM::repatchCall):

  • assembler/MacroAssemblerARM64.h:

(JSC::MacroAssemblerARM64::repatchCall):

  • assembler/MacroAssemblerARMv7.h:

(JSC::MacroAssemblerARMv7::repatchCall):

  • assembler/MacroAssemblerPrinter.h:

(JSC::MacroAssemblerPrinter::print):

  • assembler/MacroAssemblerX86Common.h:

(JSC::MacroAssemblerX86Common::maxJumpReplacementSize):

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/assembler/MacroAssembler.cpp

    r191202 r191700  
    4040}
    4141   
    42 void MacroAssembler::callProbe(std::function<void (MacroAssembler::ProbeContext*)> func)
     42void MacroAssembler::probe(std::function<void (MacroAssembler::ProbeContext*)> func)
    4343{
    44     probe(stdFunctionCallback, new std::function<void (MacroAssembler::ProbeContext*)>(func));
     44    probe(stdFunctionCallback, new std::function<void (MacroAssembler::ProbeContext*)>(func), 0);
    4545}
    4646#endif // ENABLE(MASM_PROBE)
Note: See TracChangeset for help on using the changeset viewer.