Closed Bug 638673 Opened 10 years ago Closed 9 years ago

JS_TRACER not defined in testFuncCallback.cpp

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: n.nethercote, Assigned: sfink)

Details

jsapi-tests/testFuncCallback.cpp has this code:

    // If this fails, it means that the code was interpreted rather
    // than trace-JITted, and so is not testing what it's supposed to
    // be testing. Which doesn't necessarily imply that the
    // functionality is broken.
#ifdef JS_TRACER
    if (TRACING_ENABLED(cx))
        CHECK(interpreted < enters);
#endif

That code isn't compiled even if SpiderMonkey was compiled with --enable-tracejit.  I think js-confdefs.h or js-config.h needs to be #included somewhere.
code is gone
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.