mirror of
https://github.com/zeek/zeek.git
synced 2025-10-11 19:18:19 +00:00
a number of low-level tweaks from code review
This commit is contained in:
parent
c10737d168
commit
b6daf14868
12 changed files with 79 additions and 80 deletions
|
@ -27,9 +27,7 @@ void GenIDDefs::TraverseFunction(const Func* f, ScopePtr scope, StmtPtr body)
|
|||
// Establish the outermost barrior and associated set of
|
||||
// identifiers.
|
||||
barrier_blocks.push_back(0);
|
||||
|
||||
std::unordered_set<const ID*> empty_IDs;
|
||||
modified_IDs.push_back(empty_IDs);
|
||||
modified_IDs.push_back({});
|
||||
|
||||
for ( const auto& g : pf->Globals() )
|
||||
{
|
||||
|
@ -442,9 +440,7 @@ void GenIDDefs::StartConfluenceBlock(const Stmt* s)
|
|||
barrier_blocks.push_back(confluence_blocks.size());
|
||||
|
||||
confluence_blocks.push_back(s);
|
||||
|
||||
std::unordered_set<const ID*> empty_IDs;
|
||||
modified_IDs.push_back(empty_IDs);
|
||||
modified_IDs.push_back({});
|
||||
}
|
||||
|
||||
void GenIDDefs::EndConfluenceBlock(bool no_orig)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue