aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/method.c
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2020-06-29 11:30:43 -0700
committerIan Lance Taylor <iant@golang.org>2020-06-29 14:29:39 -0700
commit9bca676cc7a1670be021567ae4a128a5082229d3 (patch)
tree37ee050c1a334f4d95b7b9526ba852c8bc63fd2b /gcc/cp/method.c
parent583812c2e2f3593823622b0a5821d957c832dbd0 (diff)
downloadgcc-9bca676cc7a1670be021567ae4a128a5082229d3.zip
gcc-9bca676cc7a1670be021567ae4a128a5082229d3.tar.gz
gcc-9bca676cc7a1670be021567ae4a128a5082229d3.tar.bz2
compiler: remove some erroneous code that was never run
The code accidentally called Type::type_descriptor rather than the do_type_descriptor method. Calling Type::type_descriptor with a second argument of NULL would always crash. Since that never happened, it revealed that this code was never actually executed. Fixes PR go/95970 Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/240477
Diffstat (limited to 'gcc/cp/method.c')
0 files changed, 0 insertions, 0 deletions