Bug 488363 - Missing write barrier on global object, r=jorendorff.

This commit is contained in:
Graydon Hoare
2009-04-17 15:25:25 -07:00
parent b2fefd9393
commit 75180b6422

View File

@@ -3713,6 +3713,8 @@ js_DefineNativeProperty(JSContext *cx, JSObject *obj, jsid id, jsval value,
JSScope *scope;
JSScopeProperty *sprop;
js_LeaveTraceIfGlobalObject(cx, obj);
/* Convert string indices to integers if appropriate. */
CHECK_FOR_STRING_INDEX(id);