<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>111568</bug_id>
          
          <creation_ts>2013-03-06 05:39:29 -0800</creation_ts>
          <short_desc>Token &apos;not&apos; is ignored in the offlineasm</short_desc>
          <delta_ts>2013-03-13 02:10:02 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>JavaScriptCore</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>90740</dependson>
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Peter Gal">galpeter</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>fpizlo</cc>
    
    <cc>mark.lam</cc>
    
    <cc>ossy</cc>
    
    <cc>webkit.review.bot</cc>
    
    <cc>zherczeg</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>848755</commentid>
    <comment_count>0</comment_count>
    <who name="Peter Gal">galpeter</who>
    <bug_when>2013-03-06 05:39:29 -0800</bug_when>
    <thetext>The token &apos;not&apos; is ignored in the offlineasm, thus no AST is built for it.

This is the relevant code part:

def parsePredicateAtom
    if @tokens[@idx] == &quot;not&quot;
       @idx += 1
       parsePredicateAtom
    elsif @tokens[@idx] == &quot;(&quot;
...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>848765</commentid>
    <comment_count>1</comment_count>
      <attachid>191733</attachid>
    <who name="Peter Gal">galpeter</who>
    <bug_when>2013-03-06 05:46:10 -0800</bug_when>
    <thetext>Created attachment 191733
Fix in the parser

This is the fix, to build the Not AST node in the parser.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>848769</commentid>
    <comment_count>2</comment_count>
    <who name="Peter Gal">galpeter</who>
    <bug_when>2013-03-06 05:49:14 -0800</bug_when>
    <thetext>(In reply to comment #1)
&gt; Created an attachment (id=191733) [details]
&gt; Fix in the parser
&gt; 
&gt; This is the fix, to build the Not AST node in the parser.

For this patch in the bug #90740 is needed, without that the generation of llint will fail.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>848777</commentid>
    <comment_count>3</comment_count>
    <who name="Peter Gal">galpeter</who>
    <bug_when>2013-03-06 06:01:27 -0800</bug_when>
    <thetext>Oh.. just one thing: the &apos;not&apos; is never used in the input .asm files, so that&apos;s why this wasn&apos;t spotted before.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>851937</commentid>
    <comment_count>4</comment_count>
    <who name="Peter Gal">galpeter</who>
    <bug_when>2013-03-10 10:21:43 -0700</bug_when>
    <thetext>ping?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>854123</commentid>
    <comment_count>5</comment_count>
    <who name="Peter Gal">galpeter</who>
    <bug_when>2013-03-13 01:40:43 -0700</bug_when>
    <thetext>Anyone up for a review?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>854124</commentid>
    <comment_count>6</comment_count>
      <attachid>191733</attachid>
    <who name="Filip Pizlo">fpizlo</who>
    <bug_when>2013-03-13 01:42:11 -0700</bug_when>
    <thetext>Comment on attachment 191733
Fix in the parser

Sorry it took so long!  Thanks for this fix.  r=me.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>854136</commentid>
    <comment_count>7</comment_count>
      <attachid>191733</attachid>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2013-03-13 02:09:59 -0700</bug_when>
    <thetext>Comment on attachment 191733
Fix in the parser

Clearing flags on attachment: 191733

Committed r145689: &lt;http://trac.webkit.org/changeset/145689&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>854137</commentid>
    <comment_count>8</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2013-03-13 02:10:02 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>191733</attachid>
            <date>2013-03-06 05:46:10 -0800</date>
            <delta_ts>2013-03-13 02:09:59 -0700</delta_ts>
            <desc>Fix in the parser</desc>
            <filename>offlineasm_parser_not_fix.patch</filename>
            <type>text/plain</type>
            <size>1245</size>
            <attacher name="Peter Gal">galpeter</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1NvdXJjZS9KYXZhU2NyaXB0Q29yZS9DaGFuZ2VMb2cgYi9Tb3VyY2UvSmF2
YVNjcmlwdENvcmUvQ2hhbmdlTG9nCmluZGV4IDFjMmRlOTAuLjY3MTYyODMgMTAwNjQ0Ci0tLSBh
L1NvdXJjZS9KYXZhU2NyaXB0Q29yZS9DaGFuZ2VMb2cKKysrIGIvU291cmNlL0phdmFTY3JpcHRD
b3JlL0NoYW5nZUxvZwpAQCAtMSw1ICsxLDE0IEBACiAyMDEzLTAzLTA2ICBQZXRlciBHYWwgIDxn
YWxwZXRlckBpbmYudS1zemVnZWQuaHU+CiAKKyAgICAgICAgVG9rZW4gJ25vdCcgaXMgaWdub3Jl
ZCBpbiB0aGUgb2ZmbGluZWFzbS4KKyAgICAgICAgaHR0cHM6Ly9idWdzLndlYmtpdC5vcmcvc2hv
d19idWcuY2dpP2lkPTExMTU2OAorCisgICAgICAgIFJldmlld2VkIGJ5IE5PQk9EWSAoT09QUyEp
LgorCisgICAgICAgICogb2ZmbGluZWFzbS9wYXJzZXIucmI6IEJ1aWxkIHRoZSBOb3QgQVNUIG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