Unify %.frames_list and %.frame into a single data structure, generalizing r1212

to all frames instead of just the outer-most one.
This commit is contained in:
Frits van Bommel
2009-04-15 20:59:19 +02:00
parent 909c6dae18
commit c19ab2e539
3 changed files with 121 additions and 110 deletions

View File

@@ -45,8 +45,8 @@ struct IrFunction : IrBase
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;