entryHeapCheck: fix calls to stg_gc_fun and stg_gc_enter_1
We weren't passing the arguments correctly to the GC functions, which usually happened to work because the arguments were in the right registers already. After this fix the profiling tests go through with the new code generator.
Please register or sign in to comment