blob: 9a986d08398ab6f977097c9fc227f7ce5fdae14b [file] [log] [blame]
Andrew Top63c7ad42019-11-25 16:10:13 -08001// Copyright 2018 the V8 project authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5PAGES = 10;
6memory = new WebAssembly.Memory({initial: PAGES});
7buffer = memory.buffer;
8memory.grow(0);
9WebAssembly.validate(buffer);