* rtti.c (throw_bad_typeid): Use build_cxx_call.

From-SVN: r65933
This commit is contained in:
Mark Mitchell 2003-04-22 07:48:02 +00:00 committed by Mark Mitchell
parent b2dd096b0c
commit 6adb9463cd
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2003-04-22 Mark Mitchell <mark@codesourcery.com>
* rtti.c (throw_bad_typeid): Use build_cxx_call.
2003-04-21 Mark Mitchell <mark@codesourcery.com>
* call.c (build_over_call): Use build_cxx_call.

View File

@ -196,7 +196,7 @@ throw_bad_typeid (void)
fn = push_throw_library_fn (fn, t);
}
return convert_from_reference (build_call (fn, NULL_TREE));
return convert_from_reference (build_cxx_call (fn, NULL_TREE, NULL_TREE));
}
/* Return an lvalue expression whose type is "const std::type_info"