diff options
Diffstat (limited to 'lib/VMCore/Verifier.cpp')
-rw-r--r-- | lib/VMCore/Verifier.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/VMCore/Verifier.cpp b/lib/VMCore/Verifier.cpp index 98f421e..a96f39c 100644 --- a/lib/VMCore/Verifier.cpp +++ b/lib/VMCore/Verifier.cpp @@ -257,6 +257,7 @@ namespace { // Anonymous namespace for class void visitUserOp2(Instruction &I) { visitUserOp1(I); } void visitIntrinsicFunctionCall(Intrinsic::ID ID, CallInst &CI); void visitAllocationInst(AllocationInst &AI); + void visitGetResultInst(GetResultInst &GRI); void VerifyCallSite(CallSite CS); void VerifyIntrinsicPrototype(Intrinsic::ID ID, Function *F, @@ -1037,6 +1038,11 @@ void Verifier::visitAllocationInst(AllocationInst &AI) { visitInstruction(AI); } +void Verifier::visitGetResultInst(GetResultInst &GRI) { + // FIXME : Check operands. + visitInstruction(GRI); +} + /// verifyInstruction - Verify that an instruction is well formed. /// |