Bug 104576 - Allow Optimized If Tests With After Returning Value
Summary: Allow Optimized If Tests With After Returning Value
Status: REOPENED
Alias: None
Product: AspectJ
Classification: Tools
Component: Compiler (show other bugs)
Version: DEVELOPMENT   Edit
Hardware: PC Windows XP
: P5 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Adrian Colyer CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-20 16:06 EDT by Ron Bodkin CLA
Modified: 2009-08-30 02:50 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ron Bodkin CLA 2005-07-20 16:06:49 EDT
It would be nice if the AspectJ compiler could inline the if test here. 
Obviously you can't access this value in an if pcd, but some means to allow 
this would be nice.

after() returning (int retCode) : pcd() {
    if (retCode<100) {
        doWork();
    }
}
Comment 1 Adrian Colyer CLA 2005-08-17 15:29:02 EDT
This is a valid enhancement request but we have no immediate plans to implement given the other 
pressures on the project. Marking as "LATER" for consideration in future planning cycles.
Comment 2 Eclipse Webmaster CLA 2009-08-30 02:50:23 EDT
LATER/REMIND bugs are being automatically reopened as P5 because the LATER and REMIND resolutions are deprecated.