blob: af0d8725bca27dc16d89e290e7f73a1bfbec0a33 [file] [log] [blame]
// Copyright 2017 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: --expose-gc --validate-asm
function asm() {
"use asm";
function f(a) {
a = a | 0;
tab[a & 0]() | 0;
}
function unused() {
return 0;
}
var tab = [ unused ];
return f;
}
asm();
gc();
asm();