<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@gmail.com" title="Caio Lima <ticaiolima@gmail.com>"> <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">> 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?</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>