Remove excessive padding from the struct CallStackFrame
The struct CallStackFrame is in lib/AST/ExprConstant.cpp inside anonymous namespace. This diff reorders the fields and removes excessive padding. Test plan: make -j8 check-clang Differential revision: https://reviews.llvm.org/D23901 llvm-svn: 281907
This commit is contained in:
parent
47d5614967
commit
fbcf29bc5a
@ -310,15 +310,9 @@ namespace {
|
||||
/// Parent - The caller of this stack frame.
|
||||
CallStackFrame *Caller;
|
||||
|
||||
/// CallLoc - The location of the call expression for this call.
|
||||
SourceLocation CallLoc;
|
||||
|
||||
/// Callee - The function which was called.
|
||||
const FunctionDecl *Callee;
|
||||
|
||||
/// Index - The call index of this call.
|
||||
unsigned Index;
|
||||
|
||||
/// This - The binding for the this pointer in this call, if any.
|
||||
const LValue *This;
|
||||
|
||||
@ -333,6 +327,12 @@ namespace {
|
||||
/// Temporaries - Temporary lvalues materialized within this stack frame.
|
||||
MapTy Temporaries;
|
||||
|
||||
/// CallLoc - The location of the call expression for this call.
|
||||
SourceLocation CallLoc;
|
||||
|
||||
/// Index - The call index of this call.
|
||||
unsigned Index;
|
||||
|
||||
CallStackFrame(EvalInfo &Info, SourceLocation CallLoc,
|
||||
const FunctionDecl *Callee, const LValue *This,
|
||||
APValue *Arguments);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user