forked from OSchip/llvm-project
SymbolRewriter: Convert test to opaque pointers
This commit is contained in:
parent
6362dd004a
commit
a58548f596
|
@ -20,11 +20,11 @@ define i32 @caller() {
|
||||||
}
|
}
|
||||||
|
|
||||||
%struct.S = type { i8 }
|
%struct.S = type { i8 }
|
||||||
@_ZN1SC1Ev = alias void (%struct.S*), void (%struct.S*)* @_ZN1SC2Ev
|
@_ZN1SC1Ev = alias void (ptr), ptr @_ZN1SC2Ev
|
||||||
define void @_ZN1SC2Ev(%struct.S* %this) unnamed_addr align 2 {
|
define void @_ZN1SC2Ev(ptr %this) unnamed_addr align 2 {
|
||||||
entry:
|
entry:
|
||||||
%this.addr = alloca %struct.S*, align 4
|
%this.addr = alloca ptr, align 4
|
||||||
store %struct.S* %this, %struct.S** %this.addr, align 4
|
store ptr %this, ptr %this.addr, align 4
|
||||||
ret void
|
ret void
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue