Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
frama-c
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor 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
pub
frama-c
Commits
1f8305c0
Commit
1f8305c0
authored
6 years ago
by
Allan Blanchard
Committed by
Julien Signoles
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
[Constant propagation] Replaces deprecated function call related to Visitor_behavior
parent
3b35e5b7
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
src/plugins/constant_propagation/api.ml
+1
-1
1 addition, 1 deletion
src/plugins/constant_propagation/api.ml
with
1 addition
and
1 deletion
src/plugins/constant_propagation/api.ml
+
1
−
1
View file @
1f8305c0
...
@@ -74,7 +74,7 @@ class propagate project fnames ~cast_intro = object(self)
...
@@ -74,7 +74,7 @@ class propagate project fnames ~cast_intro = object(self)
known_globals
<-
Varinfo
.
Set
.
add
vi
known_globals
;
known_globals
<-
Varinfo
.
Set
.
add
vi
known_globals
;
if
Cil
.
isFunctionType
vi
.
vtype
then
begin
if
Cil
.
isFunctionType
vi
.
vtype
then
begin
let
kf
=
Globals
.
Functions
.
get
vi
in
let
kf
=
Globals
.
Functions
.
get
vi
in
let
new_kf
=
Cil
.
memo_kernel_function
self
#
behavior
kf
in
let
new_kf
=
Visitor_behavior
.
memo_kernel_function
self
#
behavior
kf
in
Queue
.
add
(
fun
()
->
Globals
.
Functions
.
register
new_kf
)
Queue
.
add
(
fun
()
->
Globals
.
Functions
.
register
new_kf
)
self
#
get_filling_actions
;
self
#
get_filling_actions
;
end
end
...
...
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