mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 21:39:07 +00:00
some debugging logs
This commit is contained in:
parent
be2c31fe91
commit
7c67f8aafb
2 changed files with 15 additions and 3 deletions
|
@ -219,6 +219,9 @@ pub fn decrefDataPtrC(
|
|||
bytes_or_null: ?[*]isize,
|
||||
alignment: u32,
|
||||
) callconv(.C) void {
|
||||
if (DEBUG_ALLOC and builtin.target.cpu.arch != .wasm32) {
|
||||
std.debug.print("we will decref the data pointer {*}\n", .{bytes_or_null});
|
||||
}
|
||||
var bytes = bytes_or_null orelse return;
|
||||
|
||||
const data_ptr = @ptrToInt(bytes);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue