Bug 622138 - Mark Depends on invalid unqualified lookup in templates for TypedMarker. r=igor, a=benjamin

This commit is contained in:
Rafael Ávila de Espíndola 2011-01-12 14:10:39 +13:00
parent c02b8890ab
commit 6e3e0e3b82

View File

@ -182,6 +182,21 @@ js_NewGCXML(JSContext *cx)
namespace js {
namespace gc {
static JS_ALWAYS_INLINE void
TypedMarker(JSTracer *trc, JSXML *thing);
static JS_ALWAYS_INLINE void
TypedMarker(JSTracer *trc, JSObject *thing);
static JS_ALWAYS_INLINE void
TypedMarker(JSTracer *trc, JSFunction *thing);
static JS_ALWAYS_INLINE void
TypedMarker(JSTracer *trc, JSShortString *thing);
static JS_ALWAYS_INLINE void
TypedMarker(JSTracer *trc, JSString *thing);
template<typename T>
static JS_ALWAYS_INLINE void
Mark(JSTracer *trc, T *thing)