forked from OSchip/llvm-project
Use sizeof() instead of hard-coding a size for WrittenBuiltinSpecs, eek!
llvm-svn: 94024
This commit is contained in:
parent
71f3d94391
commit
73118e6d82
|
@ -410,7 +410,7 @@ public:
|
|||
}
|
||||
|
||||
unsigned getExtraLocalDataSize() const {
|
||||
return needsExtraLocalData() ? 4 : 0;
|
||||
return needsExtraLocalData() ? sizeof(WrittenBuiltinSpecs) : 0;
|
||||
}
|
||||
|
||||
SourceRange getSourceRange() const {
|
||||
|
|
Loading…
Reference in New Issue