summaryrefslogtreecommitdiff
path: root/src/iter.c
diff options
context:
space:
mode:
authorAdrian Thurston <thurston@complang.org>2015-04-03 10:21:10 -0400
committerAdrian Thurston <thurston@complang.org>2015-04-03 10:21:29 -0400
commit6bdea623f33a6e11e263b9983f6863b54023e399 (patch)
tree26bcc5defd47b086f8e21fd6dd981ddde0cf57e7 /src/iter.c
parent5637cd8e39200fd421a6cc77d79a2bbf78a3c925 (diff)
downloadcolm-6bdea623f33a6e11e263b9983f6863b54023e399.tar.gz
removed the INIT_LOCALS instruction, building it into call op
Diffstat (limited to 'src/iter.c')
-rw-r--r--src/iter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/iter.c b/src/iter.c
index 888fb3fd..402b8ae5 100644
--- a/src/iter.c
+++ b/src/iter.c
@@ -214,7 +214,7 @@ void uiterInit( Program *prg, Tree **sp, UserIter *uiter,
/* Set up the first yeild so when we resume it starts at the beginning. */
uiter->ref.kid = 0;
uiter->yieldSize = vm_ssize() - uiter->rootSize;
- uiter->frame = &uiter->stackRoot[-IFR_AA];
+ // uiter->frame = &uiter->stackRoot[-IFR_AA];
if ( revertOn )
uiter->resume = prg->rtd->frameInfo[fi->frameId].codeWV;