search for: level2fram

Displaying 2 results from an estimated 2 matches for "level2fram".

Did you mean: level2frame
2013 Jan 26
0
[LLVMdev] Closures, newbie question
...t I've done in the past, but I'm actually wondering whether it may not be easiest just to pass each frame in as a separate parameter and then let LLVM take care of the details: function level1() { var level1frame = { i = 0; }; level2(level1frame) } function level2(level1frame) { var level2frame = { }; level3(level1frame, level2frame) } function level3(level1frame, level2frame) { var level3frame = { j = 0 }; level4(level1frame, level2frame, level3frame) } function level4(level1frame, level2frame, level3frame) { return level1frame.i + level3frame.j; } My current project is a ver...
2013 Jan 26
2
[LLVMdev] Closures, newbie question
So I read the Kaleidoscope tutorial, big thanks to Chris Latter. Good pace, still excellent coverage. Just at the end it mentions closures and I was wondering how those are done in llvm. The link was to wikipedia, and i do know what closures/blocks/continuations are, (i think) but maybe someone could point me to where to read about how to do them in llvm. Thanks Torsten