Closed Bug 473430 Opened 16 years ago Closed 12 years ago

Teach Treehydra's Zero-Nonzero ESP analysis to handle TRUTH_NOT_EXPR nodes

Categories

(Developer Infrastructure :: Source Code Analysis, enhancement)

Other Branch
All
Windows 95
enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: graydon, Assigned: graydon)

References

Details

Attachments

(1 file)

Attached patch Handle the node. (deleted) — Splinter Review
This is necessary to handle many control patterns GCC generates (also standard ones users write such as if(!b) { ... })
Attachment #356795 - Flags: review?(dmandelin)
Attachment #356795 - Flags: review?(dmandelin) → review+
Comment on attachment 356795 [details] [diff] [review] Handle the node. Looks good, except please also add the final 'blame' argument to your calls to assignMapped and remove. That argument is supposed to be the GIMPLE instruction that caused the effect to happen, for use in error reports.
Assignee: nobody → graydon
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
I just realized that the evaluator function is a bit wrong because it was designed over concrete values but it needs to consider abstract values. I think the only way it goes wrong is that !TOP should be TOP, but currently it would evaluate to 0.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Blocks: 452357
Dehydra and treehydra are no longer maintained by Mozilla.
Status: REOPENED → RESOLVED
Closed: 16 years ago12 years ago
Resolution: --- → WONTFIX
Product: Core → Firefox Build System
Product: Firefox Build System → Developer Infrastructure
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: