Commit 64252961 authored by Christoph Mallon's avatar Christoph Mallon
Browse files

cleanup: Fix typos in comments.

parent 937cf656
......@@ -360,7 +360,7 @@ static inline void finish_scc(void)
}
/**
* Check weather a given node represents the outer most Start
* Check whether a given node represents the outermost Start
* block. In intra-procedural view this is the start block of the
* current graph, in interprocedural view it is the start block
* of the outer most graph.
......
......@@ -557,10 +557,8 @@ int node_is_in_irgs_storage(const ir_graph *irg, const ir_node *n)
{
struct _obstack_chunk *p;
/*
* checks weather the ir_node pointer is on the obstack.
* A more sophisticated check would test the "whole" ir_node
*/
/* Check whether the ir_node pointer is on the obstack.
* A more sophisticated check would test the "whole" ir_node. */
for (p = irg->obst->chunk; p; p = p->prev) {
if (((char *)p->contents <= (char *)n) && ((char *)n < (char *)p->limit))
return 1;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment