This commit is contained in:
Yuichi Nishiwaki 2013-10-30 16:43:15 +09:00
parent b7e55b043f
commit 6fcce1cd23
3 changed files with 4 additions and 4 deletions

View File

@ -54,4 +54,6 @@ struct pic_irep {
bool varg;
};
void print_irep(pic_state *, struct pic_irep *);
#endif

View File

@ -94,8 +94,6 @@ new_irep(pic_state *pic)
return irep;
}
static void print_irep(pic_state *, struct pic_irep *);
typedef struct codegen_state {
pic_state *pic;
codegen_scope *scope;
@ -698,7 +696,7 @@ pic_defun(pic_state *pic, const char *name, pic_func_t cfunc)
pic->globals[idx] = pic_obj_value(proc);
}
static void
void
print_irep(pic_state *pic, struct pic_irep *irep)
{
int i;

View File

@ -386,7 +386,7 @@ gc_sweep_phase(pic_state *pic)
void
pic_gc_run(pic_state *pic)
{
#if GC_DEBUG
#if DEBUG
puts("gc run!");
#endif
gc_mark_phase(pic);