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;
|
ImmutableCallSite RelocateCS;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
GCRelocateOperands(const User* U)
|
GCRelocateOperands(const User* U) : RelocateCS(U) {
|
||||||
: GCRelocateOperands(cast<Instruction>(U)) {}
|
assert(isGCRelocate(U));
|
||||||
|
}
|
||||||
GCRelocateOperands(const Instruction *inst) : RelocateCS(inst) {
|
GCRelocateOperands(const Instruction *inst) : RelocateCS(inst) {
|
||||||
assert(isGCRelocate(inst));
|
assert(isGCRelocate(inst));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue