[jsfunfuzz] Computed exception offset wrong when first instruction is attempt to...
authoroliver@apple.com <oliver@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 1 Jan 2009 02:33:43 +0000 (02:33 +0000)
committeroliver@apple.com <oliver@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 1 Jan 2009 02:33:43 +0000 (02:33 +0000)
commitca10094248d6e618eb5e43a00b0163ada09751e5
treed5ba6a0a9b9b39b823ba220eb81f8377b60b3a2e
parentd73685b2acd9047717bf65320f669949700a15f8
[jsfunfuzz] Computed exception offset wrong when first instruction is attempt to resolve deleted eval
<https://bugs.webkit.org/show_bug.cgi?id=23062>

Reviewed by Gavin Barraclough.

This was caused by the expression information for the initial resolve of
eval not being emitted.  If this resolve was the first instruction that
could throw an exception the information search would fail leading to an
assertion failure.  If it was not the first throwable opcode the wrong
expression information would used.

Fix is simply to emit the expression info.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@39533 268f45cc-cd09-0410-ab3c-d52691b4dbfc
JavaScriptCore/ChangeLog
JavaScriptCore/parser/Nodes.cpp
LayoutTests/ChangeLog
LayoutTests/fast/js/exception-linenums-expected.txt
LayoutTests/fast/js/resources/exception-linenums.js