Adjust for changes in GenericValue type.
[oota-llvm.git] / examples / HowToUseJIT / HowToUseJIT.cpp
index 8948b3ab1ae28a660d2d6cd83787ac2764ee8d53..621621dc46dca5945ab2684f666b5127b26d3cca 100644 (file)
@@ -107,6 +107,6 @@ int main() {
   GenericValue gv = EE->runFunction(FooF, noargs);
 
   // Import result of execution:
-  std::cout << "Result: " << gv.Int32Val << "\n";
+  std::cout << "Result: " << gv.IntVal.toString(10) << "\n";
   return 0;
 }