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

@@ -95,7 +95,7 @@ public:
iterator lastSymbol() const;
Symbol *lookat(const Identifier *id) const;
Symbol *lookat(int operatorId) const;
Symbol *lookat(OperatorNameId::Kind operatorId) const;
private:
/// Returns the hash value for the given Symbol.
@@ -186,7 +186,7 @@ Symbol *SymbolTable::lookat(const Identifier *id) const
return symbol;
}
Symbol *SymbolTable::lookat(int operatorId) const
Symbol *SymbolTable::lookat(OperatorNameId::Kind operatorId) const
{
if (! _hash)
return 0;
@@ -290,7 +290,7 @@ Scope::iterator Scope::lastMember() const
Symbol *Scope::find(const Identifier *id) const
{ return _members ? _members->lookat(id) : 0; }
Symbol *Scope::find(int operatorId) const
Symbol *Scope::find(OperatorNameId::Kind operatorId) const
{ return _members ? _members->lookat(operatorId) : 0; }
/// Set the start offset of the scope