aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/backend
diff options
context:
space:
mode:
authorYizhe <yizhe@pku.edu.cn>2021-03-17 02:06:21 +0000
committerYizhePKU <yizhe@pku.edu.cn>2021-04-02 17:10:43 +0000
commitd71750b7829b3ef3443c75880e439e3e145aa8a7 (patch)
treef685de849e35a359d6f5010876c56bc311a893f2 /gcc/rust/backend
parent0a63f6d619aba46abeafe9c7544756fee00e072d (diff)
downloadgcc-d71750b7829b3ef3443c75880e439e3e145aa8a7.zip
gcc-d71750b7829b3ef3443c75880e439e3e145aa8a7.tar.gz
gcc-d71750b7829b3ef3443c75880e439e3e145aa8a7.tar.bz2
Remove ArrayExpr::has_array_elems
has_array_elems() is mostly used as a nullptr check. We don't need it anymore. To implement has_array_elems() correctly(i.e. return true when the array is zero length) would be difficult, because we may need to perform constant folding first.
Diffstat (limited to 'gcc/rust/backend')
0 files changed, 0 insertions, 0 deletions