Bug 910823 - Constify static js::Class/JSClass instances. r=waldo

This commit is contained in:
Dan Gohman
2013-09-11 05:49:05 -07:00
parent a43ac4a970
commit 94cd9b8531
163 changed files with 565 additions and 574 deletions

View File

@@ -388,7 +388,7 @@ WeakMap_construct(JSContext *cx, unsigned argc, Value *vp)
return true;
}
Class WeakMapObject::class_ = {
const Class WeakMapObject::class_ = {
"WeakMap",
JSCLASS_HAS_PRIVATE | JSCLASS_IMPLEMENTS_BARRIERS |
JSCLASS_HAS_CACHED_PROTO(JSProto_WeakMap),