Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
9babbf20
Commit
9babbf20
authored
Nov 13, 1997
by
Jason Merrill
Committed by
Jason Merrill
Nov 13, 1997
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed unused parm to build_new_function_call
From-SVN: r16464
parent
fac138ea
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
7 deletions
+10
-7
gcc/cp/ChangeLog
+3
-0
gcc/cp/call.c
+5
-5
gcc/cp/cp-tree.h
+1
-1
gcc/cp/typeck.c
+1
-1
No files found.
gcc/cp/ChangeLog
View file @
9babbf20
Thu Nov 13 01:52:36 1997 Jason Merrill <jason@yorick.cygnus.com>
* call.c (build_new_function_call): Remove unused 'obj' parm.
* cp-tree.h, typeck.c: Adjust.
* init.c (build_new): Make the cleanup last longer.
(expand_vec_init): Call do_pending_stack_adjust.
...
...
gcc/cp/call.c
View file @
9babbf20
...
...
@@ -4479,8 +4479,8 @@ resolve_args (args)
}
tree
build_new_function_call
(
fn
,
args
,
obj
)
tree
fn
,
args
,
obj
;
build_new_function_call
(
fn
,
args
)
tree
fn
,
args
;
{
struct
z_candidate
*
candidates
=
0
,
*
cand
;
tree
explicit_targs
=
NULL_TREE
;
...
...
@@ -4493,7 +4493,7 @@ build_new_function_call (fn, args, obj)
template_only
=
1
;
}
if
(
obj
==
NULL_TREE
&&
really_overloaded_fn
(
fn
))
if
(
really_overloaded_fn
(
fn
))
{
tree
t
;
tree
templates
=
NULL_TREE
;
...
...
@@ -4721,7 +4721,7 @@ build_new_op (code, flags, arg1, arg2, arg3)
arglist
=
scratch_tree_cons
(
NULL_TREE
,
arg2
,
arg3
);
if
(
flags
&
LOOKUP_GLOBAL
)
return
build_new_function_call
(
lookup_name_nonclass
(
fnname
),
arglist
,
NULL_TREE
);
(
lookup_name_nonclass
(
fnname
),
arglist
);
/* FIXME */
rval
=
build_method_call
...
...
@@ -4746,7 +4746,7 @@ build_new_op (code, flags, arg1, arg2, arg3)
if
(
flags
&
LOOKUP_GLOBAL
)
return
build_new_function_call
(
lookup_name_nonclass
(
fnname
),
build_scratch_list
(
NULL_TREE
,
arg1
)
,
NULL_TREE
);
build_scratch_list
(
NULL_TREE
,
arg1
));
arglist
=
scratch_tree_cons
(
NULL_TREE
,
arg1
,
build_scratch_list
(
NULL_TREE
,
arg2
));
...
...
gcc/cp/cp-tree.h
View file @
9babbf20
...
...
@@ -1955,7 +1955,7 @@ extern tree build_overload_call PROTO((tree, tree, int));
extern
int
null_ptr_cst_p
PROTO
((
tree
));
extern
tree
type_decays_to
PROTO
((
tree
));
extern
tree
build_user_type_conversion
PROTO
((
tree
,
tree
,
int
));
extern
tree
build_new_function_call
PROTO
((
tree
,
tree
,
tree
));
extern
tree
build_new_function_call
PROTO
((
tree
,
tree
));
extern
tree
build_new_op
PROTO
((
enum
tree_code
,
int
,
tree
,
tree
,
tree
));
extern
int
can_convert
PROTO
((
tree
,
tree
));
extern
int
can_convert_arg
PROTO
((
tree
,
tree
,
tree
));
...
...
gcc/cp/typeck.c
View file @
9babbf20
...
...
@@ -2426,7 +2426,7 @@ build_x_function_call (function, params, decl)
/* Put back explicit template arguments, if any. */
if
(
template_id
)
function
=
template_id
;
return
build_new_function_call
(
function
,
params
,
NULL_TREE
);
return
build_new_function_call
(
function
,
params
);
}
if
(
TREE_CODE
(
val
)
==
TEMPLATE_DECL
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment