3e9a7aff9d
BUG=v8:6325 Change-Id: I5a638c47b33d6e75d31f020c499ffd084348fea4 Reviewed-on: https://chromium-review.googlesource.com/489505 Commit-Queue: Wiktor Garbacz <wiktorg@google.com> Reviewed-by: Marja Hölttä <marja@chromium.org> Reviewed-by: Andreas Haas <ahaas@chromium.org> Reviewed-by: Daniel Clifford <danno@chromium.org> Cr-Commit-Position: refs/heads/master@{#45010}
21 lines
333 B
JavaScript
21 lines
333 B
JavaScript
// Copyright 2016 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.
|
|
|
|
// Flags: --turbo --always-opt
|
|
|
|
x = "";
|
|
|
|
function f () {
|
|
function g() {
|
|
try {
|
|
eval('');
|
|
return x;
|
|
} catch(e) {
|
|
}
|
|
}
|
|
return g();
|
|
}
|
|
|
|
f();
|