mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1024444 - Fix minor bug with arguments object aliasing and Baseline. r=luke
This commit is contained in:
parent
16b38eb033
commit
e54f44f292
7
js/src/jit-test/tests/baseline/bug1024444.js
Normal file
7
js/src/jit-test/tests/baseline/bug1024444.js
Normal file
@ -0,0 +1,7 @@
|
||||
function f(x) {
|
||||
x = eval("a = arguments.callee.arguments; 10");
|
||||
}
|
||||
for (var i=0; i<5; i++) {
|
||||
f(5);
|
||||
assertEq(a[0], 10);
|
||||
}
|
@ -156,7 +156,7 @@ struct CopyScriptFrameIterArgs
|
||||
* invalid.
|
||||
*/
|
||||
void maybeForwardToCallObject(JSObject *obj, ArgumentsData *data) {
|
||||
if (!iter_.isJit())
|
||||
if (!iter_.isIon())
|
||||
ArgumentsObject::MaybeForwardToCallObject(iter_.abstractFramePtr(), obj, data);
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user