mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Don't bother tracing some elem sets yet (bug 561939, r=gal).
This commit is contained in:
parent
3579b2b1fb
commit
dac6f52234
@ -12170,6 +12170,9 @@ TraceRecorder::setElem(int lval_spindex, int idx_spindex, int v_spindex)
|
||||
if (JS_InstanceOf(cx, obj, &js_ArgumentsClass, NULL))
|
||||
RETURN_STOP_A("can't trace setting elements of the |arguments| object");
|
||||
|
||||
if (obj == globalObj)
|
||||
RETURN_STOP_A("can't trace setting elements on the global object");
|
||||
|
||||
if (!JSVAL_IS_INT(idx)) {
|
||||
if (!JSVAL_IS_PRIMITIVE(idx))
|
||||
RETURN_STOP_A("non-primitive index");
|
||||
|
Loading…
Reference in New Issue
Block a user