Update to last fix of js.c. Multiple versions of functions #ifdef'ed to take different numbers of arguments (in C) are a pain. Use #ifdef-safe JS_GET_CLASS, instead.

Not part of the Mozilla build.


git-svn-id: svn://10.0.0.236/trunk@83397 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mccabe%netscape.com
2000-12-08 06:30:57 +00:00
parent 4f01edac18
commit c09cda8e4e

View File

@@ -1126,7 +1126,7 @@ DumpScope(JSContext *cx, JSObject *obj, JSHashEnumerator dump, FILE *fp)
JSSymbol *sym;
int i;
fprintf(fp, "\n%s scope contents:\n", JS_GetClass(cx, obj)->name);
fprintf(fp, "\n%s scope contents:\n", JS_GET_CLASS(cx, obj)->name);
scope = OBJ_SCOPE(obj);
if (!MAP_IS_NATIVE(&scope->map))
return;