mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 13:10:12 +03:00
Merge pull request #3888 from schuetzm/remove-unused-STCcomdat
Remove unused storage class STCcomdat
This commit is contained in:
commit
1f0391d003
2 changed files with 1 additions and 5 deletions
|
@ -55,7 +55,6 @@ enum PURE;
|
|||
#define STCout 0x1000LL // out parameter
|
||||
#define STClazy 0x2000LL // lazy parameter
|
||||
#define STCforeach 0x4000LL // variable for foreach loop
|
||||
#define STCcomdat 0x8000LL // should go into COMDAT record
|
||||
#define STCvariadic 0x10000LL // variadic function argument
|
||||
#define STCctorinit 0x20000LL // can only be set inside constructor
|
||||
#define STCtemplateparameter 0x40000LL // template parameter
|
||||
|
|
|
@ -928,10 +928,7 @@ void VarDeclaration::toObjFile(bool multiobj)
|
|||
|
||||
parent = this->toParent();
|
||||
{
|
||||
if (storage_class & STCcomdat)
|
||||
s->Sclass = SCcomdat;
|
||||
else
|
||||
s->Sclass = SCglobal;
|
||||
s->Sclass = SCglobal;
|
||||
|
||||
do
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue