Closed Bug 77205 Opened 23 years ago Closed 16 years ago

IDE_Options.h should specify a #pragma for inlining

Categories

(SeaMonkey :: Build Config, defect)

PowerPC
All
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: sfraser_bugs, Assigned: scc)

Details

Attachments

(2 files)

Currently IDE_Options.h does not specify inlining settings, leaving it to the 
mercy of each project. And some projects (e.g. DocShell) turn inlining off.

We need to control inlining via IDE_Options.h, and probably use different 
inlining for debug and opt builds. Available #pragmas are:


#pragma auto_inline on | off | reset
#pragma dont_inline on | off | reset
#pragma inline_depth(n)  (1 <= n <= 8)
#pragma inline_depth(smart)

"The smart specifier is the default mode, with 4 passes where the
passes 2-4 are limited to small inline functions. All inlineable functions
are expanded if inline_depth is set to 1-1024."
as agreed, will set inlining to smart for optimized builds, off for debug builds
(until such time as convincing complaints dissuade us); will also explicitly set
the long long option so as not to do two checkins of "IDE_Options.h".
Status: NEW → ASSIGNED
OS: Mac System 8.5 → All
Target Milestone: --- → mozilla0.9.1
scc, when are you planning on checking this in?  We need to coordinate with my 
checkin for 3616 as that involves an NSPR header and a full rebuild of the world 
as well.
Well, let me attach a patch first, but I plan to check this in as soon as
feasible after the tree opens for 0.9.1
I suggets we coordinate checkins for some time either late at night or just 
before the 8am tree closing as we don't want to cause two complete rebuilds for 
the Dep machines
the patch I would check in is 04/25/01 14:33, the second patch is the
--ignore-space-change version of the same patch so you can see the interesting
bits more clearly
Keywords: approval, patch, review
Looks good, sr=sfraser.
r=beard
if it hasn't landed, let's land this in 0.9.2. let drivers know if this creates
problems. thanks.
Target Milestone: mozilla0.9.1 → mozilla0.9.2
Target Milestone: mozilla0.9.2 → mozilla0.9.3
Missed 0.9.3.
Target Milestone: mozilla0.9.3 → mozilla0.9.4
looks like we could live without these for 0.9.4.   let me know if this is a
mistake.  moving out...
Target Milestone: mozilla0.9.4 → mozilla0.9.5
0.9.5 is out the door. bumping TM up by one.
Target Milestone: mozilla0.9.5 → mozilla0.9.6
Too late for 0.9.6, this needs retargeting.
unsetting the target milestone until we can get a good one.
Target Milestone: mozilla0.9.6 → ---
Let's try and get these in with the Pro 7 transition.
How well tested is a build done this way? Are we absolutely sure it's safe? I
think we need to use both of these pragmas, but rolling in changes which change
code generation, in addition to the other changes happening, could make
potential problems harder to isolate.
In other words, if you're having heart surgery, wouldn't you want to recover
from that operation before getting a pacemaker? 
Product: Browser → Seamonkey
<http://bonsai.mozilla.org/cvslog.cgi?file=mozilla/build/mac/IDE_Options.h>
{{
3.14	seawood%netscape.com	2003-06-10 13:18	 	Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev
}}
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: