summaryrefslogtreecommitdiff
path: root/gcc/go/gofrontend/go.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/go/gofrontend/go.cc')
-rw-r--r--gcc/go/gofrontend/go.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/go/gofrontend/go.cc b/gcc/go/gofrontend/go.cc
index c0b3fef7239..55b4dca8579 100644
--- a/gcc/go/gofrontend/go.cc
+++ b/gcc/go/gofrontend/go.cc
@@ -91,6 +91,9 @@ go_parse_input_files(const char** filenames, unsigned int filename_count,
// form which is easier to use.
::gogo->lower_parse_tree();
+ // Create function descriptors as needed.
+ ::gogo->create_function_descriptors();
+
// Write out queued up functions for hash and comparison of types.
::gogo->write_specific_type_functions();