[Baseline] Remove a hack for DCE removal of NewFunction
Created attachment 341189 [details] Patch
Created attachment 341244 [details] Patch
Comment on attachment 341244 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=341244&action=review > Source/JavaScriptCore/dfg/DFGByteCodeParser.cpp:6338 > + addToGraph(Phantom, scope); Put this after the set? > Source/JavaScriptCore/dfg/DFGByteCodeParser.cpp:6375 > + set(VirtualRegister(currentInstruction[1].u.operand), addToGraph(op, OpInfo(frozen), scope)); ditto
Comment on attachment 341244 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=341244&action=review Thank you! >> Source/JavaScriptCore/dfg/DFGByteCodeParser.cpp:6338 >> + addToGraph(Phantom, scope); > > Put this after the set? Fixed. >> Source/JavaScriptCore/dfg/DFGByteCodeParser.cpp:6375 >> + set(VirtualRegister(currentInstruction[1].u.operand), addToGraph(op, OpInfo(frozen), scope)); > > ditto Fixed.
Committed r232182: <https://trac.webkit.org/changeset/232182>
<rdar://problem/40545750>