Internals: Make findDtype functions use this. No functional change.

This commit is contained in:
Wilson Snyder
2012-05-09 22:12:57 -04:00
parent 37a3a7cdce
commit 942cb5e87e
6 changed files with 29 additions and 24 deletions
+1 -1
View File
@@ -336,7 +336,7 @@ private:
}
AstVarScope* createInputVar(AstCFunc* funcp, const string& name, AstBasicDTypeKwd kwd) {
AstVar* newvarp = new AstVar (funcp->fileline(), AstVarType::BLOCKTEMP, name,
funcp->findBasicDType(funcp->fileline(), kwd));
funcp->findBasicDType(kwd));
newvarp->funcLocal(true);
newvarp->combineType(AstVarType::INPUT);
funcp->addArgsp(newvarp);