X-Git-Url: https://git.saurik.com/apple/javascriptcore.git/blobdiff_plain/81345200c95645a1b0d2635520f96ad55dfde63f..refs/heads/master:/bytecode/StructureStubClearingWatchpoint.cpp diff --git a/bytecode/StructureStubClearingWatchpoint.cpp b/bytecode/StructureStubClearingWatchpoint.cpp index 9521fec..f08460d 100644 --- a/bytecode/StructureStubClearingWatchpoint.cpp +++ b/bytecode/StructureStubClearingWatchpoint.cpp @@ -38,13 +38,13 @@ StructureStubClearingWatchpoint::~StructureStubClearingWatchpoint() { } StructureStubClearingWatchpoint* StructureStubClearingWatchpoint::push( WatchpointsOnStructureStubInfo& holder, - OwnPtr& head) + std::unique_ptr& head) { - head = adoptPtr(new StructureStubClearingWatchpoint(holder, head.release())); + head = std::make_unique(holder, WTF::move(head)); return head.get(); } -void StructureStubClearingWatchpoint::fireInternal() +void StructureStubClearingWatchpoint::fireInternal(const FireDetail&) { // This will implicitly cause my own demise: stub reset removes all watchpoints. // That works, because deleting a watchpoint removes it from the set's list, and