Closed Bug 493866 Opened 15 years ago Closed 15 years ago

NanoJIT relies on undefined C behavior; causes crash

Categories

(Tamarin Graveyard :: Baseline JIT (CodegenLIR), defect)

x86_64
Linux
defect
Not set
critical

Tracking

(Not tracked)

VERIFIED FIXED
flash10.1

People

(Reporter: mmelanso, Unassigned)

References

Details

Attachments

(1 file)

The NanoJIT contains a line that relies on undefined C behavior. gcc compiles the code in a way contrary to assumption. Attached patch fixes it.
Hey Mike, thanks for the patch -- you should ask someone to review it (all patches must be reviewed before landing). If you're unsure who the best reviewer is, assign it to me (stejohns@adobe.com) and I'll delegate it to the proper reviewer.
Attachment #378465 - Flags: review?(edwsmith)
Comment on attachment 378465 [details] [diff] [review]
Fix a crash in the x86_64 nanaJIT

Edwin, looks like an obvious bug / obviously correct fix.
Blocks: 486742
Attachment #378465 - Flags: review?(edwsmith) → review+
i'll push once builds stabilize
Ed, time to push this.
pushed
http://hg.mozilla.org/tamarin-redux/rev/fc1740d5148a
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Resolved fixed engineering / work item that has been pushed.  Setting status to verified.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: