Skip to content

Commit

Permalink
Debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Zoltan Herczeg committed Sep 27, 2024
1 parent eeb0fb4 commit 9477a07
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/runtime/Memory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -249,10 +249,12 @@ void Memory::TargetBuffer::deque(Memory* memory)
return;
}

printf("<<<<<<\n");
TargetBuffer* current = memory->m_targetBuffers;

if (current == this) {
memory->m_targetBuffers = next;
printf(">>>>> 1\n");
return;
}

Expand All @@ -261,6 +263,7 @@ void Memory::TargetBuffer::deque(Memory* memory)

if (current->next == this) {
current->next = next;
printf(">>>>> 2\n");
return;
}

Expand Down

0 comments on commit 9477a07

Please sign in to comment.