aboutsummaryrefslogtreecommitdiff
path: root/gcc/lto-streamer-in.c
diff options
context:
space:
mode:
authorRichard Guenther <rguenther@suse.de>2010-09-03 14:08:14 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2010-09-03 14:08:14 +0000
commitac364a48dba28a7ff62730bad2d1cde92b694607 (patch)
tree8e721d616f0748d5996be599ee50b1a91c33345e /gcc/lto-streamer-in.c
parentffb7f675d87f084475e930790a103dfc0bc0e995 (diff)
downloadgcc-ac364a48dba28a7ff62730bad2d1cde92b694607.zip
gcc-ac364a48dba28a7ff62730bad2d1cde92b694607.tar.gz
gcc-ac364a48dba28a7ff62730bad2d1cde92b694607.tar.bz2
lto-streamer-out.c (output_function): Output function start and end loci.
2010-09-03 Richard Guenther <rguenther@suse.de> * lto-streamer-out.c (output_function): Output function start and end loci. * lto-streamer-in.c (input_function): Input function start and end loci. From-SVN: r163818
Diffstat (limited to 'gcc/lto-streamer-in.c')
-rw-r--r--gcc/lto-streamer-in.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/lto-streamer-in.c b/gcc/lto-streamer-in.c
index 14d87ed..870df2a 100644
--- a/gcc/lto-streamer-in.c
+++ b/gcc/lto-streamer-in.c
@@ -1169,6 +1169,10 @@ input_function (tree fn_decl, struct data_in *data_in,
fn->va_list_fpr_size = bp_unpack_value (&bp, 8);
fn->va_list_gpr_size = bp_unpack_value (&bp, 8);
+ /* Input the function start and end loci. */
+ fn->function_start_locus = lto_input_location (ib, data_in);
+ fn->function_end_locus = lto_input_location (ib, data_in);
+
/* Input the current IL state of the function. */
fn->curr_properties = lto_input_uleb128 (ib);