Rev 3562 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3562 | Rev 3686 | ||
---|---|---|---|
Line 147... | Line 147... | ||
147 | /* Mark all vertices (modules) as unvisited */ |
147 | /* Mark all vertices (modules) as unvisited */ |
148 | modules_untag(); |
148 | modules_untag(); |
149 | 149 | ||
150 | /* Insert root (the program) into the queue and tag it */ |
150 | /* Insert root (the program) into the queue and tag it */ |
151 | list_initialize(&queue_head); |
151 | list_initialize(&queue_head); |
152 | runtime_env.program->bfs_tag = true; |
152 | runtime_env->program->bfs_tag = true; |
153 | list_append(&runtime_env.program->queue_link, &queue_head); |
153 | list_append(&runtime_env->program->queue_link, &queue_head); |
154 | 154 | ||
155 | /* If the symbol is found, it will be stored in 'sym' */ |
155 | /* If the symbol is found, it will be stored in 'sym' */ |
156 | sym = NULL; |
156 | sym = NULL; |
157 | 157 | ||
158 | /* While queue is not empty */ |
158 | /* While queue is not empty */ |