summaryrefslogtreecommitdiff
path: root/gcc/lto-streamer-in.c
diff options
context:
space:
mode:
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2010-09-03 14:08:14 +0000
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2010-09-03 14:08:14 +0000
commit115697e0f5f00d5587441565472b2401ab723e49 (patch)
tree8e721d616f0748d5996be599ee50b1a91c33345e /gcc/lto-streamer-in.c
parent75dbc0d5aaa4a50cd78cc6ab39ff984dd4dcb91d (diff)
downloadgcc-115697e0f5f00d5587441565472b2401ab723e49.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@163818 138bc75d-0d04-0410-961f-82ee72b054a4
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 14d87ed20fd..870df2af1f7 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);