Fix several 'reaches end of function' warnings by making fatal noreturn.

The warnings also pointed out a few genuine bugs. Replace some tabs with
spaces.
This commit is contained in:
Christian Kamm 2009-11-06 21:51:41 +01:00
parent 0db459fad0
commit 64a8e47ad6
5 changed files with 31 additions and 20 deletions

View file

@ -39,6 +39,7 @@ const IRScope& IRScope::operator=(const IRScope& rhs)
begin = rhs.begin;
end = rhs.end;
builder.SetInsertPoint(begin);
return *this;
}
//////////////////////////////////////////////////////////////////////////////////////////