mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-24 12:14:26 +03:00
196d08dd6d
* start implement drop spec * [RefC] remove vars after prim function call * [RefC] gc pointer processing changed * [RefC] fix memory leak in stringIteratorToString * [RefC] runtime.c refactoring * Implement basic reuse analisis * [RefC] do not delete reusable variables in value in let * [RefC] Use names instead tags in reuse map * [RefC] Don't set all fields to null in reuse constructor * Use record syntax in RefC * Add some utility functions to RefC * Sort output in garbageCollect refc test * Add memory leak test for RefC * [RefC] Remove variable only from body in let Co-authored-by: G. Allais <guillaume.allais@ens-lyon.org> * [RefC] Remove borrowed set from env * [RefC] Use Ref variable for Enviroment instead of passing as an argument * [RefC] Use locally function as combinator * [RefC] removing unnecessary dup and remove during pattern matching * Update refcTests and refcMemoryLeakTests * Remove some test files * move CHANGELOG entry to CHANGELOG_NEXT * Move refc-memory tests * Change calling convention test * [RefC] [Test] Reuse test --------- Co-authored-by: G. Allais <guillaume.allais@ens-lyon.org> Co-authored-by: Mathew Polzin <matt.polzin@gmail.com>
16 lines
359 B
C
16 lines
359 B
C
#pragma once
|
|
|
|
#include "cBackend.h"
|
|
|
|
void missing_ffi();
|
|
|
|
int isUnique(Value *value);
|
|
void removeReuseConstructor(Value_Constructor *constr);
|
|
|
|
Value *apply_closure(Value *, Value *arg);
|
|
void push_Arglist(Value_Arglist *arglist, Value *arg);
|
|
|
|
int extractInt(Value *);
|
|
Value *trampoline(Value *closure);
|
|
Value *tailcall_apply_closure(Value *_clos, Value *arg);
|