comparison gen/irstate.cpp @ 1586:7f728c52e63c

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.
author Christian Kamm <kamm incasoftware de>
date Fri, 06 Nov 2009 21:51:41 +0100
parents 61f12f4651b5
children
comparison
equal deleted inserted replaced
1585:29b0f2d11c92 1586:7f728c52e63c
37 const IRScope& IRScope::operator=(const IRScope& rhs) 37 const IRScope& IRScope::operator=(const IRScope& rhs)
38 { 38 {
39 begin = rhs.begin; 39 begin = rhs.begin;
40 end = rhs.end; 40 end = rhs.end;
41 builder.SetInsertPoint(begin); 41 builder.SetInsertPoint(begin);
42 return *this;
42 } 43 }
43 44
44 ////////////////////////////////////////////////////////////////////////////////////////// 45 //////////////////////////////////////////////////////////////////////////////////////////
45 IRTargetScope::IRTargetScope() 46 IRTargetScope::IRTargetScope()
46 { 47 {