mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-24 04:25:06 +02:00
WIP
This commit is contained in:
parent
15b5789e8d
commit
5a0d685412
1 changed files with 6 additions and 0 deletions
|
@ -14,6 +14,12 @@
|
||||||
|
|
||||||
static void __host_lambda_1(void *data, int pc, int argc, object *args) { // TODO: self? cont?
|
static void __host_lambda_1(void *data, int pc, int argc, object *args) { // TODO: self? cont?
|
||||||
object top;
|
object top;
|
||||||
|
object stack[??];
|
||||||
|
// TODO: stack length?
|
||||||
|
|
||||||
|
// TODO: initialize "stack" here, and unload arguments.
|
||||||
|
// TODO: assume the compile can compute the stack's max size, since it knows the number of args each function has
|
||||||
|
|
||||||
loop:
|
loop:
|
||||||
top = alloca(
|
top = alloca(
|
||||||
// TODO: if exceeded stack limit, initiate minor GC
|
// TODO: if exceeded stack limit, initiate minor GC
|
||||||
|
|
Loading…
Add table
Reference in a new issue