Fix llvm runtime support bug.
Change-Id: I7c023e861cb8738ade67ef66155a318c8bd5735a
diff --git a/src/compiler_llvm/upcall_compiler.cc b/src/compiler_llvm/upcall_compiler.cc
index 4b99cf7..11d50ff 100644
--- a/src/compiler_llvm/upcall_compiler.cc
+++ b/src/compiler_llvm/upcall_compiler.cc
@@ -26,7 +26,6 @@
#include "runtime_support_func.h"
#include "utils_llvm.h"
-#include <llvm/Analysis/Verifier.h>
#include <llvm/BasicBlock.h>
#include <llvm/Function.h>
#include <llvm/GlobalVariable.h>
@@ -181,7 +180,7 @@
irb_.CreateRetVoid();
// Verify the generated function
- llvm::verifyFunction(*func, llvm::PrintMessageAction);
+ VERIFY_LLVM_FUNCTION(*func);
// Add the memory usage approximation of the compilation unit
cunit_->AddMemUsageApproximation((shorty_size * 3 + 8) * 50);