switch a fixme to an assert.

llvm-svn: 40717
This commit is contained in:
Chris Lattner 2007-08-02 04:14:33 +00:00
parent a5645cbea9
commit 016f19a37d
1 changed files with 1 additions and 2 deletions

View File

@ -49,8 +49,7 @@ public:
// FIXME: Find a way to handle out of FileID bits! Maybe MaxFileID is an
// escape of some sort?
if (FileID >= (1 << FileIDBits))
FileID = (1 << FileIDBits)-1;
assert(FileID < (1 << FileIDBits) && "Out of fileid's");
L.ID = (FileID << FilePosBits) | FilePos;
return L;