Bug 607148 - Remove unnamed namespaces from SpiderMonkey code. rs=luke

This commit is contained in:
Jeff Walden
2010-10-25 16:47:11 -07:00
parent fab350f410
commit 78f59bd5e3
6 changed files with 16 additions and 67 deletions

View File

@@ -912,9 +912,7 @@ array_trace(JSTracer *trc, JSObject *obj)
}
}
namespace {
JSBool
static JSBool
array_fix(JSContext *cx, JSObject *obj, bool *success, AutoIdVector *props)
{
JS_ASSERT(obj->isDenseArray());
@@ -931,8 +929,6 @@ array_fix(JSContext *cx, JSObject *obj, bool *success, AutoIdVector *props)
return true;
}
} // namespace
Class js_ArrayClass = {
"Array",
Class::NON_NATIVE |