Use sizeof() instead of hard-coding a size for WrittenBuiltinSpecs, eek!

llvm-svn: 94024
This commit is contained in:
Daniel Dunbar 2010-01-20 21:13:31 +00:00
parent 71f3d94391
commit 73118e6d82
1 changed files with 1 additions and 1 deletions

View File

@ -410,7 +410,7 @@ public:
}
unsigned getExtraLocalDataSize() const {
return needsExtraLocalData() ? 4 : 0;
return needsExtraLocalData() ? sizeof(WrittenBuiltinSpecs) : 0;
}
SourceRange getSourceRange() const {