mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 13:10:12 +03:00
Merge pull request #11573 from NilsLankila/symexp-varexp-size
optimize instance size of SymbolExp and VarExp
This commit is contained in:
commit
491c044710
2 changed files with 2 additions and 2 deletions
|
@ -3458,8 +3458,8 @@ extern (C++) final class NewAnonClassExp : Expression
|
|||
extern (C++) class SymbolExp : Expression
|
||||
{
|
||||
Declaration var;
|
||||
bool hasOverloads;
|
||||
Dsymbol originalScope; // original scope before inlining
|
||||
bool hasOverloads;
|
||||
|
||||
extern (D) this(const ref Loc loc, TOK op, int size, Declaration var, bool hasOverloads)
|
||||
{
|
||||
|
|
|
@ -540,8 +540,8 @@ class SymbolExp : public Expression
|
|||
{
|
||||
public:
|
||||
Declaration *var;
|
||||
bool hasOverloads;
|
||||
Dsymbol *originalScope;
|
||||
bool hasOverloads;
|
||||
|
||||
void accept(Visitor *v) { v->visit(this); }
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue