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_return_object_12.java 16 .class public dot.junit.opcodes.return_object.d.T_return_object_12 17 .super java/lang/Object 18 19 20 .method public <init>()V 21 .limit regs 1 22 invoke-direct {v0}, java/lang/Object/<init>()V 23 return-void 24 .end method 25 26 .method private test()Ldot/junit/opcodes/return_object/d/TSuper; 27 .limit regs 5 28 29 new-instance v1, dot/junit/opcodes/return_object/d/TChild 30 invoke-direct {v1}, dot/junit/opcodes/return_object/d/TChild/<init>()V 31 return-object v1 32 .end method 33 34 .method public run()Z 35 .limit regs 4 36 37 invoke-direct {v3}, dot/junit/opcodes/return_object/d/T_return_object_12/test()Ldot/junit/opcodes/return_object/d/TSuper; 38 move-result-object v2 39 instance-of v0, v2, dot/junit/opcodes/return_object/d/TChild 40 return v0 41 .end method 42 43 44