diff ir/irfunction.h @ 1216:033f18ec1371

Unify %.frames_list and %.frame into a single data structure, generalizing r1212 to all frames instead of just the outer-most one.
author Frits van Bommel <fvbommel wxs.nl>
date Wed, 15 Apr 2009 20:59:19 +0200
parents df2227fdc860
children 5f340a6dc749
line wrap: on
line diff
--- a/ir/irfunction.h	Mon Apr 13 17:42:36 2009 +0200
+++ b/ir/irfunction.h	Wed Apr 15 20:59:19 2009 +0200
@@ -45,8 +45,8 @@
     llvm::Value* nestArg; // nested function 'this' arg
     
     llvm::Value* nestedVar; // nested var alloca
-    const llvm::StructType* framesType; // type of nested context (not for -nested-ctx=array)
-    bool elidedCtxList; // whether the nested context is a raw frame instead of a list of frames (-nested-ctx=hybrid only)
+    const llvm::StructType* frameType; // type of nested context (not for -nested-ctx=array)
+    unsigned depth; // number of enclosing functions with variables accessed by nested functions
     
     llvm::Value* _arguments;
     llvm::Value* _argptr;