Home | History | Annotate | Download | only in infinite-loop
      1 # Copyright (c) 2017, the R8 project authors. Please see the AUTHORS file
      2 # for details. All rights reserved. Use of this source code is governed by a
      3 # BSD-style license that can be found in the LICENSE file.
      4 
      5 .class public LTest;
      6 
      7 .super Ljava/lang/Object;
      8 
      9 .method public static loop1()V
     10   .locals 0
     11   goto :a
     12 
     13   :a
     14   goto :b
     15 
     16   :b
     17   goto :c
     18 
     19   :c
     20   goto :d
     21 
     22   :d
     23   goto :b
     24 
     25   return-void
     26 .end method
     27 
     28 .method public static loop2()V
     29   .locals 2
     30   sget-object v0, Ljava/lang/System;->out:Ljava/io/PrintStream;
     31   const/4 v1, 0x1
     32   invoke-virtual {v0, v1}, Ljava/io/PrintStream;->println(I)V
     33   goto :a
     34 
     35   :a
     36   goto :b
     37 
     38   :b
     39   goto :c
     40 
     41   :c
     42   goto :d
     43 
     44   :d
     45   goto :b
     46 
     47   return-void
     48 .end method
     49 
     50 .method public static main([Ljava/lang/String;)V
     51     .locals 0
     52     return-void
     53 .end method
     54