Home | History | Annotate | Download | only in new-instance-and-init
      1 # Copyright (c) 2016, 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 final LTestObject;
      6 .super Ljava/lang/Object;
      7 
      8 .method public static allocate(I)V
      9     .registers 4
     10     new-instance v2, LTest;
     11     if-nez v3, :cond_9
     12     const/4 v1, 0x0
     13     invoke-direct {v2, v1}, LTest;-><init>(I)V
     14     :goto_8
     15     return-void
     16     :cond_9
     17     const/16 v0, 0xa
     18     if-ge v3, v0, :cond_14
     19     const/4 v1, 0x0
     20     invoke-direct {v2, v1}, LTest;-><init>(I)V
     21     goto :goto_8
     22     :cond_14
     23     const/4 v1, 0x0
     24     invoke-direct {v2, v1}, LTest;-><init>(I)V
     25     goto :goto_8
     26 .end method