mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-26 14:46:02 +00:00
Don't bother tracing some elem sets yet (bug 561939, r=gal).
This commit is contained in:
parent
031624fd56
commit
6072d59b36
@ -12116,6 +12116,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…
x
Reference in New Issue
Block a user