2008-03-01 09:15:35 +00:00
|
|
|
; RUN: llvm-as %s -o - | opt -instcombine
|
2004-12-08 07:25:10 +00:00
|
|
|
|
|
|
|
|
2008-03-01 09:15:35 +00:00
|
|
|
%"java/lang/Object" = type { %struct.llvm_java_object_base }
|
|
|
|
%"java/lang/StringBuffer" = type { %"java/lang/Object", i32, { %"java/lang/Object", i32, [0 x i16] }*, i1 }
|
|
|
|
%struct.llvm_java_object_base = type opaque
|
2004-12-08 07:25:10 +00:00
|
|
|
|
2008-03-01 09:15:35 +00:00
|
|
|
define void @"java/lang/StringBuffer/append(Ljava/lang/String;)Ljava/lang/StringBuffer;"() {
|
2004-12-08 07:25:10 +00:00
|
|
|
bc0:
|
2008-03-01 09:15:35 +00:00
|
|
|
%tmp53 = getelementptr %"java/lang/StringBuffer"* null, i32 0, i32 1 ; <i32*> [#uses=1]
|
|
|
|
store i32 0, i32* %tmp53
|
|
|
|
ret void
|
2004-12-08 07:25:10 +00:00
|
|
|
}
|
2008-03-01 09:15:35 +00:00
|
|
|
|