diff options
author | Alexander Shaposhnikov <shal1t712@gmail.com> | 2016-09-19 15:57:29 +0000 |
---|---|---|
committer | Alexander Shaposhnikov <shal1t712@gmail.com> | 2016-09-19 15:57:29 +0000 |
commit | fbcf29bc5af991c4d4ffa511eaeb8fbfccd439b1 (patch) | |
tree | ef4e5e02c8841ce36afb476f8a204d568698b24c | |
parent | 47d5614967e9b756d4fb3408c8eae99b980fc7af (diff) | |
download | bcm5719-llvm-fbcf29bc5af991c4d4ffa511eaeb8fbfccd439b1.tar.gz bcm5719-llvm-fbcf29bc5af991c4d4ffa511eaeb8fbfccd439b1.zip |
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
-rw-r--r-- | clang/lib/AST/ExprConstant.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/clang/lib/AST/ExprConstant.cpp b/clang/lib/AST/ExprConstant.cpp index 15b554bf27a..3271d1e52d7 100644 --- a/clang/lib/AST/ExprConstant.cpp +++ b/clang/lib/AST/ExprConstant.cpp @@ -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); |