Go patch committed: Remove unused Type::in_heap_ member variable
Ian Lance Taylor
iant@golang.org
Tue Oct 27 18:01:11 GMT 2020
This patch to the Go frontend removes the unused Type::in_heap_ member
variable. This member variable was added in
https://golang.org/cl/46490, but it
was never used. The code uses Named_type::in_heap_ instead.
Bootstrapped and ran Go testsuite on x86_64-pc-linux-gnu. Committed
to mainline.
Ian
-------------- next part --------------
8a27fee88b00316893f5907cb2c1812791bdd335
diff --git a/gcc/go/gofrontend/MERGE b/gcc/go/gofrontend/MERGE
index c3a45c8a959..6caece3f894 100644
--- a/gcc/go/gofrontend/MERGE
+++ b/gcc/go/gofrontend/MERGE
@@ -1,4 +1,4 @@
-66657f88f820f2b0cab3c1c0a7d8b7f8923af7fb
+4c1e7a083bdea02759cd5d2054038fb8a4a55ec8
The first line of this file holds the git revision number of the last
merge done from the gofrontend repository.
diff --git a/gcc/go/gofrontend/types.h b/gcc/go/gofrontend/types.h
index ef81589682f..ccd12686d41 100644
--- a/gcc/go/gofrontend/types.h
+++ b/gcc/go/gofrontend/types.h
@@ -1426,8 +1426,6 @@ class Type
// The GC symbol for this type. This starts out as NULL and
// is filled in as needed.
Bvariable* gc_symbol_var_;
- // Whether this type can appear in the heap.
- bool in_heap_;
};
// Type hash table operations, treating aliases as identical to the
More information about the Gcc-patches
mailing list