Commit bf39c01f authored by Alexandru Dura's avatar Alexandru Dura
Browse files

Print source location for variables

parent 79c7cd6c
......@@ -223,6 +223,7 @@ aspect IRGen {
// the same name at different scopes, and we want them to have a unique
// name inside the IR
v = new IRVar(new IRName(d.name() + counter++), d.variableType().genIRTypeRef());
v.setSourceLocation(d.sourceLocation());
F.getLocals().add(v);
locals.put(d, v);
}
......
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