Skip to content

Commit

Permalink
Merge pull request JuliaLang#16674 from JuliaLang/yyc/tests/llvm
Browse files Browse the repository at this point in the history
Fix compilation on LLVM39
  • Loading branch information
yuyichao committed May 31, 2016
2 parents 0919d71 + caa8c8d commit d07b849
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/ccall.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -555,10 +555,12 @@ class FunctionMover : public ValueMaterializer
return NewF;
}

#ifdef LLVM38
virtual Value *materializeDeclFor(Value *V)
#if defined(LLVM39)
virtual Value *materialize(Value *V) override
#elif defined(LLVM38)
virtual Value *materializeDeclFor(Value *V) override
#else
virtual Value *materializeValueFor (Value *V)
virtual Value *materializeValueFor (Value *V) override
#endif
{
Function *F = dyn_cast<Function>(V);
Expand Down

0 comments on commit d07b849

Please sign in to comment.