blob: d5d16d872f91225d24d825913f41ba552e1dc3dc [file] [log] [blame]
Dan Gohmanf17a25c2007-07-18 16:29:46 +00001; RUN: llvm-upgrade < %s | llvm-as | opt -dse
2
3"java/lang/Object" = type { %struct.llvm_java_object_base }
4 "java/lang/StringBuffer" = type { "java/lang/Object", int, { "java/lang/Object", uint, [0 x ushort] }*, bool }
5 %struct.llvm_java_object_base = type opaque
6
7implementation ; Functions:
8
9void "java/lang/StringBuffer/ensureCapacity_unsynchronized(I)V"() {
10bc0:
11 %tmp = getelementptr "java/lang/StringBuffer"* null, int 0, uint 3 ; <bool*> [#uses=1]
12 br bool false, label %bc16, label %bc7
13
14bc16: ; preds = %bc0
15 %tmp91 = getelementptr "java/lang/StringBuffer"* null, int 0, uint 2 ; <{ "java/lang/Object", uint, [0 x ushort] }**> [#uses=1]
16 store { "java/lang/Object", uint, [0 x ushort] }* null, { "java/lang/Object", uint, [0 x ushort] }** %tmp91
17 store bool false, bool* %tmp
18 ret void
19
20bc7: ; preds = %bc0
21 ret void
22}