blob: 5c24e22eebe08834fa10dde4feb0ca0eb727bf32 [file] [log] [blame]
; Copyright (C) 2008 The Android Open Source Project
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agreed to in writing, software
; distributed under the License is distributed on an "AS IS" BASIS,
; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
; See the License for the specific language governing permissions and
; limitations under the License.
.source T_dup_x2_1.java
.class public dxc/junit/opcodes/dup_x2/jm/T_dup_x2_1
.super java/lang/Object
.method public <init>()V
aload_0
invokespecial java/lang/Object/<init>()V
return
.end method
.method public run()Z
.limit stack 5
.limit locals 2
iconst_3
iconst_4
iconst_5 ; 3 4 5
dup_x2 ; 5 3 4 5
iconst_5 ; 5 3 4 5 5
if_icmpne Label3 ; 5 3 4
iconst_4 ; 5 3 4 4
if_icmpne Label2 ; 5 3
iconst_3 ; 5 3 3
if_icmpne Label1 ; 5
iconst_5 ; 5 5
if_icmpne Label0 ;
iconst_1
ireturn
Label3:
pop
Label2:
pop
Label1:
pop
Label0:
iconst_0
ireturn
.end method