aboutsummaryrefslogtreecommitdiffstats
path: root/examples/HowToUseJIT
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-03-06 17:24:31 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-03-06 17:24:31 +0000
commit34bd70de3c344034b82dc9a964a6b6893efa3e82 (patch)
tree00112f6375966e97a242a73080101ae56f7d6286 /examples/HowToUseJIT
parenta5057d02c05efc0ead8787c76a012382ef675b03 (diff)
downloadexternal_llvm-34bd70de3c344034b82dc9a964a6b6893efa3e82.zip
external_llvm-34bd70de3c344034b82dc9a964a6b6893efa3e82.tar.gz
external_llvm-34bd70de3c344034b82dc9a964a6b6893efa3e82.tar.bz2
Adjust for changes in GenericValue type.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34969 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'examples/HowToUseJIT')
-rw-r--r--examples/HowToUseJIT/HowToUseJIT.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/HowToUseJIT/HowToUseJIT.cpp b/examples/HowToUseJIT/HowToUseJIT.cpp
index 8948b3a..621621d 100644
--- a/examples/HowToUseJIT/HowToUseJIT.cpp
+++ b/examples/HowToUseJIT/HowToUseJIT.cpp
@@ -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;
}