mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 517640. TM: we don't substitute the global object for apply(null, ...). r=mrbkap
This commit is contained in:
parent
27c2d57074
commit
9089264187
@ -11580,7 +11580,7 @@ TraceRecorder::record_JSOP_APPLY()
|
||||
* We don't trace apply and call with a primitive 'this', which is the
|
||||
* first positional parameter.
|
||||
*/
|
||||
if (argc > 0 && JSVAL_IS_PRIMITIVE(vp[2]))
|
||||
if (argc > 0 && !JSVAL_IS_OBJECT(vp[2]))
|
||||
return record_JSOP_CALL();
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user