]> git.ipfire.org Git - thirdparty/gcc.git/commit
compiler: make use of specialized fast map routines
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 6 Jun 2019 00:44:01 +0000 (00:44 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 6 Jun 2019 00:44:01 +0000 (00:44 +0000)
commit26329c24fc2215dd769b455000f5e3403a00be6f
tree5375b70ffa2d9dda8fe739d2ee1a4a412d7d5c96
parent534a047190d94253d7c493b7bccf4214b8a68533
compiler: make use of specialized fast map routines

    In the runtime there are specialized fast map routines for
    certain kep types. This CL lets the compiler make use of these
    functions, instead of always using the generic ones.

    As we now generate multiple versions of map delete calls, to make
    things easier we delay the expansion of the built-in delete
    function to flatten phase.

    Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/180858

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@271983 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/go/gofrontend/MERGE
gcc/go/gofrontend/escape.cc
gcc/go/gofrontend/expressions.cc
gcc/go/gofrontend/runtime.def
gcc/go/gofrontend/statements.cc
gcc/go/gofrontend/types.cc
gcc/go/gofrontend/types.h
libgo/go/runtime/map_fast32.go
libgo/go/runtime/map_fast64.go
libgo/go/runtime/map_faststr.go