Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(439)

Unified Diff: src/pkg/runtime/hashmap.h

Issue 5453043: code review 5453043: runtime: prep for type-specific algorithms (Closed)
Patch Set: diff -r adff3701bfc7 https://go.googlecode.com/hg/ Created 13 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/pkg/runtime/chan.c ('k') | src/pkg/runtime/hashmap.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/pkg/runtime/hashmap.h
===================================================================
--- a/src/pkg/runtime/hashmap.h
+++ b/src/pkg/runtime/hashmap.h
@@ -86,6 +86,7 @@
hash_hash_t last_hash; /* last hash value returned */
hash_hash_t cycle; /* hash value where we started */
struct Hmap *h; /* the hash table */
+ MapType *t; /* the map type */
struct hash_iter_sub {
struct hash_entry *e; /* pointer into subtable */
struct hash_entry *start; /* start of subtable */
« no previous file with comments | « src/pkg/runtime/chan.c ('k') | src/pkg/runtime/hashmap.c » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b