Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Z
Zipr Toolchain
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Open Source Software
Zipr Toolchain
Commits
8b49a29f
Commit
8b49a29f
authored
8 years ago
by
jdh8d
Browse files
Options
Downloads
Patches
Plain Diff
minor tweaks to update pred map as analysis goes.
Former-commit-id: 45fc316af1f851dae3c8cc345aa988e272e1e868
parent
dbbbddf8
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
libIRDB/include/util/insn_preds.hpp
+4
-0
4 additions, 0 deletions
libIRDB/include/util/insn_preds.hpp
with
4 additions
and
0 deletions
libIRDB/include/util/insn_preds.hpp
+
4
−
0
View file @
8b49a29f
...
...
@@ -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
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment