X-Git-Url: https://git.saurik.com/apple/javascriptcore.git/blobdiff_plain/2d39b0e377c0896910ee49ae70082ba665faf986..HEAD:/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