f9a9c6be0e
This introduces an explicit lazy bailout. It is wrapped in the call node, mostly because the lazy deoptimization processing is married to the call processing in the instruction selector and the code generator. It is still a terrible hack. R=bmeurer@chromium.org,mstarzinger@chromium.org BUG=chromium:543994,v8:4195 LOG=n Review URL: https://codereview.chromium.org/1412443003 Cr-Commit-Position: refs/heads/master@{#31353}
20 lines
375 B
JavaScript
20 lines
375 B
JavaScript
// Copyright 2015 the V8 project authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
// found in the LICENSE file.
|
|
|
|
// Flass: --allow-natives-syntax --always-opt --gc-interval=163 --stress-compaction
|
|
|
|
try { a = f();
|
|
} catch(e) {
|
|
}
|
|
var i = 0;
|
|
function f() {
|
|
try {
|
|
f();
|
|
} catch(e) {
|
|
i++;
|
|
[];
|
|
}
|
|
}
|
|
f();
|