Ignore:
Timestamp:
Sep 24, 2012, 5:38:51 PM (13 years ago)
Author:
[email protected]
Message:

Add cloopDo instruction for debugging the llint C++ backend.
https://bugs.webkit.org/show_bug.cgi?id=97502.

Reviewed by Geoffrey Garen.

  • offlineasm/cloop.rb:
  • offlineasm/instructions.rb:
  • offlineasm/parser.rb:
File:
1 edited

Legend:

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

    r123147 r129434  
    104104        when /\A\n/
    105105            # We've found a '\n'.  Emit the last comment recorded if appropriate:
    106             if $enableInstrAnnotations and annotation
     106            # We need to parse annotations regardless of whether the backend does
     107            # anything with them or not. This is because the C++ backend may make
     108            # use of this for its cloopDo debugging utility even if
     109            # enableInstrAnnotations is not enabled.
     110            if annotation
    107111                result << Annotation.new(CodeOrigin.new(fileName, lineNumber),
    108112                                         annotationType, annotation)
Note: See TracChangeset for help on using the changeset viewer.