Status: New
Owner: ----
New issue 2057 by [email protected]: Optimize cascading jumps in return
statement with conditional expressions
http://code.google.com/p/v8/issues/detail?id=2057
It's an effort to simplify cascading jumps to return label in this case:
return (?(?(?:):(?:)):(?(?:):(?:(?:))));
In this return statement, expression is Conditional (recursively or not)
but just branches to accumulator values. In tridition, each Conditional
expression would yeild a jump to internal 'done' label, then cascading
jumps occur from inner-most one to out-most one. I think it should be
faster to jump to 'return_label_' by single step instead of cascading jumps
if following requirements are met:
1) Such Conditional expression is not encapculated as part of binary
operation
2) Such Conditional expression is not encapculated as part of function
arguments
Both tools/presubmit.py and tools/test.py got passed.
Could anybody kindly help review (http://codereview.chromium.org/9752002)
and comment ? Thanks in advance.
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev