From 11fae74ae57a45ad9fbe5386f5ee37bcd3e49059 Mon Sep 17 00:00:00 2001 From: "Duncan P. N. Exon Smith" Date: Fri, 9 Jan 2015 02:48:48 +0000 Subject: Bitcode: Move the DEBUG_LOC record to DEBUG_LOC_OLD Prepare to simplify the `DebugLoc` record. llvm-svn: 225498 --- llvm/lib/Bitcode/Reader/BitcodeReader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp') diff --git a/llvm/lib/Bitcode/Reader/BitcodeReader.cpp b/llvm/lib/Bitcode/Reader/BitcodeReader.cpp index 1792f8b8dd4..9c6a3d33a9b 100644 --- a/llvm/lib/Bitcode/Reader/BitcodeReader.cpp +++ b/llvm/lib/Bitcode/Reader/BitcodeReader.cpp @@ -2560,7 +2560,7 @@ std::error_code BitcodeReader::ParseFunctionBody(Function *F) { I = nullptr; continue; - case bitc::FUNC_CODE_DEBUG_LOC: { // DEBUG_LOC: [line, col, scope, ia] + case bitc::FUNC_CODE_DEBUG_LOC_OLD: { // DEBUG_LOC_OLD: [line,col,scope,ia] I = nullptr; // Get the last instruction emitted. if (CurBB && !CurBB->empty()) I = &CurBB->back(); -- cgit v1.2.3