[Webkit-unassigned] [Bug 203554] codeBlock->expressionRangeForBytecodeIndex returns wrong range for op_get_argument

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 29 00:46:41 PDT 2019


https://bugs.webkit.org/show_bug.cgi?id=203554

--- Comment #1 from Tuomas Karkkainen <tuomas.webkit at apple.com> ---
for the JavaScript:

> function foo(xx=0, yyy=0) {
> }
> 
> foo();
> foo();

codeBlock->unlinkedCodeBlock()->dumpExpressionRangeInfo() outputs:

> UnlinkedCodeBlock 0x10e398000 expressionRangeInfo[0] {
> }

and for both of the op_get_argument, divot is 12 (second 'o' in foo), and startOffset and endOffset are both zero.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20191029/ad3fa2d2/attachment.htm>


More information about the webkit-unassigned mailing list