Bug 1029933 - Followup: remove now unused js::Classes from jsapi.cpp; r=till
authorMs2ger <ms2ger@gmail.com>
Mon, 07 Jul 2014 12:05:58 +0200
changeset 192669 2ec6c5b1d1d2c68c7a836e01f909d8532ec07595
parent 192668 1113df431eab55cb5f9b42d652d6eea89cd71e01
child 192670 84f3f9b84bbb784fff7d275dc2a7668f5f9ec8f4
push id27093
push userkwierso@gmail.com
push dateMon, 07 Jul 2014 23:01:28 +0000
treeherdermozilla-central@7f9db2379b3f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstill
bugs1029933
milestone33.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1029933 - Followup: remove now unused js::Classes from jsapi.cpp; r=till These classes were used until changeset 650197ade3b3, when they were replaced by dummy JSProtoKey values.
js/src/jsapi.cpp
--- a/js/src/jsapi.cpp
+++ b/js/src/jsapi.cpp
@@ -1190,19 +1190,16 @@ JS_InitStandardClasses(JSContext *cx, Ha
     assertSameCompartment(cx, obj);
 
     Rooted<GlobalObject*> global(cx, &obj->global());
     return GlobalObject::initStandardClasses(cx, global);
 }
 
 #define EAGER_ATOM(name)            NAME_OFFSET(name)
 
-static js::Class DummyClass;
-static js::Class SentinelClass;
-
 typedef struct JSStdName {
     size_t      atomOffset;     /* offset of atom pointer in JSAtomState */
     JSProtoKey  key;
     bool isDummy() const { return key == JSProto_Null; };
     bool isSentinel() const { return key == JSProto_LIMIT; };
 } JSStdName;
 
 static const JSStdName*