mirror of
https://github.com/roc-lang/roc.git
synced 2025-07-24 15:03:46 +00:00
trim some debug messages
This commit is contained in:
parent
fddec0ca24
commit
5ebd18cee0
1 changed files with 0 additions and 8 deletions
|
@ -293,10 +293,6 @@ inline fn free_ptr_to_refcount(
|
|||
const extra_bytes = std.math.max(alignment, @sizeOf(usize));
|
||||
const allocation_ptr = @ptrCast([*]u8, refcount_ptr) - (extra_bytes - @sizeOf(usize));
|
||||
|
||||
if (DEBUG_ALLOC and builtin.target.cpu.arch != .wasm32) {
|
||||
std.debug.print("💀 free {*}\n", .{allocation_ptr});
|
||||
}
|
||||
|
||||
// NOTE: we don't even check whether the refcount is "infinity" here!
|
||||
dealloc(allocation_ptr, alignment);
|
||||
|
||||
|
@ -429,10 +425,6 @@ pub fn allocateWithRefcount(
|
|||
const alignment = std.math.max(ptr_width, element_alignment);
|
||||
const length = alignment + data_bytes;
|
||||
|
||||
if (DEBUG_ALLOC and builtin.target.cpu.arch != .wasm32) {
|
||||
std.debug.print("+ before allocate {} {} {} \n", .{ data_bytes, element_alignment, length });
|
||||
}
|
||||
|
||||
var new_bytes: [*]u8 = alloc(length, alignment) orelse unreachable;
|
||||
|
||||
if (DEBUG_ALLOC and builtin.target.cpu.arch != .wasm32) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue