Ignore:
Timestamp:
Mar 10, 2018, 12:13:03 PM (7 years ago)
Author:
[email protected]
Message:

offlineasm should reset the Assembler's working state before doing another pass for a new target.
https://bugs.webkit.org/show_bug.cgi?id=183538
<rdar://problem/38325955>

Reviewed by Michael Saboff.

  • llint/LowLevelInterpreter.cpp:
  • offlineasm/asm.rb:
  • offlineasm/cloop.rb:
File:
1 edited

Legend:

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

    r223239 r229506  
    4040        @outp = outp
    4141        @state = :cpp
     42        resetAsm
     43    end
     44
     45    def resetAsm
    4246        @commentState = :none
    4347        @comment = nil
     
    9498   
    9599    def inAsm
     100        resetAsm
    96101        enterAsm
    97102        yield
Note: See TracChangeset for help on using the changeset viewer.