DescriptionInline simple setter calls.
Currently only simple setter calls are handled (i.e. no calls in count
operations or compound assignments), and deoptimization in the setter is not
handled at all. Because of the latter, we temporarily hide this feature behind
the --inline-accessors flag, just like inlining getters.
We now use an enum everywhere we depend on the handling of a return value,
passing around several boolean would be more confusing.
Made VisitReturnStatement and the final parts of TryInline more similar, so
matching them visually is a bit easier now.
Simplified the signature of AddLeaveInlined, the target of the HGoto can simply
be retrieved from the function state.
Committed: https://code.google.com/p/v8/source/detail?r=12286
Patch Set 1 #Patch Set 2 : Improved acessor inlining tests. #Patch Set 3 : Use enum instead of 2 booleans. #Patch Set 4 : Consistently use ReturnHandlingFlag. #Patch Set 5 : Made VisitReturnStatement and TryInline more similar. Simplified AddLeaveInlined. #
Total comments: 18
Patch Set 6 : Incorporated most review comments of round one. #
Total comments: 8
Patch Set 7 : Incorporated most review comments again... #Patch Set 8 : Rebased. Extended unit tests. #
Total comments: 2
Patch Set 9 : Added new frame type. Fixed environment lookup. More tests. #
Total comments: 2
Patch Set 10 : Added comment. #
Messages
Total messages: 8 (0 generated)
|