gcc/gcc line-map.h line-map.c ChangeLog
bothner@gcc.gnu.org
bothner@gcc.gnu.org
Sun Dec 7 00:12:00 GMT 2003
CVSROOT: /cvs/gcc
Module name: gcc
Branch: tree-ssa-20020619-branch
Changes by: bothner@gcc.gnu.org 2003-12-07 00:12:46
Modified files:
gcc : line-map.h line-map.c ChangeLog
Log message:
Implement a cache for linemap_lookup.
* line-map.h (struct_line_maps): Add cache field.
* line-map.c (linemap_init): Zero cache field.
(linemap_add): Set cache field to offset of newly allocated map.
(linemap_lookup): Use and set cache field.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/line-map.h.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.9.18.5&r2=1.9.18.6
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/line-map.c.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.6.18.6&r2=1.6.18.7
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.14646.2.113&r2=1.14646.2.114
More information about the Gcc-cvs
mailing list