Ignore:
Timestamp:
Feb 3, 2014, 4:54:16 PM (11 years ago)
Author:
[email protected]
Message:

Fix the cloop due to GenGC
https://bugs.webkit.org/show_bug.cgi?id=128137

Reviewed by Geoffrey Garen.

  • llint/LLIntSlowPaths.cpp:

(JSC::LLInt::llint_write_barrier_slow):

  • llint/LLIntSlowPaths.h:
  • llint/LowLevelInterpreter.cpp:

(JSC::CLoopRegister::operator JSCell*):

  • llint/LowLevelInterpreter32_64.asm:
  • llint/LowLevelInterpreter64.asm:
  • offlineasm/cloop.rb:
  • offlineasm/instructions.rb:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/offlineasm/cloop.rb

    r163027 r163345  
    547547    $asm.putc "    decodeResult(result, t0.vp, t1.vp);"
    548548    $asm.putc "}"
     549end
     550
     551def cloopEmitCallSlowPathVoid(operands)
     552    $asm.putc "#{operands[0].cLabel}(#{operands[1].clDump}, #{operands[2].clDump});"
    549553end
    550554
     
    10891093
    10901094        when "push"
    1091             $asm.putc "PUSH(#{operands[0].clDump});"
     1095            operands.each {
     1096                | op |
     1097                $asm.putc "PUSH(#{op.clDump});"
     1098            }
    10921099        when "pop"
    1093             $asm.putc "POP(#{operands[0].clDump});"
     1100            operands.each {
     1101                | op |
     1102                $asm.putc "POP(#{op.clDump});"
     1103            }
    10941104
    10951105        when "pushCalleeSaves"
     
    11341144            cloopEmitCallSlowPath(operands)
    11351145
     1146        when "cloopCallSlowPathVoid"
     1147            cloopEmitCallSlowPathVoid(operands)
     1148
    11361149        # For debugging only. This is used to insert instrumentation into the
    11371150        # generated LLIntAssembly.h during llint development only. Do not use
Note: See TracChangeset for help on using the changeset viewer.