Skip to content
Snippets Groups Projects
Commit 8b49a29f authored by jdh8d's avatar jdh8d
Browse files

minor tweaks to update pred map as analysis goes.

Former-commit-id: 45fc316af1f851dae3c8cc345aa988e272e1e868
parent dbbbddf8
No related branches found
No related tags found
No related merge requests found
......@@ -31,6 +31,10 @@ class InstructionPredecessors_t
InstructionPredecessors_t(const FileIR_t* f=NULL) {Init(); if(f) AddFile(f);}
virtual void AddFile(const FileIR_t* );
InstructionSet_t& operator[] (const Instruction_t* i)
{
return pred_map[i];
}
const InstructionSet_t& operator[] (const Instruction_t* i) const
{
PredMap_t::const_iterator it=pred_map.find(i);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment