Description[turbofan] Use correct lazy frame state for JSCreate.
If JSCreate (which corresponds to %NewObject) would ever trigger a lazy
deopt, we would deopt after the constructor call, skipping all the
initialization and what else in the constructor function, which is
wrong. Instead we can use the eager bailout point right before the
constructor function, because allocation is not observable and so we can
safely repeat the %NewObject in case of lazy bailout.
R=yangguo@chromium.org
BUG=v8:4544
LOG=n
Committed: https://crrev.com/476296b96b9c3ca7a6cb72e6999bde981fe52873
Cr-Commit-Position: refs/heads/master@{#32880}
Patch Set 1 #
Messages
Total messages: 8 (2 generated)
|