d: Use Array::find to get index of element
authorIain Buclaw <ibuclaw@gdcproject.org>
Tue, 23 Jun 2020 08:46:52 +0000 (10:46 +0200)
committerIain Buclaw <ibuclaw@gdcproject.org>
Tue, 6 Apr 2021 17:43:31 +0000 (19:43 +0200)
commit62321ab477e2bdc3450b14662b9a7d3b9d3c9d1f
tree81deb163d08a0648a21a624d79ed696d1d163f43
parent4993d0265ef8ff1a75dfb86cd6da95ccc7fa6328
d: Use Array::find to get index of element

gcc/d/ChangeLog:

* d-codegen.cc (build_frame_type): Use Array::find to get index of
element.
gcc/d/d-codegen.cc