GCRelocateOperands: Try to appease msc17.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@223192 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
NAKAMURA Takumi 2014-12-03 02:40:24 +00:00
parent bb660fc192
commit 61372ea958

View File

@ -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));
}