diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2018-01-25 23:13:31 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2018-01-25 23:13:31 +0000 |
commit | 1bfbe9adbc554930163eb551f9904cf4fe096696 (patch) | |
tree | 62d1d4ee4dddd626ab695de3285ec42ac4e5d60f /gcc/fold-const.c | |
parent | a14e122ae2ecf27a8cace7e0d1dda8606d5e4eca (diff) | |
download | gcc-1bfbe9adbc554930163eb551f9904cf4fe096696.zip gcc-1bfbe9adbc554930163eb551f9904cf4fe096696.tar.gz gcc-1bfbe9adbc554930163eb551f9904cf4fe096696.tar.bz2 |
compiler: look through aliases when looking for methods
Add a Type::is_alias method to remove some existing loops and avoid
adding a new one.
Test case is https://golang.org/cl/89935.
Fixes golang/go#23489
Reviewed-on: https://go-review.googlesource.com/89975
From-SVN: r257069
Diffstat (limited to 'gcc/fold-const.c')
0 files changed, 0 insertions, 0 deletions