diff options
| author | Mike Pall <mike> | 2010-02-12 16:17:42 +0100 |
|---|---|---|
| committer | Mike Pall <mike> | 2010-02-12 16:17:42 +0100 |
| commit | 4f8d7be8ea8a103f4d9046188d6005740b74f3d4 (patch) | |
| tree | d479056818fdc9eda68902fd894aa4d73b5a3fa3 | |
| parent | 2e5d3740aeae0c5f0f1d2f853cbac145fe52469b (diff) | |
| download | luajit-4f8d7be8ea8a103f4d9046188d6005740b74f3d4.tar.gz luajit-4f8d7be8ea8a103f4d9046188d6005740b74f3d4.tar.bz2 luajit-4f8d7be8ea8a103f4d9046188d6005740b74f3d4.zip | |
Extend scope of local vars in debug info beyond final return.
| -rw-r--r-- | src/lj_parse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lj_parse.c b/src/lj_parse.c index ed695e19..acc25519 100644 --- a/src/lj_parse.c +++ b/src/lj_parse.c | |||
| @@ -1155,9 +1155,9 @@ static GCproto *fs_finish(LexState *ls, BCLine line) | |||
| 1155 | GCproto *pt; | 1155 | GCproto *pt; |
| 1156 | 1156 | ||
| 1157 | /* Apply final fixups. */ | 1157 | /* Apply final fixups. */ |
| 1158 | var_remove(ls, 0); | ||
| 1159 | lua_assert(fs->bl == NULL); | 1158 | lua_assert(fs->bl == NULL); |
| 1160 | fs_fixup_ret(fs); | 1159 | fs_fixup_ret(fs); |
| 1160 | var_remove(ls, 0); | ||
| 1161 | 1161 | ||
| 1162 | /* Calculate total size of prototype including all colocated arrays. */ | 1162 | /* Calculate total size of prototype including all colocated arrays. */ |
| 1163 | sizept = sizeof(GCproto) + fs->pc*sizeof(BCIns) + fs->nkgc*sizeof(GCRef); | 1163 | sizept = sizeof(GCproto) + fs->pc*sizeof(BCIns) + fs->nkgc*sizeof(GCRef); |
