Fixed alignment issues with 64 bits ABIs.

This commit is contained in:
Roberto Raggi
2010-09-03 12:11:15 +02:00
parent 8d55ce4c82
commit c6bfe05083
14 changed files with 42 additions and 41 deletions

View File

@@ -626,7 +626,7 @@ bool Bind::visit(OperatorAST *ast)
return false;
}
int Bind::cppOperator(OperatorAST *ast)
OperatorNameId::Kind Bind::cppOperator(OperatorAST *ast)
{
OperatorNameId::Kind kind = OperatorNameId::InvalidOp;
@@ -2423,7 +2423,7 @@ bool Bind::visit(QualifiedNameAST *ast)
bool Bind::visit(OperatorFunctionIdAST *ast)
{
const int op = this->cppOperator(ast->op);
const OperatorNameId::Kind op = this->cppOperator(ast->op);
ast->name = _name = control()->operatorNameId(op);
return false;
}