mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-11 18:33:14 +01:00
Removed trailing whitespace.
This commit is contained in:
@@ -158,7 +158,7 @@ IrFunction::IrFunction(FuncDeclaration* fd)
|
||||
frameType = NULL;
|
||||
depth = -1;
|
||||
nestedContextCreated = false;
|
||||
|
||||
|
||||
_arguments = NULL;
|
||||
_argptr = NULL;
|
||||
}
|
||||
|
||||
@@ -33,10 +33,10 @@ struct IRTargetScope
|
||||
{
|
||||
// generating statement
|
||||
Statement* s;
|
||||
|
||||
|
||||
// the try of a TryFinally that encloses the loop
|
||||
EnclosingHandler* enclosinghandler;
|
||||
|
||||
|
||||
llvm::BasicBlock* breakTarget;
|
||||
llvm::BasicBlock* continueTarget;
|
||||
|
||||
@@ -84,7 +84,7 @@ struct IrFunction : IrBase
|
||||
{
|
||||
// constructor
|
||||
IrFunction(FuncDeclaration* fd);
|
||||
|
||||
|
||||
// annotations
|
||||
void setNeverInline();
|
||||
void setAlwaysInline();
|
||||
@@ -98,21 +98,21 @@ struct IrFunction : IrBase
|
||||
|
||||
bool queued;
|
||||
bool defined;
|
||||
|
||||
|
||||
llvm::Value* retArg; // return in ptr arg
|
||||
llvm::Value* thisArg; // class/struct 'this' arg
|
||||
llvm::Value* nestArg; // nested function 'this' arg
|
||||
|
||||
|
||||
llvm::Value* nestedVar; // nested var alloca
|
||||
llvm::StructType* frameType; // type of nested context (not for -nested-ctx=array)
|
||||
// number of enclosing functions with variables accessed by nested functions
|
||||
// (-1 if neither this function nor any enclosing ones access variables from enclosing functions)
|
||||
int depth;
|
||||
bool nestedContextCreated; // holds whether nested context is created
|
||||
|
||||
|
||||
llvm::Value* _arguments;
|
||||
llvm::Value* _argptr;
|
||||
|
||||
|
||||
llvm::DISubprogram diSubprogram;
|
||||
std::stack<llvm::DILexicalBlock> diLexicalBlocks;
|
||||
};
|
||||
|
||||
@@ -42,7 +42,7 @@ struct IrStruct : IrBase
|
||||
/// Aggregate D type.
|
||||
Type* type;
|
||||
|
||||
/// true only for: align(1) struct S { ... }
|
||||
/// true only for: align(1) struct S { ... }
|
||||
bool packed;
|
||||
|
||||
/// Composite type debug description.
|
||||
|
||||
Reference in New Issue
Block a user