forked from OSchip/llvm-project
GCRelocateOperands: Try to appease msc17.
llvm-svn: 223192
This commit is contained in:
parent
6b46e381e6
commit
0a64776cc0
|
@ -177,8 +177,9 @@ class GCRelocateOperands {
|
|||
ImmutableCallSite RelocateCS;
|
||||
|
||||
public:
|
||||
GCRelocateOperands(const User* U)
|
||||
: GCRelocateOperands(cast<Instruction>(U)) {}
|
||||
GCRelocateOperands(const User* U) : RelocateCS(U) {
|
||||
assert(isGCRelocate(U));
|
||||
}
|
||||
GCRelocateOperands(const Instruction *inst) : RelocateCS(inst) {
|
||||
assert(isGCRelocate(inst));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue