Closed
Bug 515628
Opened 16 years ago
Closed 16 years ago
Make js*inlines.h self-contained, stop using JS_*_EXTERN_C in lib-private .h files
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
mozilla1.9.2
| Tracking | Status | |
|---|---|---|
| status1.9.2 | --- | beta1-fixed |
People
(Reporter: brendan, Assigned: brendan)
Details
(Whiteboard: fixed-in-tracemonkey)
Attachments
(1 file, 2 obsolete files)
|
3.05 KB,
patch
|
jorendorff
:
review+
|
Details | Diff | Splinter Review |
Summary says it all. jsstrinlines.h was already nesting jsstr.h per Summary.
/be
Attachment #399726 -
Flags: review?(jorendorff)
| Assignee | ||
Comment 1•16 years ago
|
||
Attachment #399726 -
Attachment is obsolete: true
Attachment #399755 -
Flags: review?(jorendorff)
Attachment #399726 -
Flags: review?(jorendorff)
| Assignee | ||
Comment 2•16 years ago
|
||
Attachment #399756 -
Flags: review?(jorendorff)
| Assignee | ||
Updated•16 years ago
|
Attachment #399755 -
Attachment is obsolete: true
Attachment #399755 -
Flags: review?(jorendorff)
Updated•16 years ago
|
Attachment #399756 -
Flags: review?(jorendorff) → review+
Comment 3•16 years ago
|
||
Comment on attachment 399756 [details] [diff] [review]
I've caught gal's wrong-patch-attached cold
>--- a/js/src/jsatominlines.h
> static inline JSBool
> js_ValueToStringId(JSContext *cx, jsval v, jsid *idp)
Remove "static" here, since we're making this file unsafe for C?
>--- a/js/src/jsscript.cpp
>+++ b/js/src/jsscript.cpp
> #include "jsscript.h"
>+#include "jsscriptinlines.h"
> #include "jstracer.h"
> #if JS_HAS_XDR
> #include "jsxdrapi.h"
> #endif
>
> #include "jsscriptinlines.h"
>
Delete the last 2 lines here (my earlier emergency fix).
>diff --git a/js/src/jstracer.cpp b/js/src/jstracer.cpp
>--- a/js/src/jstracer.cpp
>+++ b/js/src/jstracer.cpp
>+#include "jsscriptinlines.h"
> #include "jsstaticcheck.h"
> #include "jstracer.h"
> #include "jsxml.h"
>
> #include "jsatominlines.h"
> #include "jsscriptinlines.h"
>
And here.
| Assignee | ||
Comment 4•16 years ago
|
||
I like the segregated js*inlines.h includes, now that you point it out. Thanks:
http://hg.mozilla.org/tracemonkey/rev/390977f2943c
/be
Whiteboard: fixed-in-tracemonkey
Comment 5•16 years ago
|
||
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Comment 6•16 years ago
|
||
status1.9.2:
--- → beta1-fixed
Flags: wanted1.9.2+
You need to log in
before you can comment on or make changes to this bug.
Description
•