Get rid of Function::block/setBlock.

This commit is contained in:
Roberto Raggi
2010-08-16 11:13:20 +02:00
parent 5cc32e1079
commit 833f097c1d
3 changed files with 4 additions and 16 deletions

View File

@@ -1905,7 +1905,6 @@ bool Bind::visit(FunctionDefinitionAST *ast)
if (CompoundStatementAST *c = ast->function_body->asCompoundStatement()) {
if (c->symbol) {
fun->setBlock(c->symbol);
fun->setEndOffset(c->symbol->endOffset());
}
}