Changeset 145689 in webkit


Ignore:
Timestamp:
Mar 13, 2013 2:07:42 AM (11 years ago)
Author:
commit-queue@webkit.org
Message:

Token 'not' is ignored in the offlineasm.
https://bugs.webkit.org/show_bug.cgi?id=111568

Patch by Peter Gal <galpeter@inf.u-szeged.hu> on 2013-03-13
Reviewed by Filip Pizlo.

  • offlineasm/parser.rb: Build the Not AST node if the 'not' token is found.
Location:
trunk/Source/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r145653 r145689  
     12013-03-13  Peter Gal  <galpeter@inf.u-szeged.hu>
     2
     3        Token 'not' is ignored in the offlineasm.
     4        https://bugs.webkit.org/show_bug.cgi?id=111568
     5
     6        Reviewed by Filip Pizlo.
     7
     8        * offlineasm/parser.rb: Build the Not AST node if the 'not' token is found.
     9
    1102013-03-12  Tim Horton  <timothy_horton@apple.com>
    211
  • trunk/Source/JavaScriptCore/offlineasm/parser.rb

    r129434 r145689  
    224224    def parsePredicateAtom
    225225        if @tokens[@idx] == "not"
    226             @idx += 1
    227             parsePredicateAtom
     226            codeOrigin = @tokens[@idx].codeOrigin
     227            @idx += 1
     228            Not.new(codeOrigin, parsePredicateAtom)
    228229        elsif @tokens[@idx] == "("
    229230            @idx += 1
Note: See TracChangeset for help on using the changeset viewer.