Skip to content

Commit

Permalink
Adding missed initialization in getValue method
Browse files Browse the repository at this point in the history
  • Loading branch information
svkeerthy authored May 27, 2024
1 parent 3c10194 commit 9786f70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/FlowAware.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ void IR2Vec_FA::collectWriteDefsMap(Module &M) {
}

Vector IR2Vec_FA::getValue(std::string key) {
Vector vec;
Vector vec(DIM, 0);
if (opcMap.find(key) == opcMap.end()) {
IR2VEC_DEBUG(errs() << "cannot find key in map : " << key << "\n");
dataMissCounter++;
Expand Down

0 comments on commit 9786f70

Please sign in to comment.