diff --git a/lib/AsmParser/llvmAsmParser.y b/lib/AsmParser/llvmAsmParser.y index 967670f65f7..239ae836254 100644 --- a/lib/AsmParser/llvmAsmParser.y +++ b/lib/AsmParser/llvmAsmParser.y @@ -156,7 +156,7 @@ static struct PerFunctionInfo { // Any forward referenced blocks left? if (!BBForwardRefs.empty()) ThrowException("Undefined reference to label " + - BBForwardRefs.begin()->second.first.getName()); + BBForwardRefs.begin()->first->getName()); // Resolve all forward references now. ResolveDefinitions(LateResolveValues, &CurModule.LateResolveValues);