diff --git a/lib/CodeGen/MachineFunction.cpp b/lib/CodeGen/MachineFunction.cpp index 3dcbabc2a68..d9ea15a6f5a 100644 --- a/lib/CodeGen/MachineFunction.cpp +++ b/lib/CodeGen/MachineFunction.cpp @@ -102,6 +102,7 @@ MachineFunction::MachineFunction(const Function *F, currentTmpValuesSize(0), maxTmpValuesSize(0), compiledAsLeaf(false), spillsAreaFrozen(false), automaticVarsAreaFrozen(false) { + SSARegMapping = new SSARegMap(); } void MachineFunction::dump() const { print(std::cerr); }