RESOLVED FIXED 126047
Clean up DFG write barriers
https://bugs.webkit.org/show_bug.cgi?id=126047
Summary Clean up DFG write barriers
Mark Hahnenberg
Reported 2013-12-19 21:03:13 PST
After more feedback on the write barriers in the baseline JIT, it's time to clean up some the DFG write barrier code.
Attachments
Patch (9.97 KB, patch)
2013-12-19 21:12 PST, Mark Hahnenberg
fpizlo: review+
Mark Hahnenberg
Comment 1 2013-12-19 21:12:40 PST
Filip Pizlo
Comment 2 2013-12-19 21:21:31 PST
Comment on attachment 219725 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=219725&action=review > Source/JavaScriptCore/dfg/DFGSpeculativeJIT.cpp:5483 > -MacroAssembler::Call SpeculativeJIT::storeToWriteBarrierBuffer(CCallHelpers& jit, GPRReg cell, GPRReg scratch1, GPRReg scratch2) > +MacroAssembler::Call SpeculativeJIT::storeToWriteBarrierBuffer(CCallHelpers& jit, GPRReg cell, GPRReg scratch1, GPRReg scratch2, ScratchRegisterAllocator& allocator) This method exists just for Repatch, right? In that case, we should definitely move it out of SpeculativeJIT.
Mark Hahnenberg
Comment 3 2013-12-19 21:22:01 PST
(In reply to comment #2) > (From update of attachment 219725 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=219725&action=review > > > Source/JavaScriptCore/dfg/DFGSpeculativeJIT.cpp:5483 > > -MacroAssembler::Call SpeculativeJIT::storeToWriteBarrierBuffer(CCallHelpers& jit, GPRReg cell, GPRReg scratch1, GPRReg scratch2) > > +MacroAssembler::Call SpeculativeJIT::storeToWriteBarrierBuffer(CCallHelpers& jit, GPRReg cell, GPRReg scratch1, GPRReg scratch2, ScratchRegisterAllocator& allocator) > > This method exists just for Repatch, right? > > In that case, we should definitely move it out of SpeculativeJIT. Should it just go into Repatch itself?
Mark Hahnenberg
Comment 4 2013-12-20 12:16:42 PST
Mark Hahnenberg
Comment 5 2013-12-20 12:19:00 PST
*** Bug 126012 has been marked as a duplicate of this bug. ***
Note You need to log in before you can comment on or make changes to this bug.