mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
[INFER] Watch for non-closed local names aliased by XML QNAME opcodes, bug 665812.
This commit is contained in:
parent
47fd6595dc
commit
9e5b330883
7
js/src/jit-test/tests/basic/bug665812.js
Normal file
7
js/src/jit-test/tests/basic/bug665812.js
Normal file
@ -0,0 +1,7 @@
|
||||
// |jit-test| error: TypeError
|
||||
|
||||
(function() {
|
||||
function::d = 0
|
||||
d.(l)
|
||||
function d() {}
|
||||
})()
|
@ -493,6 +493,8 @@ ScriptAnalysis::analyzeBytecode(JSContext *cx)
|
||||
case JSOP_NAMEINC:
|
||||
case JSOP_NAMEDEC:
|
||||
case JSOP_FORNAME:
|
||||
case JSOP_QNAMEPART:
|
||||
case JSOP_QNAMECONST:
|
||||
checkAliasedName(cx, pc);
|
||||
usesScope = true;
|
||||
isInlineable = false;
|
||||
|
Loading…
Reference in New Issue
Block a user