chore: remove old code
This commit is contained in:
parent
32a317c152
commit
bbed4aed50
2 changed files with 0 additions and 13 deletions
|
|
@ -299,8 +299,6 @@ __attribute__((noreturn)) void lean_internal_panic(char const * msg);
|
|||
__attribute__((noreturn)) void lean_internal_panic_out_of_memory();
|
||||
__attribute__((noreturn)) void lean_internal_panic_unreachable();
|
||||
__attribute__((noreturn)) void lean_internal_panic_rc_overflow();
|
||||
__attribute__((noreturn)) void lean_panic_out_of_memory();
|
||||
__attribute__((noreturn)) void lean_panic_unreachable();
|
||||
|
||||
static inline size_t lean_align(size_t v, size_t a) {
|
||||
return (v / a)*a + a * (v % a != 0);
|
||||
|
|
|
|||
|
|
@ -41,17 +41,6 @@ extern "C" void lean_internal_panic_rc_overflow() {
|
|||
lean_internal_panic("reference counter overflowed");
|
||||
}
|
||||
|
||||
// TODO: delete after update-stage0
|
||||
extern "C" void lean_panic_out_of_memory() {
|
||||
lean_internal_panic_out_of_memory();
|
||||
}
|
||||
|
||||
// TODO: delete after update-stage0
|
||||
extern "C" void lean_panic_unreachable() {
|
||||
lean_internal_panic_unreachable();
|
||||
}
|
||||
|
||||
|
||||
bool g_exit_on_panic = false;
|
||||
|
||||
extern "C" void lean_set_exit_on_panic(bool flag) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue