5bf07566ce
These tests require --validate-asm, which is available only on WebAssembly enabled builds. This was causing problems on https://ci.chromium.org/ui/p/v8/builders/ci/V8%20Linux%20-%20arm%20-%20sim%20-%20lite/15320/overview. Moving them into regress/asm, the status file automatically skips these tests if WebAssembly is not enabled. Bug: v8:11238 Change-Id: Ib337fb6bd43319f61a33302efd4277c092935a9c Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2767600 Commit-Queue: Zhi An Ng <zhin@chromium.org> Reviewed-by: Clemens Backes <clemensb@chromium.org> Cr-Commit-Position: refs/heads/master@{#73489}
14 lines
322 B
JavaScript
14 lines
322 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: --validate-asm
|
|
|
|
function generateAsmJs() {
|
|
'use asm';
|
|
function fun() { fun(); }
|
|
return fun;
|
|
}
|
|
|
|
assertThrows(generateAsmJs(), RangeError);
|