JS_TRACER not defined in testFuncCallback.cpp

RESOLVED FIXED

Status

()

Core
JavaScript Engine
RESOLVED FIXED
7 years ago
5 years ago

People

(Reporter: njn, Assigned: sfink)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

7 years ago
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.
(Assignee)

Comment 1

5 years ago
code is gone
Status: ASSIGNED → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.