[llvm-commits] [llvm] r120350 - /llvm/trunk/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
Jim Grosbach
grosbach at apple.com
Mon Nov 29 15:41:11 PST 2010
Author: grosbach
Date: Mon Nov 29 17:41:10 2010
New Revision: 120350
URL: http://llvm.org/viewvc/llvm-project?rev=120350&view=rev
Log:
Add a few missing initializers.
Modified:
llvm/trunk/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
Modified: llvm/trunk/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/AsmParser/ARMAsmParser.cpp?rev=120350&r1=120349&r2=120350&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/AsmParser/ARMAsmParser.cpp (original)
+++ llvm/trunk/lib/Target/ARM/AsmParser/ARMAsmParser.cpp Mon Nov 29 17:41:10 2010
@@ -634,8 +634,8 @@
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();
More information about the llvm-commits
mailing list