Last Comment Bug 638673 - JS_TRACER not defined in testFuncCallback.cpp
: JS_TRACER not defined in testFuncCallback.cpp
Product: Core
Classification: Components
Component: JavaScript Engine (show other bugs)
: unspecified
: All All
-- normal (vote)
: ---
Assigned To: Steve Fink [:sfink] [:s:]
: Jason Orendorff [:jorendorff]
Depends on:
  Show dependency treegraph
Reported: 2011-03-03 19:57 PST by Nicholas Nethercote [:njn]
Modified: 2012-03-16 10:02 PDT (History)
1 user (show)
See Also:
Crash Signature:
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Description User image Nicholas Nethercote [:njn] 2011-03-03 19:57:50 PST
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);

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.
Comment 1 User image Steve Fink [:sfink] [:s:] 2012-03-16 10:02:56 PDT
code is gone

Note You need to log in before you can comment on or make changes to this bug.