diff options
Diffstat (limited to 'test/CodeGen/X86/GC/inline2.ll')
-rw-r--r-- | test/CodeGen/X86/GC/inline2.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/X86/GC/inline2.ll b/test/CodeGen/X86/GC/inline2.ll index 1594705..034c985 100644 --- a/test/CodeGen/X86/GC/inline2.ll +++ b/test/CodeGen/X86/GC/inline2.ll @@ -16,8 +16,8 @@ define internal i32 @g() gc "example" { %obj = call %IntArray* @h( ) ; <%IntArray*> [#uses=2] %obj.2 = bitcast %IntArray* %obj to i8* ; <i8*> [#uses=1] store i8* %obj.2, i8** %root - %Length.ptr = getelementptr %IntArray* %obj, i32 0, i32 0 ; <i32*> [#uses=1] - %Length = load i32* %Length.ptr ; <i32> [#uses=1] + %Length.ptr = getelementptr %IntArray, %IntArray* %obj, i32 0, i32 0 ; <i32*> [#uses=1] + %Length = load i32, i32* %Length.ptr ; <i32> [#uses=1] ret i32 %Length } |