4235fc0bae
Now that we have no more do-expressions, we don't need to reparent variables and declarations anymore. However, it's still possible that temporaries were implicitly allocated. We still need to move those. Bug: chromium:904255 Change-Id: Ia8a90eb822b9db123ffb0bad58e4b720c1452d9f Reviewed-on: https://chromium-review.googlesource.com/c/1329685 Reviewed-by: Igor Sheludko <ishell@chromium.org> Commit-Queue: Toon Verwaest <verwaest@chromium.org> Cr-Commit-Position: refs/heads/master@{#57424}
6 lines
293 B
JavaScript
6 lines
293 B
JavaScript
// Copyright 2018 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.
|
|
|
|
assertThrows("((__v_0 = __v_0.replace(...new Array(), '0').slice(...new Int32Array(), '0')) => print())()", ReferenceError);
|