Chromium Code Reviews| Index: test/mjsunit/wasm/default-func-call.js | 
| diff --git a/test/mjsunit/wasm/indirect-calls.js b/test/mjsunit/wasm/default-func-call.js | 
| similarity index 75% | 
| copy from test/mjsunit/wasm/indirect-calls.js | 
| copy to test/mjsunit/wasm/default-func-call.js | 
| index 80bee412e028541e3b54ba7a175a512cb8293e77..7b1eee18fe04ee50bf09ff34e541c19804ddbe95 100644 | 
| --- a/test/mjsunit/wasm/indirect-calls.js | 
| +++ b/test/mjsunit/wasm/default-func-call.js | 
| @@ -1,8 +1,10 @@ | 
| // Copyright 2015 the V8 project authors. All rights reserved. | 
| +// | 
| 
 
bradn
2016/06/16 08:00:20
Extra line.
Maybe in a separate file?
 
 | 
| // Use of this source code is governed by a BSD-style license that can be | 
| // found in the LICENSE file. | 
| // Flags: --expose-wasm | 
| +// Flags: --wasm-jit-prototpe | 
| load("test/mjsunit/wasm/wasm-constants.js"); | 
| load("test/mjsunit/wasm/wasm-module-builder.js"); | 
| @@ -47,3 +49,10 @@ assertEquals(19, module.exports.main(0, 12, 7)); | 
| assertTraps(kTrapFuncSigMismatch, "module.exports.main(2, 12, 33)"); | 
| assertTraps(kTrapFuncInvalid, "module.exports.main(3, 12, 33)"); | 
| +assertTraps(kTrapFuncInvalid, "module.exports.main(4, 12, 33)"); | 
| +assertTraps(kTrapFuncInvalid, "module.exports.main(1023, 12, 33)"); | 
| +assertTraps(kTrapFuncInvalid, "module.exports.main(1025, 12, 33)"); | 
| +assertTraps(kTrapFuncInvalid, "module.exports.main(2048, 12, 33)"); | 
| +assertTraps(kTrapFuncInvalid, "module.exports.main(511, 12, 33)"); | 
| +assertTraps(kTrapFuncInvalid, "module.exports.main(513, 12, 33)"); | 
| +assertTraps(kTrapFuncInvalid, "module.exports.main(-1, 12, 33)"); |