mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-18 00:48:07 +02:00
This matches the type of the underlying size member, and is consistent
with other getSize methods.
Avoids compiler warning with LTO enabled:
In member function '__ct ',
inlined from 'convertToSSA' at ../src/nouveau/codegen/nv50_ir_ssa.cpp:401:26,
inlined from 'convertToSSA' at ../src/nouveau/codegen/nv50_ir_ssa.cpp:310:28,
inlined from 'nv50_ir_generate_code' at ../src/nouveau/codegen/nv50_ir.cpp:1331:22:
../src/nouveau/codegen/nv50_ir_ssa.cpp:407:48: error: argument 1 value '18446744073709551615' exceeds maximum object size 9223372036854775807 [-Werror=alloc-size-larger-than=]
407 | stack = new Stack[func->allLValues.getSize()];
| ^
/usr/include/c++/12/new: In function 'nv50_ir_generate_code':
/usr/include/c++/12/new:128:26: note: in a call to allocation function 'operator new []' declared here
128 | _GLIBCXX_NODISCARD void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc)
| ^
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21781>
|
||
|---|---|---|
| .. | ||
| lib | ||
| meson.build | ||
| nv50_ir.cpp | ||
| nv50_ir.h | ||
| nv50_ir_bb.cpp | ||
| nv50_ir_build_util.cpp | ||
| nv50_ir_build_util.h | ||
| nv50_ir_driver.h | ||
| nv50_ir_emit_gk110.cpp | ||
| nv50_ir_emit_gm107.cpp | ||
| nv50_ir_emit_gv100.cpp | ||
| nv50_ir_emit_gv100.h | ||
| nv50_ir_emit_nv50.cpp | ||
| nv50_ir_emit_nvc0.cpp | ||
| nv50_ir_from_common.cpp | ||
| nv50_ir_from_common.h | ||
| nv50_ir_from_nir.cpp | ||
| nv50_ir_from_tgsi.cpp | ||
| nv50_ir_graph.cpp | ||
| nv50_ir_graph.h | ||
| nv50_ir_inlines.h | ||
| nv50_ir_lowering_gm107.cpp | ||
| nv50_ir_lowering_gm107.h | ||
| nv50_ir_lowering_gv100.cpp | ||
| nv50_ir_lowering_gv100.h | ||
| nv50_ir_lowering_helper.cpp | ||
| nv50_ir_lowering_helper.h | ||
| nv50_ir_lowering_nv50.cpp | ||
| nv50_ir_lowering_nvc0.cpp | ||
| nv50_ir_lowering_nvc0.h | ||
| nv50_ir_peephole.cpp | ||
| nv50_ir_print.cpp | ||
| nv50_ir_ra.cpp | ||
| nv50_ir_sched_gm107.h | ||
| nv50_ir_serialize.cpp | ||
| nv50_ir_ssa.cpp | ||
| nv50_ir_target.cpp | ||
| nv50_ir_target.h | ||
| nv50_ir_target_gm107.cpp | ||
| nv50_ir_target_gm107.h | ||
| nv50_ir_target_gv100.cpp | ||
| nv50_ir_target_gv100.h | ||
| nv50_ir_target_nv50.cpp | ||
| nv50_ir_target_nv50.h | ||
| nv50_ir_target_nvc0.cpp | ||
| nv50_ir_target_nvc0.h | ||
| nv50_ir_util.cpp | ||
| nv50_ir_util.h | ||