|
| 1 | +2015-06-08 Gyuyoung Kim <gyuyoung.kim@webkit.org> |
| 2 | + |
| 3 | + Purge PassRefPtr in JavaScriptCore |
| 4 | + https://bugs.webkit.org/show_bug.cgi?id=145750 |
| 5 | + |
| 6 | + As a step to purge PassRefPtr, this patch replaces PassRefPtr with Ref or RefPtr. |
| 7 | + |
| 8 | + Reviewed by Darin Adler. |
| 9 | + |
| 10 | + * API/JSClassRef.cpp: |
| 11 | + (OpaqueJSClass::createNoAutomaticPrototype): |
| 12 | + * API/JSClassRef.h: |
| 13 | + * API/JSContextRef.cpp: |
| 14 | + * API/JSScriptRef.cpp: |
| 15 | + (OpaqueJSScript::create): |
| 16 | + * API/JSStringRef.cpp: |
| 17 | + (JSStringCreateWithCharacters): |
| 18 | + (JSStringCreateWithUTF8CString): |
| 19 | + * API/OpaqueJSString.cpp: |
| 20 | + (OpaqueJSString::create): |
| 21 | + * API/OpaqueJSString.h: |
| 22 | + (OpaqueJSString::create): |
| 23 | + * bytecompiler/StaticPropertyAnalysis.h: |
| 24 | + (JSC::StaticPropertyAnalysis::create): |
| 25 | + * debugger/DebuggerCallFrame.h: |
| 26 | + (JSC::DebuggerCallFrame::create): |
| 27 | + * dfg/DFGToFTLDeferredCompilationCallback.cpp: |
| 28 | + (JSC::DFG::ToFTLDeferredCompilationCallback::create): |
| 29 | + * dfg/DFGToFTLDeferredCompilationCallback.h: |
| 30 | + * dfg/DFGToFTLForOSREntryDeferredCompilationCallback.cpp: |
| 31 | + (JSC::DFG::Ref<ToFTLForOSREntryDeferredCompilationCallback>ToFTLForOSREntryDeferredCompilationCallback::create): |
| 32 | + (JSC::DFG::ToFTLForOSREntryDeferredCompilationCallback::create): Deleted. |
| 33 | + * dfg/DFGToFTLForOSREntryDeferredCompilationCallback.h: |
| 34 | + * dfg/DFGWorklist.cpp: |
| 35 | + (JSC::DFG::Worklist::create): |
| 36 | + (JSC::DFG::ensureGlobalDFGWorklist): |
| 37 | + (JSC::DFG::ensureGlobalFTLWorklist): |
| 38 | + * dfg/DFGWorklist.h: |
| 39 | + * heap/EdenGCActivityCallback.h: |
| 40 | + (JSC::GCActivityCallback::createEdenTimer): |
| 41 | + * heap/FullGCActivityCallback.h: |
| 42 | + (JSC::GCActivityCallback::createFullTimer): |
| 43 | + * heap/GCActivityCallback.h: |
| 44 | + * inspector/InjectedScriptHost.h: |
| 45 | + * inspector/JavaScriptCallFrame.h: |
| 46 | + (Inspector::JavaScriptCallFrame::create): |
| 47 | + * inspector/ScriptArguments.cpp: |
| 48 | + (Inspector::ScriptArguments::create): |
| 49 | + * inspector/ScriptArguments.h: |
| 50 | + * jit/JITStubRoutine.h: |
| 51 | + (JSC::JITStubRoutine::createSelfManagedRoutine): |
| 52 | + * jit/JITToDFGDeferredCompilationCallback.cpp: |
| 53 | + (JSC::JITToDFGDeferredCompilationCallback::create): |
| 54 | + * jit/JITToDFGDeferredCompilationCallback.h: |
| 55 | + * jsc.cpp: |
| 56 | + (jscmain): |
| 57 | + * parser/NodeConstructors.h: |
| 58 | + (JSC::ArrayPatternNode::create): |
| 59 | + (JSC::ObjectPatternNode::create): |
| 60 | + (JSC::BindingNode::create): |
| 61 | + * parser/Nodes.cpp: |
| 62 | + (JSC::FunctionParameters::create): |
| 63 | + * parser/Nodes.h: |
| 64 | + * parser/SourceProvider.h: |
| 65 | + (JSC::StringSourceProvider::create): |
| 66 | + * profiler/Profile.cpp: |
| 67 | + (JSC::Profile::create): |
| 68 | + * profiler/Profile.h: |
| 69 | + * profiler/ProfileGenerator.cpp: |
| 70 | + (JSC::ProfileGenerator::create): |
| 71 | + * profiler/ProfileGenerator.h: |
| 72 | + * profiler/ProfileNode.h: |
| 73 | + (JSC::ProfileNode::create): |
| 74 | + * runtime/DataView.cpp: |
| 75 | + (JSC::DataView::create): |
| 76 | + * runtime/DataView.h: |
| 77 | + * runtime/DateInstanceCache.h: |
| 78 | + (JSC::DateInstanceData::create): |
| 79 | + * runtime/JSPromiseReaction.cpp: |
| 80 | + (JSC::createExecutePromiseReactionMicrotask): |
| 81 | + * runtime/JSPromiseReaction.h: |
| 82 | + * runtime/PropertyNameArray.h: |
| 83 | + (JSC::PropertyNameArrayData::create): |
| 84 | + * runtime/TypeSet.h: |
| 85 | + (JSC::StructureShape::create): |
| 86 | + (JSC::TypeSet::create): |
| 87 | + * runtime/TypedArrayBase.h: |
| 88 | + (JSC::TypedArrayBase::create): |
| 89 | + (JSC::TypedArrayBase::createUninitialized): |
| 90 | + (JSC::TypedArrayBase::subarrayImpl): |
| 91 | + * runtime/VM.cpp: |
| 92 | + (JSC::VM::createContextGroup): |
| 93 | + (JSC::VM::create): |
| 94 | + (JSC::VM::createLeaked): |
| 95 | + * runtime/VM.h: |
| 96 | + * yarr/RegularExpression.cpp: |
| 97 | + (JSC::Yarr::RegularExpression::Private::create): |
| 98 | + |
1 | 99 | 2015-06-08 Filip Pizlo <fpizlo@apple.com> |
2 | 100 |
|
3 | 101 | It should be possible to hoist all constants in DFG SSA |
|
0 commit comments