summaryrefslogblamecommitdiff
path: root/test/files/run/inline-ex-handlers.check
blob: 7d96c447b0cca354175eade2bcc3edec40c086ec (plain) (tree)
1
2
3
4
5
6
7
       
                               
   
                                                
       
                     
   




                                            


                      
       
                                     
   
                                      
           

                                  
                              
               
      
        



                                     

                                                  
           


                      
       


                                         
           


                                  
      



                                     
           








                                     
           















                                                                  
       


                                                                      
       


                                                                                
       


                                      
           



                                               
      



                                   
           
















                                                          
       


                                                                  
       
                                                            
   
                                                                     
           

                                  
                              
               
      
        


                                     
                       
           

                                  
                              
               
           

                                
                              
               
      
        


                                     
                      
           


                                  
               
           


                                  
               
           
        










                                                          
      
       
                                                                                     
   
                                                                                         
       
                                                                                                  
   
                                                                                                          
       
                                        
   
                                           
           

                                  
                              
               
      
        


                                     
                      
        


                                                                                                     
        


                                         
              

                                  
                              
               
      
        



                                     

                                                  
              


                      
         


                           
              









                                                          
         
                                           
   
                                            
              

                                  
                              
               
              

                                  
                              
               
      
        



                                     

                                                  
              


                      
         


                           
              









                                                          
         


                       
              







                                     
         


                                
         


                                                                                                      
         


                       
              










                                      
         



                                
172c172
<   locals: value x$1, value x1
---
>   locals: value x$1, value x1, variable boxed1
174c174
<   blocks: [1,2,3,4]
---
>   blocks: [1,3,4]
186a187,188
>     92	STORE_LOCAL(variable boxed1)
>     92	LOAD_LOCAL(variable boxed1)
195,197d196
<     92	JUMP 2
<     
<   2: 
385c384
<   blocks: [1,2,3,4,5,8,11,13,14,16]
---
>   blocks: [1,2,3,5,8,11,13,14,16,17]
409c408,417
<     103	THROW(MyException)
---
>     ?	STORE_LOCAL(value ex6)
>     ?	JUMP 17
>     
>   17: 
>     101	LOAD_LOCAL(value ex6)
>     101	STORE_LOCAL(value x4)
>     101	SCOPE_ENTER value x4
>     106	LOAD_LOCAL(value x4)
>     106	IS_INSTANCE REF(class MyException)
>     106	CZJUMP (BOOL)NE ? 5 : 11
422,424d429
<     101	JUMP 4
<     
<   4: 
512c517
<   blocks: [1,2,3,4,6,7,8,9,10]
---
>   blocks: [1,2,3,4,6,7,8,9,10,11,12,13]
541c546,551
<     306	THROW(MyException)
---
>     ?	JUMP 11
>     
>   11: 
>     ?	LOAD_LOCAL(variable monitor4)
>     305	MONITOR_EXIT
>     ?	JUMP 12
547c557,563
<     ?	THROW(Throwable)
---
>     ?	JUMP 12
>     
>   12: 
>     ?	LOAD_LOCAL(variable monitor3)
>     304	MONITOR_EXIT
>     ?	STORE_LOCAL(value t)
>     ?	JUMP 13
553c569,582
<     ?	THROW(Throwable)
---
>     ?	STORE_LOCAL(value t)
>     ?	JUMP 13
>     
>   13: 
>     310	LOAD_MODULE object Predef
>     310	CALL_PRIMITIVE(StartConcat)
>     310	CONSTANT("Caught crash: ")
>     310	CALL_PRIMITIVE(StringConcat(REF(class String)))
>     310	LOAD_LOCAL(value t)
>     310	CALL_METHOD java.lang.Throwable.toString (dynamic)
>     310	CALL_PRIMITIVE(StringConcat(REF(class String)))
>     310	CALL_PRIMITIVE(EndConcat)
>     310	CALL_METHOD scala.Predef.println (dynamic)
>     310	JUMP 2
577c606
<     catch (Throwable) in ArrayBuffer(7, 8, 9, 10) starting at: 6
---
>     catch (Throwable) in ArrayBuffer(7, 8, 9, 10, 11) starting at: 6
580c609
<     catch (Throwable) in ArrayBuffer(4, 6, 7, 8, 9, 10) starting at: 3
---
>     catch (Throwable) in ArrayBuffer(4, 6, 7, 8, 9, 10, 11, 12) starting at: 3
612c641
<   blocks: [1,2,3,4,5,6,7,9,10]
---
>   blocks: [1,2,3,4,5,6,7,9,10,11,12]
636c665,671
<     78	THROW(IllegalArgumentException)
---
>     ?	STORE_LOCAL(value e)
>     ?	JUMP 11
>     
>   11: 
>     81	LOAD_LOCAL(value e)
>     ?	STORE_LOCAL(variable exc1)
>     ?	JUMP 12
665c700,714
<     81	THROW(Exception)
---
>     ?	STORE_LOCAL(variable exc1)
>     ?	JUMP 12
>     
>   12: 
>     83	LOAD_MODULE object Predef
>     83	CONSTANT("finally")
>     83	CALL_METHOD scala.Predef.println (dynamic)
>     84	LOAD_LOCAL(variable result)
>     84	CONSTANT(1)
>     84	CALL_PRIMITIVE(Arithmetic(SUB,INT))
>     84	CONSTANT(2)
>     84	CALL_PRIMITIVE(Arithmetic(DIV,INT))
>     84	STORE_LOCAL(variable result)
>     84	LOAD_LOCAL(variable exc1)
>     84	THROW(Throwable)
687c736
<     catch (<none>) in ArrayBuffer(4, 6, 7, 9) starting at: 3
---
>     catch (<none>) in ArrayBuffer(4, 6, 7, 9, 11) starting at: 3
713c762
<   blocks: [1,2,3,4,5,6,9,12,14,17,18,19,22,25,27,28,30,31]
---
>   blocks: [1,2,3,4,5,6,9,12,14,17,18,19,22,25,27,28,30,31,32,33,34]
737c786,793
<     172	THROW(MyException)
---
>     ?	STORE_LOCAL(value ex6)
>     ?	JUMP 32
>     
>   32: 
>     170	LOAD_LOCAL(value ex6)
>     170	STORE_LOCAL(value x4)
>     170	SCOPE_ENTER value x4
>     170	JUMP 18
793c849,850
<     177	THROW(MyException)
---
>     ?	STORE_LOCAL(value ex6)
>     ?	JUMP 33
797c854,861
<     170	THROW(Throwable)
---
>     ?	STORE_LOCAL(value ex6)
>     ?	JUMP 33
>     
>   33: 
>     169	LOAD_LOCAL(value ex6)
>     169	STORE_LOCAL(value x4)
>     169	SCOPE_ENTER value x4
>     169	JUMP 5
830c894,895
<     182	THROW(MyException)
---
>     ?	STORE_LOCAL(variable exc2)
>     ?	JUMP 34
834c899,900
<     169	THROW(Throwable)
---
>     ?	STORE_LOCAL(variable exc2)
>     ?	JUMP 34
835a902,914
>   34: 
>     184	LOAD_MODULE object Predef
>     184	CONSTANT("finally")
>     184	CALL_METHOD scala.Predef.println (dynamic)
>     185	LOAD_LOCAL(variable result)
>     185	CONSTANT(1)
>     185	CALL_PRIMITIVE(Arithmetic(SUB,INT))
>     185	CONSTANT(2)
>     185	CALL_PRIMITIVE(Arithmetic(DIV,INT))
>     185	STORE_LOCAL(variable result)
>     185	LOAD_LOCAL(variable exc2)
>     185	THROW(Throwable)
>     
856c935
<     catch (Throwable) in ArrayBuffer(17, 18, 19, 22, 25, 27, 28, 30) starting at: 4
---
>     catch (Throwable) in ArrayBuffer(17, 18, 19, 22, 25, 27, 28, 30, 32) starting at: 4
859c938
<     catch (<none>) in ArrayBuffer(4, 5, 6, 9, 12, 17, 18, 19, 22, 25, 27, 28, 30) starting at: 3
---
>     catch (<none>) in ArrayBuffer(4, 5, 6, 9, 12, 17, 18, 19, 22, 25, 27, 28, 30, 32, 33) starting at: 3
885c964
<   blocks: [1,2,3,6,7,8,11,14,16,17,19]
---
>   blocks: [1,2,3,6,7,8,11,14,16,17,19,20]
909c988,995
<     124	THROW(MyException)
---
>     ?	STORE_LOCAL(value ex6)
>     ?	JUMP 20
>     
>   20: 
>     122	LOAD_LOCAL(value ex6)
>     122	STORE_LOCAL(value x4)
>     122	SCOPE_ENTER value x4
>     122	JUMP 7
969c1055
<     catch (IllegalArgumentException) in ArrayBuffer(6, 7, 8, 11, 14, 16, 17, 19) starting at: 3
---
>     catch (IllegalArgumentException) in ArrayBuffer(6, 7, 8, 11, 14, 16, 17, 19, 20) starting at: 3
995c1081
<   blocks: [1,2,3,4,5,8,11,15,16,17,19]
---
>   blocks: [1,2,3,5,8,11,15,16,17,19,20]
1019c1105,1114
<     148	THROW(MyException)
---
>     ?	STORE_LOCAL(value ex6)
>     ?	JUMP 20
>     
>   20: 
>     145	LOAD_LOCAL(value ex6)
>     145	STORE_LOCAL(value x4)
>     145	SCOPE_ENTER value x4
>     154	LOAD_LOCAL(value x4)
>     154	IS_INSTANCE REF(class MyException)
>     154	CZJUMP (BOOL)NE ? 5 : 11
1040,1042d1134
<     145	JUMP 4
<     
<   4: 
1275c1367
<   blocks: [1,2,3,4,5,7]
---
>   blocks: [1,2,3,4,5,7,8]
1299c1391,1398
<     38	THROW(IllegalArgumentException)
---
>     ?	STORE_LOCAL(value e)
>     ?	JUMP 8
>     
>   8: 
>     42	LOAD_MODULE object Predef
>     42	CONSTANT("IllegalArgumentException")
>     42	CALL_METHOD scala.Predef.println (dynamic)
>     42	JUMP 2
1348c1447
<   blocks: [1,2,3,4,5,8,11,13,14,16,17,19]
---
>   blocks: [1,2,3,5,8,11,13,14,16,17,19,20]
1372c1471,1472
<     203	THROW(MyException)
---
>     ?	STORE_LOCAL(value ex6)
>     ?	JUMP 20
1392c1492,1501
<     209	THROW(MyException)
---
>     ?	STORE_LOCAL(value ex6)
>     ?	JUMP 20
>     
>   20: 
>     200	LOAD_LOCAL(value ex6)
>     200	STORE_LOCAL(value x4)
>     200	SCOPE_ENTER value x4
>     212	LOAD_LOCAL(value x4)
>     212	IS_INSTANCE REF(class MyException)
>     212	CZJUMP (BOOL)NE ? 5 : 11
1405,1407d1513
<     200	JUMP 4
<     
<   4: 
1467c1573
<   blocks: [1,2,3,4,5,7]
---
>   blocks: [1,2,3,4,5,7,8]
1491c1597,1604
<     58	THROW(IllegalArgumentException)
---
>     ?	STORE_LOCAL(value e)
>     ?	JUMP 8
>     
>   8: 
>     62	LOAD_MODULE object Predef
>     62	CONSTANT("RuntimeException")
>     62	CALL_METHOD scala.Predef.println (dynamic)
>     62	JUMP 2
1540c1653
<   blocks: [1,2,3,4]
---
>   blocks: [1,2,3,4,5]
1560c1673,1678
<     229	THROW(MyException)
---
>     ?	JUMP 5
>     
>   5: 
>     ?	LOAD_LOCAL(variable monitor1)
>     228	MONITOR_EXIT
>     228	THROW(Throwable)
1566c1684
<     ?	THROW(Throwable)
---
>     228	THROW(Throwable)
1594c1712
<   locals: value args, variable result, variable monitor2, variable monitorResult1
---
>   locals: value exception$1, value args, variable result, variable monitor2, variable monitorResult1
1596c1714
<   blocks: [1,2,3,4]
---
>   blocks: [1,2,3,4,5]
1619c1737,1745
<     245	THROW(MyException)
---
>     ?	STORE_LOCAL(value exception$1)
>     ?	DROP ConcatClass
>     ?	LOAD_LOCAL(value exception$1)
>     ?	JUMP 5
>     
>   5: 
>     ?	LOAD_LOCAL(variable monitor2)
>     244	MONITOR_EXIT
>     244	THROW(Throwable)
1625c1751
<     ?	THROW(Throwable)
---
>     244	THROW(Throwable)