• bmeurer's avatar
    [turbofan] Fix tail call optimization. · d21de2a4
    bmeurer authored
    Tail calls are matched on the graph, with a dedicated tail call
    optimization that is actually testable. The instruction selection can
    still fall back to a regular if the platform constraints don't allow to
    emit a tail call (i.e. the return locations of caller and callee differ
    or the callee takes non-register parameters, which is a restriction that
    will be removed in the future).
    
    Also explicitly limit tail call optimization to stubs for now and drop
    the global flag.
    
    BUG=v8:4076
    LOG=n
    
    Review URL: https://codereview.chromium.org/1114163005
    
    Cr-Commit-Position: refs/heads/master@{#28219}
    d21de2a4
Name
Last commit
Last update
..
benchmarks Loading commit data...
cctest Loading commit data...
intl Loading commit data...
js-perf-test Loading commit data...
memory Loading commit data...
message Loading commit data...
mjsunit Loading commit data...
mozilla Loading commit data...
preparser Loading commit data...
promises-aplus Loading commit data...
test262 Loading commit data...
test262-es6 Loading commit data...
unittests Loading commit data...
webkit Loading commit data...