summaryrefslogtreecommitdiffstats
path: root/lib/Target/X86
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2009-06-03 13:28:00 +0000
committered <ed@FreeBSD.org>2009-06-03 13:28:00 +0000
commit036fdcfb2d357cecb320b5a6fd05f4859a63aeba (patch)
tree90502b3518861e1704738c228456f7079013368b /lib/Target/X86
parent3277b69d734b9c90b44ebde4ede005717e2c3b2e (diff)
downloadFreeBSD-src-036fdcfb2d357cecb320b5a6fd05f4859a63aeba.zip
FreeBSD-src-036fdcfb2d357cecb320b5a6fd05f4859a63aeba.tar.gz
Import LLVM, at r72770.
This should fix LLVM PR4225.
Diffstat (limited to 'lib/Target/X86')
-rw-r--r--lib/Target/X86/X86FastISel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/X86/X86FastISel.cpp b/lib/Target/X86/X86FastISel.cpp
index b3667be..33332e4 100644
--- a/lib/Target/X86/X86FastISel.cpp
+++ b/lib/Target/X86/X86FastISel.cpp
@@ -321,7 +321,7 @@ bool X86FastISel::X86FastEmitExtend(ISD::NodeType Opc, MVT DstVT,
/// X86SelectAddress - Attempt to fill in an address from the given value.
///
bool X86FastISel::X86SelectAddress(Value *V, X86AddressMode &AM, bool isCall) {
- User *U;
+ User *U = NULL;
unsigned Opcode = Instruction::UserOp1;
if (Instruction *I = dyn_cast<Instruction>(V)) {
Opcode = I->getOpcode();
OpenPOWER on IntegriCloud