Changeset 215592 in webkit for trunk/Source/JavaScriptCore/assembler/MacroAssembler.cpp
- Timestamp:
- Apr 20, 2017, 4:55:45 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/assembler/MacroAssembler.cpp
r215196 r215592 38 38 static void stdFunctionCallback(ProbeContext* context) 39 39 { 40 auto func = static_cast<const std::function<void(ProbeContext*)>*>(context->arg 1);40 auto func = static_cast<const std::function<void(ProbeContext*)>*>(context->arg); 41 41 (*func)(context); 42 42 } … … 44 44 void MacroAssembler::probe(std::function<void(ProbeContext*)> func) 45 45 { 46 probe(stdFunctionCallback, new std::function<void(ProbeContext*)>(func) , 0);46 probe(stdFunctionCallback, new std::function<void(ProbeContext*)>(func)); 47 47 } 48 48 #endif // ENABLE(MASM_PROBE)
Note:
See TracChangeset
for help on using the changeset viewer.