comparison dmd2/declaration.h @ 1487:f62347c22d81

Apply changes from r1482 to D2 frontend too. Completely untested, but ldc2 compiles again.
author Frits van Bommel <fvbommel wxs.nl>
date Mon, 08 Jun 2009 13:45:26 +0200
parents 638d16625da2
children 54b3c1394d62
comparison
equal deleted inserted replaced
1486:9ed0695cb93c 1487:f62347c22d81
310 310
311 /// Index into parent aggregate. 311 /// Index into parent aggregate.
312 /// Set during type generation. 312 /// Set during type generation.
313 unsigned aggrIndex; 313 unsigned aggrIndex;
314 314
315 /// Variables that wouldn't have gotten semantic3'ed if we weren't inlining set this flag.
316 bool availableExternally;
317 /// Override added to set above flag.
318 void semantic3(Scope *sc);
319
315 // FIXME: we're not using these anymore! 320 // FIXME: we're not using these anymore!
316 AnonDeclaration* anonDecl; 321 AnonDeclaration* anonDecl;
317 unsigned offset2; 322 unsigned offset2;
318 323
319 /// This var is used by a naked function. 324 /// This var is used by a naked function.
775 LabelMap labmap; 780 LabelMap labmap;
776 781
777 // if this is an array operation it gets a little special attention 782 // if this is an array operation it gets a little special attention
778 bool isArrayOp; 783 bool isArrayOp;
779 784
785 // Functions that wouldn't have gotten semantic3'ed if we weren't inlining set this flag.
786 bool availableExternally;
787
780 // true if overridden with the pragma(allow_inline); stmt 788 // true if overridden with the pragma(allow_inline); stmt
781 bool allowInlining; 789 bool allowInlining;
782 #endif 790 #endif
783 }; 791 };
784 792