blob: e82e7d6b2ebeb4e5bd9c2c765fd4a3d598ef3c8b [file] [log] [blame]
Tsu Chiang Chuang9a223d72011-04-27 17:19:46 -07001; 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_8.java
16.class public dot.junit.opcodes.return_object.d.T_return_object_8
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 private declared_synchronized test()Ljava/lang/String;
28.limit regs 4
Jeff Hao5d7cb162013-08-02 16:59:44 -070029
30 new-instance v2, java/lang/Object
31 invoke-direct {v2}, java/lang/Object/<init>()V
32 monitor-enter v2
Tsu Chiang Chuang9a223d72011-04-27 17:19:46 -070033 monitor-exit v3
34 const-string v0, "abc"
35 return-object v0
36.end method
37
38.method public run()Z
39.limit regs 3
40
41 invoke-direct {v2}, dot/junit/opcodes/return_object/d/T_return_object_8/test()Ljava/lang/String;
42
43 const v0, 1
44 return v0
45.end method
46
47