Commit 667e8aa0 authored by Roberto Raggi's avatar Roberto Raggi Committed by Oswald Buddenhagen
Browse files

Compile.

parent 4ff3ee2f
...@@ -54,7 +54,7 @@ FullySpecifiedType fnTy(const QString &name, const FullySpecifiedType &ret, cons ...@@ -54,7 +54,7 @@ FullySpecifiedType fnTy(const QString &name, const FullySpecifiedType &ret, cons
{ {
Function *fn = new Function(unit, 0, nameId(name)); Function *fn = new Function(unit, 0, nameId(name));
fn->setReturnType(ret); fn->setReturnType(ret);
fn->arguments()->enterSymbol(arg("a0", a0)); fn->addMember(arg("a0", a0));
return FullySpecifiedType(fn); return FullySpecifiedType(fn);
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment