Title: [145689] trunk/Source/_javascript_Core
Revision
145689
Author
commit-qu...@webkit.org
Date
2013-03-13 02:07:42 -0700 (Wed, 13 Mar 2013)

Log Message

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

Patch by Peter Gal <galpe...@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.

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (145688 => 145689)


--- trunk/Source/_javascript_Core/ChangeLog	2013-03-13 09:06:44 UTC (rev 145688)
+++ trunk/Source/_javascript_Core/ChangeLog	2013-03-13 09:07:42 UTC (rev 145689)
@@ -1,3 +1,12 @@
+2013-03-13  Peter Gal  <galpe...@inf.u-szeged.hu>
+
+        Token 'not' is ignored in the offlineasm.
+        https://bugs.webkit.org/show_bug.cgi?id=111568
+
+        Reviewed by Filip Pizlo.
+
+        * offlineasm/parser.rb: Build the Not AST node if the 'not' token is found.
+
 2013-03-12  Tim Horton  <timothy_hor...@apple.com>
 
         WTF uses macros for exports. Try to fix the Windows build. Unreviewed.

Modified: trunk/Source/_javascript_Core/offlineasm/parser.rb (145688 => 145689)


--- trunk/Source/_javascript_Core/offlineasm/parser.rb	2013-03-13 09:06:44 UTC (rev 145688)
+++ trunk/Source/_javascript_Core/offlineasm/parser.rb	2013-03-13 09:07:42 UTC (rev 145689)
@@ -223,8 +223,9 @@
     
     def parsePredicateAtom
         if @tokens[@idx] == "not"
+            codeOrigin = @tokens[@idx].codeOrigin
             @idx += 1
-            parsePredicateAtom
+            Not.new(codeOrigin, parsePredicateAtom)
         elsif @tokens[@idx] == "("
             @idx += 1
             skipNewLine
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to