1 ; RUN: llc -mtriple=i386-apple-darwin11 -O2 < %s | FileCheck %s 2 3 %struct.I = type { i32 (...)** } 4 define x86_stdcallcc void @bar(%struct.I* nocapture %this) ssp align 2 { 5 ; CHECK-LABEL: bar: 6 ; CHECK-NOT: jmp 7 ; CHECK: retl $4 8 entry: 9 tail call void @foo() 10 ret void 11 } 12 13 define x86_thiscallcc void @test2(%struct.I* %this, i32 %a) { 14 ; CHECK-LABEL: test2: 15 ; CHECK: calll _foo 16 ; CHECK: retl $4 17 tail call void @foo() 18 ret void 19 } 20 21 declare void @foo() 22