diff options
author | Roger Sayle <roger@eyesopen.com> | 2004-06-24 05:26:07 +0000 |
---|---|---|
committer | Roger Sayle <sayle@gcc.gnu.org> | 2004-06-24 05:26:07 +0000 |
commit | d522060b39e1627ebc07734d756b27637c957c53 (patch) | |
tree | f49a4f53f5fccb080cacfa1d3a49e5db58a3853c /gcc/cp/rtti.c | |
parent | a7cc468aa3453959c3eccafd5e66eb603f69696c (diff) | |
download | gcc-d522060b39e1627ebc07734d756b27637c957c53.zip gcc-d522060b39e1627ebc07734d756b27637c957c53.tar.gz gcc-d522060b39e1627ebc07734d756b27637c957c53.tar.bz2 |
c-common.c (expand_unordered_cmp): Delete.
* c-common.c (expand_unordered_cmp): Delete.
(expand_tree_builtin): Delete.
* c-common.h (expand_tree_builtin): Delete function prototype.
* c-typeck.c (build_function_call): Don't call expand_tree_builtin.
* call.c (build_cxx_call): Don't call expand_tree_builtin. No
longer take both "args" and "convert_args" as arguments.
(build_op_delete_call): Update call to build_cxx_call.
(build_over_call): Likewise, update call to build_cxx_call.
* cp-tree.h (build_cxx_call): Update funtion prototype.
* typeck.c (build_function_call): Don't call expand_tree_builtin.
* rtti.c (throw_bad_cast): Update call to build_cxx_call.
(throw_bad_typeid): Likewise.
(build_dynamic_cast_1): Likewise.
From-SVN: r83579
Diffstat (limited to 'gcc/cp/rtti.c')
-rw-r--r-- | gcc/cp/rtti.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/cp/rtti.c b/gcc/cp/rtti.c index ac149c8..b57de9d 100644 --- a/gcc/cp/rtti.c +++ b/gcc/cp/rtti.c @@ -176,7 +176,7 @@ throw_bad_cast (void) fn = push_throw_library_fn (fn, build_function_type (ptr_type_node, void_list_node)); - return build_cxx_call (fn, NULL_TREE, NULL_TREE); + return build_cxx_call (fn, NULL_TREE); } /* Return an expression for "__cxa_bad_typeid()". The expression @@ -193,7 +193,7 @@ throw_bad_typeid (void) fn = push_throw_library_fn (fn, t); } - return convert_from_reference (build_cxx_call (fn, NULL_TREE, NULL_TREE)); + return convert_from_reference (build_cxx_call (fn, NULL_TREE)); } /* Return an lvalue expression whose type is "const std::type_info" @@ -652,7 +652,7 @@ build_dynamic_cast_1 (tree type, tree expr) pop_nested_namespace (ns); dynamic_cast_node = dcast_fn; } - result = build_cxx_call (dcast_fn, elems, elems); + result = build_cxx_call (dcast_fn, elems); if (tc == REFERENCE_TYPE) { |