diff options
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.h')
-rw-r--r-- | lib/CodeGen/CodeGenFunction.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/CodeGen/CodeGenFunction.h b/lib/CodeGen/CodeGenFunction.h index 600582c96e..952c3b3c1c 100644 --- a/lib/CodeGen/CodeGenFunction.h +++ b/lib/CodeGen/CodeGenFunction.h @@ -166,6 +166,11 @@ private: /// statement range in current switch instruction. llvm::BasicBlock *CaseRangeBlock; + /// StackSaveValues - A stack(!) of stack save values. When a new scope is + /// entered, a null is pushed on this stack. If a VLA is emitted, then + /// the return value of llvm.stacksave() is stored at the top of this stack. + llvm::SmallVector<llvm::Value*, 8> StackSaveValues; + public: CodeGenFunction(CodeGenModule &cgm); |