mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-30 05:29:47 +00:00
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47793 91177308-0d34-0410-b5e6-96231b3b80d8
15 lines
516 B
LLVM
15 lines
516 B
LLVM
; RUN: llvm-as %s -o - | opt -instcombine
|
|
|
|
|
|
%"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
|
|
|
|
define void @"java/lang/StringBuffer/append(Ljava/lang/String;)Ljava/lang/StringBuffer;"() {
|
|
bc0:
|
|
%tmp53 = getelementptr %"java/lang/StringBuffer"* null, i32 0, i32 1 ; <i32*> [#uses=1]
|
|
store i32 0, i32* %tmp53
|
|
ret void
|
|
}
|
|
|