scratch space

This commit is contained in:
2023-01-21 04:10:47 +08:00
parent e588e4b0dc
commit a91ab1841d
5 changed files with 15 additions and 18 deletions
+2
View File
@@ -683,6 +683,8 @@ class groupby_c(ast_node):
else:
gscanner.add(f'{ce[0]}.emplace_back({get_var_names_ex(ex)});\n')
gscanner.add(f'GC::scratch_space->release();')
gscanner.finalize()
self.context.emitc(f'GC::scratch_space = nullptr;')