Keep --disable-jit working (480657, r=gal).

This commit is contained in:
Brendan Eich
2009-03-04 00:38:46 -08:00
parent 12590d2dce
commit 400f400adc
2 changed files with 11 additions and 2 deletions

View File

@@ -2170,6 +2170,7 @@ JS_STATIC_ASSERT(JSSLOT_PRIVATE == JSSLOT_UTC_TIME);
JS_STATIC_ASSERT(JSSLOT_UTC_TIME + 1 == JSSLOT_LOCAL_TIME);
#ifdef JS_TRACER
static JSObject* FASTCALL
Date_tn(JSContext* cx, JSObject* proto)
{
@@ -2203,7 +2204,11 @@ Date_tn(JSContext* cx, JSObject* proto)
JS_DEFINE_TRCINFO_1(js_Date,
(2, (static, CONSTRUCTOR_RETRY, Date_tn, CONTEXT, CALLEE_PROTOTYPE, 0, 0)))
#endif
#else /* !JS_TRACER */
# define js_Date_trcinfo NULL
#endif /* !JS_TRACER */
JSObject *
js_InitDateClass(JSContext *cx, JSObject *obj)