summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bitcode/Reader
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-01-09 02:48:48 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-01-09 02:48:48 +0000
commit11fae74ae57a45ad9fbe5386f5ee37bcd3e49059 (patch)
treee2fb02540456a33c01d5ecfbd279275952caedd8 /llvm/lib/Bitcode/Reader
parent5ff00b43506d75cdd5189a9574dc4c8b9ee3bce5 (diff)
downloadbcm5719-llvm-11fae74ae57a45ad9fbe5386f5ee37bcd3e49059.tar.gz
bcm5719-llvm-11fae74ae57a45ad9fbe5386f5ee37bcd3e49059.zip
Bitcode: Move the DEBUG_LOC record to DEBUG_LOC_OLD
Prepare to simplify the `DebugLoc` record. llvm-svn: 225498
Diffstat (limited to 'llvm/lib/Bitcode/Reader')
-rw-r--r--llvm/lib/Bitcode/Reader/BitcodeReader.cpp2
1 files changed, 1 insertions, 1 deletions
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();
OpenPOWER on IntegriCloud