diff options
author | Chris Lattner <sabre@nondot.org> | 2011-06-17 18:17:37 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2011-06-17 18:17:37 +0000 |
commit | c4407080ddb439c0d67c3f31966c864f1ff85f64 (patch) | |
tree | e8bdc98f9c8f7147b078155811bb24c344c0956f /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
parent | f1c871098d69726f667f9190039f1e9f5f529b4e (diff) | |
download | bcm5719-llvm-c4407080ddb439c0d67c3f31966c864f1ff85f64.tar.gz bcm5719-llvm-c4407080ddb439c0d67c3f31966c864f1ff85f64.zip |
Drop the "2" suffix on some enums.
llvm-svn: 133274
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
-rw-r--r-- | llvm/lib/Bitcode/Reader/BitcodeReader.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Bitcode/Reader/BitcodeReader.cpp b/llvm/lib/Bitcode/Reader/BitcodeReader.cpp index d72732f96f8..88c157532a5 100644 --- a/llvm/lib/Bitcode/Reader/BitcodeReader.cpp +++ b/llvm/lib/Bitcode/Reader/BitcodeReader.cpp @@ -1848,7 +1848,7 @@ bool BitcodeReader::ParseFunctionBody(Function *F) { I = 0; continue; - case bitc::FUNC_CODE_DEBUG_LOC2: { // DEBUG_LOC: [line, col, scope, ia] + case bitc::FUNC_CODE_DEBUG_LOC: { // DEBUG_LOC: [line, col, scope, ia] I = 0; // Get the last instruction emitted. if (CurBB && !CurBB->empty()) I = &CurBB->back(); @@ -2274,7 +2274,7 @@ bool BitcodeReader::ParseFunctionBody(Function *F) { InstructionList.push_back(I); break; } - case bitc::FUNC_CODE_INST_STORE2: { // STORE2:[ptrty, ptr, val, align, vol] + case bitc::FUNC_CODE_INST_STORE: { // STORE2:[ptrty, ptr, val, align, vol] unsigned OpNum = 0; Value *Val, *Ptr; if (getValueTypePair(Record, OpNum, NextValueNo, Ptr) || @@ -2287,7 +2287,7 @@ bool BitcodeReader::ParseFunctionBody(Function *F) { InstructionList.push_back(I); break; } - case bitc::FUNC_CODE_INST_CALL2: { + case bitc::FUNC_CODE_INST_CALL: { // CALL: [paramattrs, cc, fnty, fnid, arg0, arg1...] if (Record.size() < 3) return Error("Invalid CALL record"); |