Bug 623297 - Make JS_TRACE_MONITOR more robust by distinguishing callers (r=gal)

This commit is contained in:
Bill McCloskey
2011-02-01 10:18:06 -08:00
parent 72564026fb
commit a374e83c84
14 changed files with 138 additions and 51 deletions

View File

@@ -2069,7 +2069,7 @@ js_ArrayCompPush(JSContext *cx, JSObject *obj, const Value &vp)
JSBool JS_FASTCALL
js_ArrayCompPush_tn(JSContext *cx, JSObject *obj, ValueArgType v)
{
TraceMonitor *tm = &JS_TRACE_MONITOR(cx);
TraceMonitor *tm = JS_TRACE_MONITOR_ON_TRACE(cx);
if (!ArrayCompPushImpl(cx, obj, ValueArgToConstRef(v))) {
SetBuiltinError(tm);