Ben Murdoch | 4a90d5f | 2016-03-22 12:00:34 +0000 | [diff] [blame] | 1 | // Copyright 2015 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 | |
| 5 | // Flags: --expose-wasm |
| 6 | |
| 7 | assertFalse(undefined === _WASMEXP_); |
| 8 | assertFalse(undefined == _WASMEXP_); |
| 9 | assertEquals("function", typeof _WASMEXP_.verifyModule); |
| 10 | assertEquals("function", typeof _WASMEXP_.verifyFunction); |
Ben Murdoch | 097c5b2 | 2016-05-18 11:27:45 +0100 | [diff] [blame^] | 11 | assertEquals("function", typeof _WASMEXP_.instantiateModule); |
| 12 | assertEquals("function", typeof _WASMEXP_.instantiateModuleFromAsm); |