TRACING_ENABLED depends on JS_TRACER

RESOLVED WONTFIX

Status

()

Core
JavaScript Engine
RESOLVED WONTFIX
8 years ago
6 years ago

People

(Reporter: sfink, Assigned: sfink)

Tracking

Trunk
x86_64
Linux
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

8 years ago
Created attachment 461044 [details] [diff] [review]
Allow TRACING_ENABLED when JS_TRACER is undefined

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)

Updated

7 years ago
Assignee: general → sphink
(Assignee)

Updated

6 years ago
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.