<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#c48">Comment # 48</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:sbarati@apple.com" title="Saam Barati <sbarati@apple.com>"> <span class="fn">Saam Barati</span></a>
</span></b>
<pre>(In reply to <a href="show_bug.cgi?id=158083#c46">comment #46</a>)
<span class="quote">> (In reply to <a href="show_bug.cgi?id=158083#c45">comment #45</a>)
> > The m_unlikedCode stores the identifiers into a Vector<Identifier>
> > m_identifiers. The problem is to revive the identifier contained in the
> > Vector buffer. My current implementation is like this
> >
> > macro loadIdentifier(index, dest)
> > loadp CodeBlock[cfr], t2
> > loadp CodeBlock::m_unlinkedCode[t2], t1 #t1 is pointing to
> > UnlinkedCodeBlock
> > addp UnlinkedCodeBlock::m_identifiers, t1 #Offset to point to
> > m_identifiers
> > loadis index, t2
> > mulp sizeof Identifier, t2
> > addp t2, t1 # Offset to point to m_identifiers[index]
> > addp Identifier::m_string, t1 # m_identifiers[index].m_string
> > loadp t1, dest
> > end
> >
> > Any tip?
>
> 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.</span >
Which architecture are you running locally?</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>