mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 21:21:48 +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 STCout 0x1000LL // out parameter
|
||||||
#define STClazy 0x2000LL // lazy parameter
|
#define STClazy 0x2000LL // lazy parameter
|
||||||
#define STCforeach 0x4000LL // variable for foreach loop
|
#define STCforeach 0x4000LL // variable for foreach loop
|
||||||
#define STCcomdat 0x8000LL // should go into COMDAT record
|
|
||||||
#define STCvariadic 0x10000LL // variadic function argument
|
#define STCvariadic 0x10000LL // variadic function argument
|
||||||
#define STCctorinit 0x20000LL // can only be set inside constructor
|
#define STCctorinit 0x20000LL // can only be set inside constructor
|
||||||
#define STCtemplateparameter 0x40000LL // template parameter
|
#define STCtemplateparameter 0x40000LL // template parameter
|
||||||
|
|
|
@ -928,10 +928,7 @@ void VarDeclaration::toObjFile(bool multiobj)
|
||||||
|
|
||||||
parent = this->toParent();
|
parent = this->toParent();
|
||||||
{
|
{
|
||||||
if (storage_class & STCcomdat)
|
s->Sclass = SCglobal;
|
||||||
s->Sclass = SCcomdat;
|
|
||||||
else
|
|
||||||
s->Sclass = SCglobal;
|
|
||||||
|
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue