Closed
Bug 557611
Opened 14 years ago
Closed 14 years ago
Introduce a 'tweaks' system
Categories
(Tamarin Graveyard :: Virtual Machine, defect, P3)
Tamarin Graveyard
Virtual Machine
Tracking
(Not tracked)
VERIFIED
FIXED
flash10.1
People
(Reporter: lhansen, Assigned: lhansen)
References
Details
Attachments
(1 file)
5.28 KB,
patch
|
edwsmith
:
review+
|
Details | Diff | Splinter Review |
The idea of a tweak is a mini-feature that has a default value that's usually right but that may be changed to compensate for some system bizarreness or bug. Several of our AVMFEATURE_ names should probably become AVMTWEAK_ names because they fall into this category. We want the same exposure for tweaks as for features, but we don't necessarily want to require every platform to worry about the available tweaks, which is why a default value is provided. If the default value becomes abused - by using a tweak rather than a feature where a feature is called for - the default value facility may be removed in the future.
Attachment #437367 -
Flags: review?(edwsmith)
Assignee | ||
Comment 1•14 years ago
|
||
It is probably also the case that numerous #ifdef nests in the source code can easily be converted to tweaks, for example in MathUtilsUnix.cpp we see this: // MacOS X Intel 10.5 incorrectly make ceil(-0.5) -> 0.0 instead of -0.0 // special-case and correct. #if defined(AVMPLUS_MAC) && (defined(AVMPLUS_IA32) || defined(AVMPLUS_AMD64)) ... #else ... #endif
Comment 2•14 years ago
|
||
Comment on attachment 437367 [details] [diff] [review] The tweaks system Nothing obviously wrong, and since this blocks a 10.1 bug, i'm not applying any polishing compound to this review.
Attachment #437367 -
Flags: review?(edwsmith) → review+
Assignee | ||
Comment 3•14 years ago
|
||
tamarin-redux-argo changeset: 3944:a10b00432457
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 4•14 years ago
|
||
Follow-up issues logged as bug #557629 and bug #557633.
Updated•14 years ago
|
QA Contact: vm → brbaker
Comment 5•14 years ago
|
||
Marking as verified/fixed per conversation with Lars
Status: RESOLVED → VERIFIED
Flags: in-testsuite-
You need to log in
before you can comment on or make changes to this bug.
Description
•