blob: af0d8725bca27dc16d89e290e7f73a1bfbec0a33 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
// 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();
|