mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Checking in mrbkap's fix for 420513, r=me, a=beltzner.
This commit is contained in:
parent
29c0574170
commit
bf4dff31ae
@ -1287,7 +1287,7 @@ have_fun:
|
||||
* JS_THIS or JS_THIS_OBJECT, and scripted functions will go through
|
||||
* the appropriate this-computing bytecode, e.g., JSOP_THIS.
|
||||
*/
|
||||
if (native && fun && !(fun->flags & JSFUN_FAST_NATIVE)) {
|
||||
if (native && (!fun || !(fun->flags & JSFUN_FAST_NATIVE))) {
|
||||
if (!js_ComputeThis(cx, JS_FALSE, vp + 2)) {
|
||||
ok = JS_FALSE;
|
||||
goto out2;
|
||||
|
Loading…
Reference in New Issue
Block a user