Closed
Bug 392074
Opened 17 years ago
Closed 17 years ago
Code still refers to JSTRACE_ATOM
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
People
(Reporter: igor, Assigned: igor)
References
Details
Attachments
(1 file)
1.60 KB,
patch
|
brendan
:
review+
brendan
:
approval1.9+
|
Details | Diff | Splinter Review |
[This is a spin-off of bug 386265 comment 41] JS_IS_VALID_TRACE_KIND still refers to removed JSATOM_TRACE with !JS_HAS_XML_SUPPORT.
Assignee | ||
Comment 1•17 years ago
|
||
The patch fixes JS_IS_VALID_TRACE_KIND macro and adds a static assert to prevent this kind of bugs to happen again.
Attachment #276515 -
Flags: review?(brendan)
Attachment #276515 -
Flags: approval1.9?
Updated•17 years ago
|
Attachment #276515 -
Flags: review?(brendan)
Attachment #276515 -
Flags: review+
Attachment #276515 -
Flags: approval1.9?
Attachment #276515 -
Flags: approval1.9+
Assignee | ||
Comment 2•17 years ago
|
||
I checked in the patch from comment 1 to the trunk: http://bonsai.mozilla.org/cvsquery.cgi?module=PhoenixTinderbox&branch=HEAD&cvsroot=%2Fcvsroot&date=explicit&mindate=1187036463&maxdate=1187036702&who=igor%25mir2.org
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Comment 3•17 years ago
|
||
Based on Tinderbox it looks like this could have caused the Win32 orangeness. Any thoughts?
Assignee | ||
Comment 4•17 years ago
|
||
(In reply to comment #3) > Based on Tinderbox it looks like this could have caused the Win32 orangeness. Sorry for not waiting until all the boxes finish the tests. My assumption was that adding an extern declaration of a C function that was never accessed from the code (this is what JS_STATIC_ASSERT expands into) may only affect the compilation. So I just waited until one of Linux/Max/Win boxes finished. The next time I should to take such shortcuts and wait for all tests to finish for the reason related to the the last orange. If orange happens during my commit, I better be available to help to figure out the reason for it like explaining the nature of the check in.
Updated•17 years ago
|
Flags: in-testsuite-
You need to log in
before you can comment on or make changes to this bug.
Description
•