aboutsummaryrefslogtreecommitdiff
path: root/libgo/Makefile.in
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2016-10-14 13:36:35 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2016-10-14 13:36:35 +0000
commit238fc3441cecc5bdf982009c168d9f5b9085e8de (patch)
tree319b4c046950b68f79d46161f30121384b85c6be /libgo/Makefile.in
parent6d59425df7e3d4e9b49c6521288a048bb35ec70c (diff)
downloadgcc-238fc3441cecc5bdf982009c168d9f5b9085e8de.zip
gcc-238fc3441cecc5bdf982009c168d9f5b9085e8de.tar.gz
gcc-238fc3441cecc5bdf982009c168d9f5b9085e8de.tar.bz2
runtime: copy cpuprof code from Go 1.7 runtime
This replaces runtime/cpuprof.goc with go/runtime/cpuprof.go and adjusts the supporting code in runtime/proc.c. This adds another case where the compiler needs to avoid heap allocation in the runtime package: when evaluating a method expression into a closure. Implementing this required moving the relevant code from do_get_backend to do_flatten, so that I could easily add a temporary variable. Doing that let me get rid of Bound_method_expression::do_lower. Reviewed-on: https://go-review.googlesource.com/31050 From-SVN: r241163
Diffstat (limited to 'libgo/Makefile.in')
-rw-r--r--libgo/Makefile.in8
1 files changed, 3 insertions, 5 deletions
diff --git a/libgo/Makefile.in b/libgo/Makefile.in
index 6797a34..c811312 100644
--- a/libgo/Makefile.in
+++ b/libgo/Makefile.in
@@ -261,9 +261,9 @@ am__objects_6 = go-append.lo go-assert.lo go-assert-interface.lo \
mcentral.lo $(am__objects_1) mfixalloc.lo mgc0.lo mheap.lo \
msize.lo $(am__objects_2) panic.lo parfor.lo print.lo proc.lo \
runtime.lo signal_unix.lo thread.lo $(am__objects_3) yield.lo \
- $(am__objects_4) cpuprof.lo go-iface.lo lfstack.lo malloc.lo \
- mprof.lo netpoll.lo rdebug.lo reflect.lo runtime1.lo \
- sigqueue.lo time.lo $(am__objects_5)
+ $(am__objects_4) go-iface.lo lfstack.lo malloc.lo mprof.lo \
+ netpoll.lo rdebug.lo reflect.lo runtime1.lo sigqueue.lo \
+ time.lo $(am__objects_5)
am_libgo_llgo_la_OBJECTS = $(am__objects_6)
libgo_llgo_la_OBJECTS = $(am_libgo_llgo_la_OBJECTS)
libgo_llgo_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
@@ -911,7 +911,6 @@ runtime_files = \
$(runtime_thread_files) \
runtime/yield.c \
$(rtems_task_variable_add_file) \
- cpuprof.c \
go-iface.c \
lfstack.c \
malloc.c \
@@ -1547,7 +1546,6 @@ mostlyclean-compile:
distclean-compile:
-rm -f *.tab.c
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cpuprof.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/env_posix.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getncpu-bsd.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getncpu-irix.Plo@am__quote@