diff options
| author | Jim Grosbach <grosbach@apple.com> | 2010-11-29 23:41:10 +0000 |
|---|---|---|
| committer | Jim Grosbach <grosbach@apple.com> | 2010-11-29 23:41:10 +0000 |
| commit | 00a257af5b62df1921e3df3ee2fa4adc2ccbd297 (patch) | |
| tree | d2861bc1d3415d74e1ab13ed5ea0676e56c6d371 /lib/Target | |
| parent | 1f9864063fedf23805722ff39f763d13f2914702 (diff) | |
Add a few missing initializers.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120350 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target')
| -rw-r--r-- | lib/Target/ARM/AsmParser/ARMAsmParser.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/ARM/AsmParser/ARMAsmParser.cpp b/lib/Target/ARM/AsmParser/ARMAsmParser.cpp index 2e7342d588..f9a792e8dd 100644 --- a/lib/Target/ARM/AsmParser/ARMAsmParser.cpp +++ b/lib/Target/ARM/AsmParser/ARMAsmParser.cpp @@ -634,8 +634,8 @@ ParseMemory(SmallVectorImpl<MCParsedAsmOperand*> &Operands) { int OffsetRegNum = 0; bool OffsetRegShifted = false; - enum ShiftType ShiftType; - const MCExpr *ShiftAmount; + enum ShiftType ShiftType = Lsl; + const MCExpr *ShiftAmount = 0; const MCExpr *Offset = 0; const AsmToken &NextTok = Parser.getTok(); |
