summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2013-10-16 20:40:46 +0000
committerDavid Blaikie <dblaikie@gmail.com>2013-10-16 20:40:46 +0000
commit700b91f07ca506f19c6d736bc020b36c678eb527 (patch)
tree7c417fcc3b0cdfaf1c51b053a82fa94018b4e55b
parent985ce242a74adf6519609782acbdce2d5464fc22 (diff)
downloadllvm-700b91f07ca506f19c6d736bc020b36c678eb527.tar.gz
llvm-700b91f07ca506f19c6d736bc020b36c678eb527.tar.bz2
llvm-700b91f07ca506f19c6d736bc020b36c678eb527.tar.xz
Remove ambiguity introduced in r192836
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192840 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/CodeGen/AsmPrinter/DIEHash.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/AsmPrinter/DIEHash.cpp b/lib/CodeGen/AsmPrinter/DIEHash.cpp
index abc504c058..bf02daac51 100644
--- a/lib/CodeGen/AsmPrinter/DIEHash.cpp
+++ b/lib/CodeGen/AsmPrinter/DIEHash.cpp
@@ -385,7 +385,7 @@ void DIEHash::computeHash(DIE *Die) {
computeHash(*I);
// Following the last (or if there are no children), append a zero byte.
- Hash.update((uint8_t)0);
+ Hash.update(makeArrayRef((uint8_t)'\0'));
}
/// This is based on the type signature computation given in section 7.27 of the