Skip to content
Snippets Groups Projects
Commit 9132fbb7 authored by Per Bothner's avatar Per Bothner Committed by Per Bothner
Browse files

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.

From-SVN: r76197
parent 26d107db
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment