Skip to content

Commit

Permalink
Update createramclass.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
h3110n3rv3 committed Jan 27, 2025
1 parent 5e7e3fd commit 2ed701c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions runtime/vm/createramclass.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3970,9 +3970,7 @@ allocateRemainingFragments(RAMClassAllocationRequest *requests, UDATA allocation
}

/* Add sizeof(UDATA) to hold the "lastAllocatedClass" pointer */
if (SUB4G == segmentKind) {
newSegmentSize += sizeof(UDATA);
}
newSegmentSize += sizeof(UDATA);

/* Allocate a new segment of the required size */

Expand Down

0 comments on commit 2ed701c

Please sign in to comment.