diff options
| author | Iain Buclaw <ibuclaw@gdcproject.org> | 2026-02-08 20:50:39 +0100 |
|---|---|---|
| committer | Iain Buclaw <ibuclaw@gdcproject.org> | 2026-02-08 20:55:39 +0100 |
| commit | 742bafdeed7cbea68ca0d995ce43df523fce0261 (patch) | |
| tree | 885048bff6d8d9ccb1cb436c06fd44874b8b6318 /libjava/gnu/java/lang | |
| parent | 9aa5bdf9a50fce6e3bf42f38eb9cf57abb8eecbe (diff) | |
| download | gcc-742bafdeed7cbea68ca0d995ce43df523fce0261.zip gcc-742bafdeed7cbea68ca0d995ce43df523fce0261.tar.gz gcc-742bafdeed7cbea68ca0d995ce43df523fce0261.tar.bz2 | |
d: Add convenient overload for build_libcall
Most generated calls to build_libcall don't require any special
conversions from the generic type returned by the library. Add an
overload that calls the library function without doing any nop casts.
gcc/d/ChangeLog:
* d-tree.h (build_libcall): New declaration.
* runtime.cc (build_libcall_1): New function.
(build_libcall): New overload.
* d-codegen.cc (build_assert_call): Call build_libcall without Type
argument.
(build_array_bounds_call): Likewise.
(build_bounds_index_condition): Likewise.
(build_bounds_slice_condition): Likewise.
(build_closure): Likewise.
* expr.cc (ExprVisitor::visit): Likewise.
* toir.cc (IRVisitor::visit): Likewise.
Diffstat (limited to 'libjava/gnu/java/lang')
0 files changed, 0 insertions, 0 deletions
