Ignore:
Timestamp:
Jun 30, 2011, 7:17:27 PM (14 years ago)
Author:
[email protected]
Message:

2011-06-30 Geoffrey Garen <[email protected]>

Reviewed by Gavin Barraclough.

Added write barrier that was missing from put_by_id_transition
https://bugs.webkit.org/show_bug.cgi?id=63775

  • dfg/DFGJITCodeGenerator.cpp: (JSC::DFG::JITCodeGenerator::writeBarrier): Made this static with a MacroAssembler& argument so our patching functions could use it.

(JSC::DFG::JITCodeGenerator::cachedPutById):

  • dfg/DFGJITCodeGenerator.h:
  • dfg/DFGNonSpeculativeJIT.cpp: (JSC::DFG::NonSpeculativeJIT::compile): Updated for signature change.
  • dfg/DFGRepatch.cpp: (JSC::DFG::tryCachePutByID): Missing barrier!
  • dfg/DFGSpeculativeJIT.cpp: (JSC::DFG::SpeculativeJIT::compile): Updated for signature change.
  • jit/JITPropertyAccess.cpp: (JSC::JIT::privateCompilePutByIdTransition):
  • jit/JITPropertyAccess32_64.cpp: (JSC::JIT::privateCompilePutByIdTransition):
  • jit/JSInterfaceJIT.h: Same game here. Removed storePtrWithWriteBarrier because its meaning isn't clear -- maybe in the future we'll have a clear way to pass all stores through a common function that guarantees a write barrier, but that's not the case right now.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r90189 r90193  
     12011-06-30  Geoffrey Garen  <[email protected]>
     2
     3        Reviewed by Gavin Barraclough.
     4
     5        Added write barrier that was missing from put_by_id_transition
     6        https://bugs.webkit.org/show_bug.cgi?id=63775
     7
     8        * dfg/DFGJITCodeGenerator.cpp:
     9        (JSC::DFG::JITCodeGenerator::writeBarrier): Made this static with a
     10        MacroAssembler& argument so our patching functions could use it.
     11
     12        (JSC::DFG::JITCodeGenerator::cachedPutById):
     13        * dfg/DFGJITCodeGenerator.h:
     14        * dfg/DFGNonSpeculativeJIT.cpp:
     15        (JSC::DFG::NonSpeculativeJIT::compile): Updated for signature change.
     16
     17        * dfg/DFGRepatch.cpp:
     18        (JSC::DFG::tryCachePutByID): Missing barrier!
     19
     20        * dfg/DFGSpeculativeJIT.cpp:
     21        (JSC::DFG::SpeculativeJIT::compile): Updated for signature change.
     22
     23        * jit/JITPropertyAccess.cpp:
     24        (JSC::JIT::privateCompilePutByIdTransition):
     25        * jit/JITPropertyAccess32_64.cpp:
     26        (JSC::JIT::privateCompilePutByIdTransition):
     27        * jit/JSInterfaceJIT.h: Same game here. Removed storePtrWithWriteBarrier
     28        because its meaning isn't clear -- maybe in the future we'll have a
     29        clear way to pass all stores through a common function that guarantees
     30        a write barrier, but that's not the case right now.
     31
    1322011-06-30  Filip Pizlo  <[email protected]>
    233
Note: See TracChangeset for help on using the changeset viewer.