Closed Bug 582778 Opened 14 years ago Closed 12 years ago

TRACING_ENABLED depends on JS_TRACER

Categories

(Core :: JavaScript Engine, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: sfink, Assigned: sfink)

Details

Attachments

(1 file)

If I want to detect whether TM is enabled, I need to do

#ifdef JS_TRACER
if (TRACING_ENABLED(cx)) {
  ...
}
#endif

It would be nice if I could eliminate the ifdef. (This is for tests; the main users obviously don't care.)

I don't know if people agree.

The patch is obvious, but I guess I ought to generate one anyway...
Assignee: general → sphink
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: