diff options
| author | Raphael Isemann <teemperor@gmail.com> | 2019-08-09 10:01:51 +0000 |
|---|---|---|
| committer | Raphael Isemann <teemperor@gmail.com> | 2019-08-09 10:01:51 +0000 |
| commit | ac42e741e01b0c2d91c3ae1d92a5b9685a05baf7 (patch) | |
| tree | a7d9cc05e4c2dd31b4f7f926f753ce776c4cb9d7 /lldb/source/Plugins/ExpressionParser | |
| parent | 339b5d1ac2ed525f51681517f84a925fdc9bf92e (diff) | |
| download | bcm5719-llvm-ac42e741e01b0c2d91c3ae1d92a5b9685a05baf7.tar.gz bcm5719-llvm-ac42e741e01b0c2d91c3ae1d92a5b9685a05baf7.zip | |
[lldb][NFC] Unify InstrList typedef in IRForTarget
llvm-svn: 368425
Diffstat (limited to 'lldb/source/Plugins/ExpressionParser')
| -rw-r--r-- | lldb/source/Plugins/ExpressionParser/Clang/IRForTarget.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/lldb/source/Plugins/ExpressionParser/Clang/IRForTarget.cpp b/lldb/source/Plugins/ExpressionParser/Clang/IRForTarget.cpp index 1edeac44a5b..33b3dead0a4 100644 --- a/lldb/source/Plugins/ExpressionParser/Clang/IRForTarget.cpp +++ b/lldb/source/Plugins/ExpressionParser/Clang/IRForTarget.cpp @@ -43,6 +43,8 @@ using namespace llvm; static char ID; +typedef SmallVector<Instruction *, 2> InstrList; + IRForTarget::FunctionValueCache::FunctionValueCache(Maker const &maker) : m_maker(maker), m_values() {} @@ -885,7 +887,6 @@ bool IRForTarget::RewriteObjCSelector(Instruction *selector_load) { bool IRForTarget::RewriteObjCSelectors(BasicBlock &basic_block) { lldb_private::Log *log( lldb_private::GetLogIfAllCategoriesSet(LIBLLDB_LOG_EXPRESSIONS)); - typedef SmallVector<Instruction *, 2> InstrList; InstrList selector_loads; @@ -1038,8 +1039,6 @@ bool IRForTarget::RewriteObjCClassReferences(BasicBlock &basic_block) { lldb_private::Log *log( lldb_private::GetLogIfAllCategoriesSet(LIBLLDB_LOG_EXPRESSIONS)); - typedef SmallVector<Instruction *, 2> InstrList; - InstrList class_loads; for (Instruction &inst : basic_block) { @@ -1139,8 +1138,6 @@ bool IRForTarget::RewritePersistentAllocs(llvm::BasicBlock &basic_block) { lldb_private::Log *log( lldb_private::GetLogIfAllCategoriesSet(LIBLLDB_LOG_EXPRESSIONS)); - typedef SmallVector<Instruction *, 2> InstrList; - InstrList pvar_allocs; for (Instruction &inst : basic_block) { @@ -1567,7 +1564,6 @@ static void ExciseGuardStore(Instruction *guard_store) { bool IRForTarget::RemoveGuards(BasicBlock &basic_block) { // Eliminate any reference to guard variables found. - typedef SmallVector<Instruction *, 2> InstrList; InstrList guard_loads; InstrList guard_stores; |

