diff options
| author | Jeffrey Yasskin <jyasskin@google.com> | 2011-07-18 21:45:40 +0000 |
|---|---|---|
| committer | Jeffrey Yasskin <jyasskin@google.com> | 2011-07-18 21:45:40 +0000 |
| commit | 7a16288157efc5fb85fbe3b8b4c37071da7609a6 (patch) | |
| tree | e52598e11fab758b3e30cabecb84072d3f5c64bb /llvm/lib/ExecutionEngine/ExecutionEngine.cpp | |
| parent | 5de6a790f25f1ffd30d77008cf1d3ffa2db22e4d (diff) | |
| download | llvm-7a16288157efc5fb85fbe3b8b4c37071da7609a6.zip llvm-7a16288157efc5fb85fbe3b8b4c37071da7609a6.tar.gz llvm-7a16288157efc5fb85fbe3b8b4c37071da7609a6.tar.bz2 | |
Add APInt(numBits, ArrayRef<uint64_t> bigVal) constructor to prevent future ambiguity
errors like the one corrected by r135261. Migrate all LLVM callers of the old
constructor to the new one.
llvm-svn: 135431
Diffstat (limited to 'llvm/lib/ExecutionEngine/ExecutionEngine.cpp')
| -rw-r--r-- | llvm/lib/ExecutionEngine/ExecutionEngine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/ExecutionEngine/ExecutionEngine.cpp b/llvm/lib/ExecutionEngine/ExecutionEngine.cpp index 1b1b498..dee8ea8 100644 --- a/llvm/lib/ExecutionEngine/ExecutionEngine.cpp +++ b/llvm/lib/ExecutionEngine/ExecutionEngine.cpp @@ -932,7 +932,7 @@ void ExecutionEngine::LoadValueFromMemory(GenericValue &Result, // FIXME: Will not trap if loading a signaling NaN. uint64_t y[2]; memcpy(y, Ptr, 10); - Result.IntVal = APInt(80, 2, y); + Result.IntVal = APInt(80, y); break; } default: |
