diff options
author | Dale Johannesen <dalej@apple.com> | 2008-10-09 18:53:47 +0000 |
---|---|---|
committer | Dale Johannesen <dalej@apple.com> | 2008-10-09 18:53:47 +0000 |
commit | 49cc7cec5d3bb722e7bad032233e6d763fba494f (patch) | |
tree | c6a444a3819e1ae62e870dd0040a8cd4f699d778 /lib/VMCore/AsmWriter.cpp | |
parent | 2b8703f1027bac610e8b073429a5298b3a08db5d (diff) | |
download | external_llvm-49cc7cec5d3bb722e7bad032233e6d763fba494f.zip external_llvm-49cc7cec5d3bb722e7bad032233e6d763fba494f.tar.gz external_llvm-49cc7cec5d3bb722e7bad032233e6d763fba494f.tar.bz2 |
Rename APFloat::convertToAPInt to bitcastToAPInt to
make it clearer what the function does. No functional
change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57325 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore/AsmWriter.cpp')
-rw-r--r-- | lib/VMCore/AsmWriter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VMCore/AsmWriter.cpp b/lib/VMCore/AsmWriter.cpp index c3186f6..4f4f468 100644 --- a/lib/VMCore/AsmWriter.cpp +++ b/lib/VMCore/AsmWriter.cpp @@ -738,7 +738,7 @@ static void WriteConstantInt(raw_ostream &Out, const Constant *CV, else assert(0 && "Unsupported floating point type"); // api needed to prevent premature destruction - APInt api = CFP->getValueAPF().convertToAPInt(); + APInt api = CFP->getValueAPF().bitcastToAPInt(); const uint64_t* p = api.getRawData(); uint64_t word = *p; int shiftcount=60; |