diff options
author | Chris Lattner <sabre@nondot.org> | 2007-08-23 05:15:32 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-08-23 05:15:32 +0000 |
commit | 9132a2b81842b0e2b77703fab3e6fe7467f859bb (patch) | |
tree | b31a8cddd0f652d3bc2e363a542dfc0b69067ea6 /examples/HowToUseJIT/HowToUseJIT.cpp | |
parent | c00c2baf481b9dffe9288f5dad0f5ec9687e1347 (diff) | |
download | external_llvm-9132a2b81842b0e2b77703fab3e6fe7467f859bb.zip external_llvm-9132a2b81842b0e2b77703fab3e6fe7467f859bb.tar.gz external_llvm-9132a2b81842b0e2b77703fab3e6fe7467f859bb.tar.bz2 |
rename APInt::toString -> toStringUnsigned for symmetry with toStringSigned()
Add an APSInt::toString() method.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41309 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'examples/HowToUseJIT/HowToUseJIT.cpp')
-rw-r--r-- | examples/HowToUseJIT/HowToUseJIT.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/HowToUseJIT/HowToUseJIT.cpp b/examples/HowToUseJIT/HowToUseJIT.cpp index 621621d..a4f6f37 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.IntVal.toString(10) << "\n"; + std::cout << "Result: " << gv.IntVal.toStringUnsigned(10) << "\n"; return 0; } |