DescriptionSupport OSR in for-in loops.
Modify PreProcessOsrEntry to work with OSR entries that have non-empty expression stack.
Modify graph builder to take for-in state from environment instead of directly referencing emitted instructions.
Extend %OptimizeFunctionOnNextCall with an argument to force OSR to make writing OSR tests easier: %OptimizeFunctionOnNextCall(f, "osr").
R=fschneider@chromium.org
TEST=test/mjsunit/compiler/optimized-for-in.js
Committed: https://code.google.com/p/v8/source/detail?r=10796
Patch Set 1 #
Total comments: 1
Patch Set 2 : Extend OptimizeFunctionOnNextCall with an arguments to force OSR. #
Total comments: 1
Messages
Total messages: 4 (0 generated)
|