aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOllie Wild <aaw@google.com>2008-04-16 21:00:59 +0000
committerOllie Wild <aaw@google.com>2008-04-16 21:00:59 +0000
commit532f543ca80f6ebcc4719677b8cedc4c901df9be (patch)
tree16aa120ab664f459e9224d2e2b737acf21ad69c3
parenta6b4f031db7f390702746650ef7b9cf681418305 (diff)
gcc/
* lto-function-out.c (output_type_ref): Updated function description. gcc/lto/ * lto-function-in.c (input_type_ref): Updated function description. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/lto@134365 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog.lto4
-rw-r--r--gcc/lto-function-out.c5
-rw-r--r--gcc/lto/ChangeLog4
-rw-r--r--gcc/lto/lto-function-in.c3
4 files changed, 12 insertions, 4 deletions
diff --git a/gcc/ChangeLog.lto b/gcc/ChangeLog.lto
index 19105a7046c..051672ad5e6 100644
--- a/gcc/ChangeLog.lto
+++ b/gcc/ChangeLog.lto
@@ -1,5 +1,9 @@
2008-04-16 Ollie Wild <aaw@google.com>
+ * lto-function-out.c (output_type_ref): Updated function description.
+
+2008-04-16 Ollie Wild <aaw@google.com>
+
* lto-function-out.c (output_type_ref_1): New function.
(output_type_ref): Split into two functions.
(output_function): Output an LTO_type record if DECL_CONTEXT (function)
diff --git a/gcc/lto-function-out.c b/gcc/lto-function-out.c
index 3bcc3de38f1..8fd63cfa1ee 100644
--- a/gcc/lto-function-out.c
+++ b/gcc/lto-function-out.c
@@ -612,9 +612,8 @@ output_type_ref_1 (struct output_block *ob, tree node)
}
-/* Look up TYPE in the type table and write the uleb128 index for it.
- This is a hack and will be replaced with a real reference to the
- type. */
+/* Look up NODE in the type table and write the uleb128 index for it to OB.
+ This is a hack and will be replaced with a real reference to the type. */
static void
output_type_ref (struct output_block *ob, tree node)
diff --git a/gcc/lto/ChangeLog b/gcc/lto/ChangeLog
index 0e78bf9a269..008cb296753 100644
--- a/gcc/lto/ChangeLog
+++ b/gcc/lto/ChangeLog
@@ -1,5 +1,9 @@
2008-04-16 Ollie Wild <aaw@google.com>
+ * lto-function-in.c (input_type_ref): Updated function description.
+
+2008-04-16 Ollie Wild <aaw@google.com>
+
* lto-function-in.c (input_type_ref_1): New function.
(input_type_ref): Split into two functions.
(input_function): Add support for type contexts.
diff --git a/gcc/lto/lto-function-in.c b/gcc/lto/lto-function-in.c
index d1bd8bf5577..2d89d3e513b 100644
--- a/gcc/lto/lto-function-in.c
+++ b/gcc/lto/lto-function-in.c
@@ -238,7 +238,8 @@ input_type_ref_1 (struct data_in *data_in, struct lto_input_block *ib)
}
-/* Get the type referenced by the next token in IB. */
+/* Get the type referenced by the next token in IB and store it in the type
+ table in DATA_IN. */
static tree
input_type_ref (struct data_in *data_in, struct lto_input_block *ib)