<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - LLInt should support other types of prototype GetById caching."
   href="https://bugs.webkit.org/show_bug.cgi?id=158083#c46">Comment # 46</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - LLInt should support other types of prototype GetById caching."
   href="https://bugs.webkit.org/show_bug.cgi?id=158083">bug 158083</a>
              from <span class="vcard"><a class="email" href="mailto:ticaiolima&#64;gmail.com" title="Caio Lima &lt;ticaiolima&#64;gmail.com&gt;"> <span class="fn">Caio Lima</span></a>
</span></b>
        <pre>(In reply to <a href="show_bug.cgi?id=158083#c45">comment #45</a>)
<span class="quote">&gt; The m_unlikedCode stores the identifiers into a Vector&lt;Identifier&gt;
&gt; m_identifiers. The problem is to revive the identifier contained in the
&gt; Vector buffer. My current implementation is like this
&gt; 
&gt; macro loadIdentifier(index, dest)
&gt;     loadp CodeBlock[cfr], t2
&gt;     loadp CodeBlock::m_unlinkedCode[t2], t1 #t1 is pointing to
&gt; UnlinkedCodeBlock
&gt;     addp UnlinkedCodeBlock::m_identifiers, t1 #Offset to point to
&gt; m_identifiers
&gt;     loadis index, t2
&gt;     mulp sizeof Identifier, t2 
&gt;     addp t2, t1 # Offset to point to m_identifiers[index]
&gt;     addp Identifier::m_string, t1 # m_identifiers[index].m_string
&gt;     loadp t1, dest
&gt; end 
&gt; 
&gt; Any tip?</span >

Actually, this code working now:

macro loadIdentifier(index, dest)
    loadp CodeBlock[cfr], t2
    loadp CodeBlock::m_unlinkedCode[t2], t1
    loadp UnlinkedCodeBlock::m_identifiers[t1], t2
    move t2, t1
    loadis index, t2
    mulp sizeof Identifier, t2
    addp t2, t1
    loadp Identifier::m_string[t1], dest
end

I would like to know if there is a way to test the changes in all architectures.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>