| Index: test/mjsunit/regress/regress-617526.js
|
| diff --git a/test/mjsunit/regress/regress-617526.js b/test/mjsunit/regress/regress-617526.js
|
| index a7cd5ce1dd1fa62b34457cc7482d39eda0de5b81..f44fc563acdea8b5fefa0303bb19acf7957a8199 100644
|
| --- a/test/mjsunit/regress/regress-617526.js
|
| +++ b/test/mjsunit/regress/regress-617526.js
|
| @@ -2,7 +2,7 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -// Flags: --expose-wasm
|
| +// Flags: --validate-asm --allow-natives-syntax
|
|
|
| // Changing the code a little to avoid infinite loop
|
|
|
| @@ -19,5 +19,6 @@ function __f_109() {
|
| return {__f_18: __f_18};
|
| }
|
|
|
| -var wasm = Wasm.instantiateModuleFromAsm( __f_109.toString());
|
| +var wasm = __f_109();
|
| +assertTrue(%IsAsmWasmCode(__f_109) || %GetOptimizationStatus(__f_109) === 3);
|
| assertEquals(1, wasm.__f_18());
|
|
|