summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DIEHash.cpp
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
commit920bb2a758bf9562de9a422f703c6d9aa7db8eac (patch)
tree8cfd1f30b2d0be750b705a75b218b0e130d726a7 /llvm/lib/CodeGen/AsmPrinter/DIEHash.cpp
parent600130c036d0f08c1233d660d24dc7d2f7d75dbc (diff)
downloadbcm5719-llvm-920bb2a758bf9562de9a422f703c6d9aa7db8eac.tar.gz
bcm5719-llvm-920bb2a758bf9562de9a422f703c6d9aa7db8eac.zip
Remove ambiguity introduced in r192836
llvm-svn: 192840
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DIEHash.cpp')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DIEHash.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DIEHash.cpp b/llvm/lib/CodeGen/AsmPrinter/DIEHash.cpp
index abc504c0581..bf02daac517 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DIEHash.cpp
+++ b/llvm/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
OpenPOWER on IntegriCloud