File tree Expand file tree Collapse file tree 2 files changed +30
-2
lines changed Expand file tree Collapse file tree 2 files changed +30
-2
lines changed Original file line number Diff line number Diff line change
1
+ //-------------------------------------------------------------------------------------------------------
2
+ // Copyright (C) Microsoft. All rights reserved.
3
+ // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
4
+ //-------------------------------------------------------------------------------------------------------
5
+
6
+ function test0 ( ) {
7
+ for ( abcd of [ ] )
8
+ {
9
+ try {
10
+ } catch ( e ) {
11
+ }
12
+ try {
13
+ } catch ( e ) {
14
+ }
15
+ }
16
+ }
17
+
18
+ test0 ( ) ;
19
+ test0 ( ) ;
20
+ test0 ( ) ;
21
+
22
+ console . log ( "PASSED" ) ;
Original file line number Diff line number Diff line change 9
9
<test >
10
10
<default >
11
11
<files >weird1.js</files >
12
- <compile-flags >-maxinterpretcount:1 -maxsimplejitruncount:1 -werexceptionsupport - oopjit- -off:bailonnoprofile -off:cachedScope</compile-flags >
12
+ <compile-flags >-maxinterpretcount:1 -maxsimplejitruncount:1 -oopjit- -off:bailonnoprofile -off:cachedScope</compile-flags >
13
13
</default >
14
14
</test >
15
15
<test >
16
16
<default >
17
17
<files >weird2.js</files >
18
- <compile-flags >-maxinterpretcount:1 -maxsimplejitruncount:1 -werexceptionsupport -bgjit- -loopinterpretcount:1 -oopjit- -off:simplejit -force:inline</compile-flags >
18
+ <compile-flags >-maxinterpretcount:1 -maxsimplejitruncount:1 -bgjit- -loopinterpretcount:1 -oopjit- -off:simplejit -force:inline</compile-flags >
19
+ </default >
20
+ </test >
21
+ <test >
22
+ <default >
23
+ <files >for_of_try_catch.js</files >
24
+ <compile-flags >-maxinterpretcount:1 -maxsimplejitruncount:1 -bgjit- -oopjit- -off:jitloopbody</compile-flags >
19
25
</default >
20
26
</test >
21
27
</regress-exe >
You can’t perform that action at this time.
0 commit comments