Home | History | Annotate | Download | only in d
      1 ; Copyright (C) 2008 The Android Open Source Project
      2 ;
      3 ; Licensed under the Apache License, Version 2.0 (the "License");
      4 ; you may not use this file except in compliance with the License.
      5 ; You may obtain a copy of the License at
      6 ;
      7 ;      http://www.apache.org/licenses/LICENSE-2.0
      8 ;
      9 ; Unless required by applicable law or agreed to in writing, software
     10 ; distributed under the License is distributed on an "AS IS" BASIS,
     11 ; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     12 ; See the License for the specific language governing permissions and
     13 ; limitations under the License.
     14 
     15 .source T_new_instance_12.java
     16 .class public dot.junit.opcodes.new_instance.d.T_new_instance_12
     17 .super java/lang/Object
     18 
     19 
     20 .method public <init>()V
     21 .limit regs 1
     22 
     23        invoke-direct {v0}, java/lang/Object/<init>()V
     24        return-void
     25 .end method
     26 
     27 .method public run()V
     28 .limit regs 6
     29 
     30     const v0, 0
     31 Label1:
     32     new-instance v1,        java/lang/Integer
     33     if-nez v0, INIT
     34     move-object v2, v1
     35     const v0, 1
     36     goto Label1
     37 INIT:
     38 
     39     invoke-direct {v1, v0}, java/lang/Integer/<init>(I)V
     40     invoke-virtual {v2}, java/lang/Integer/toString()Ljava/lang/String;
     41 
     42     return-void
     43 .end method
     44 
     45 
     46