Closed
Bug 420904
Opened 16 years ago
Closed 16 years ago
support for custom options for jsinterp.c when compiling jsshell.
Categories
(Core :: JavaScript Engine, enhancement, P2)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
People
(Reporter: igor, Assigned: igor)
References
Details
Attachments
(1 file, 1 obsolete file)
3.00 KB,
patch
|
Details | Diff | Splinter Review |
+++ This bug was initially created as a clone of Bug #419969 +++ It would be nice to modify Makefile.ref and related build files to allow to specify compilation options specific to jsinterp.c. It should allow to check the effects of various optimizations on the js_Interpret function.
Comment 2•16 years ago
|
||
Ted can you take this?
Assignee: general → ted.mielczarek
Flags: blocking1.9+
Priority: -- → P2
Comment 3•16 years ago
|
||
I don't really know the standalone Spidermonkey build system, but I can take a look.
Assignee | ||
Comment 4•16 years ago
|
||
The patch patches SpiderMonkey's build files to treat jsinterp.c specially. In particular, for optimized build with GCC it passes -O3, not -Os, to the compiler. The patch also adds a support INTERP_XCFLAGS so extra jsinterp.c - specific files can be passed from the command line. This works on Linux with GCC 4.1, but I have no idea what should be a good option for MSVC.
Comment 5•16 years ago
|
||
Igor: it looks like you have this in hand. I'll handle bug 420906.
Assignee: ted.mielczarek → igor
Assignee | ||
Comment 6•16 years ago
|
||
In the new patch I keep by default the interpreter optimizations at -Os not to deviate from browser builds.
Attachment #308197 -
Attachment is obsolete: true
Assignee | ||
Comment 7•16 years ago
|
||
I checked in the patch from the comment 6 to the trunk: Checking in js/src/Makefile.ref; /cvsroot/mozilla/js/src/Makefile.ref,v <-- Makefile.ref new revision: 3.53; previous revision: 3.52 done Checking in js/src/config.mk; /cvsroot/mozilla/js/src/config.mk,v <-- config.mk new revision: 3.27; previous revision: 3.26 done Checking in js/src/rules.mk; /cvsroot/mozilla/js/src/rules.mk,v <-- rules.mk new revision: 3.16; previous revision: 3.15 done
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Updated•16 years ago
|
Flags: in-testsuite-
Flags: in-litmus-
You need to log in
before you can comment on or make changes to this bug.
Description
•