Skip to content

Commit

Permalink
bug: fix InternalNew's parameter being used as linenumber in its HX_S…
Browse files Browse the repository at this point in the history
…TACK_FRAME
  • Loading branch information
dazKind committed Sep 8, 2024
1 parent f25853d commit bb57cad
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/hx/gc/Immix.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6621,8 +6621,7 @@ void SetTopOfStack(int *inTop,bool inForce)

void *InternalNew(int inSize,bool inIsObject)
{
//HX_STACK_FRAME("GC", "new", 0, "GC::new", "src/hx/GCInternal.cpp", __LINE__, 0)
HX_STACK_FRAME("GC", "new", 0, "GC::new", "src/hx/GCInternal.cpp", inSize, 0)
HX_STACK_FRAME("GC", "new", 0, "GC::new", "src/hx/GCInternal.cpp", __LINE__, 0)

#ifdef HXCPP_DEBUG
if (sgSpamCollects && sgAllocsSinceLastSpam>=sgSpamCollects)
Expand Down

0 comments on commit bb57cad

Please sign in to comment.