[PATCH] D23901: Minor cleanup of the class CallStackFrame

Alexander Shaposhnikov via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 19 09:06:11 PDT 2016


This revision was automatically updated to reflect the committed changes.
Closed by commit rL281907: Remove excessive padding from the struct CallStackFrame (authored by alexshap).

Changed prior to commit:
  https://reviews.llvm.org/D23901?vs=69310&id=71838#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D23901

Files:
  cfe/trunk/lib/AST/ExprConstant.cpp

Index: cfe/trunk/lib/AST/ExprConstant.cpp
===================================================================
--- cfe/trunk/lib/AST/ExprConstant.cpp
+++ cfe/trunk/lib/AST/ExprConstant.cpp
@@ -310,15 +310,9 @@
     /// 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 @@
     /// 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);


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D23901.71838.patch
Type: text/x-patch
Size: 1107 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160919/edca8969/attachment.bin>


More information about the cfe-commits mailing list