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
41b68f17
Commit
41b68f17
authored
4 years ago
by
Basile Desloges
Browse files
Options
Downloads
Patches
Plain Diff
[variadic] Store the translation
parent
d9a06210
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/plugins/variadic/standard.ml
+6
-0
6 additions, 0 deletions
src/plugins/variadic/standard.ml
with
6 additions
and
0 deletions
src/plugins/variadic/standard.ml
+
6
−
0
View file @
41b68f17
...
...
@@ -292,6 +292,9 @@ let overloaded_call ~fundec overload block loc mk_call vf args =
raise
Translate_call_exn
;
in
(* Store the translation *)
Replacements
.
add
new_callee
vf
.
vf_decl
;
(* Rebuild the call *)
Self
.
result
~
current
:
true
~
level
:
2
"Translating call to the specialized version %a."
...
...
@@ -635,6 +638,9 @@ let format_fun_call ~fundec env format_fun scope loc mk_call vf args =
new_callee
.
vname
<-
new_name
;
new_globals
:=
glob
::
!
new_globals
;
(* Store the translation *)
Replacements
.
add
new_callee
vf
.
vf_decl
;
(* Translate the call *)
Self
.
result
~
current
:
true
~
level
:
2
"Translating call to %s to a call to the specialized version %s."
...
...
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