projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e5050d
)
silence vc++ warning.
author
Chris Lattner
<sabre@nondot.org>
Sat, 11 Jul 2009 22:32:37 +0000
(22:32 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Sat, 11 Jul 2009 22:32:37 +0000
(22:32 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75394
91177308
-0d34-0410-b5e6-
96231b3b80d8
tools/llvm-mc/AsmParser.cpp
patch
|
blob
|
history
diff --git
a/tools/llvm-mc/AsmParser.cpp
b/tools/llvm-mc/AsmParser.cpp
index 1d9e1b6cac9c9f6e4a160f3a51e24e8232d3ed7a..a2cdea4c4dc03af5eb7c582007a377dabbedd2a9 100644
(file)
--- a/
tools/llvm-mc/AsmParser.cpp
+++ b/
tools/llvm-mc/AsmParser.cpp
@@
-850,7
+850,7
@@
bool AsmParser::ParseDirectiveAlign(bool IsPow2, unsigned ValueSize) {
// Compute alignment in bytes.
if (IsPow2) {
// FIXME: Diagnose overflow.
- Alignment = 1 << Alignment;
+ Alignment = 1
LL
<< Alignment;
}
// Diagnose non-sensical max bytes to fill.