Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kouvel committed Mar 8, 2017
1 parent 9354f67 commit 2451121
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/vm/comutilnative.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1526,13 +1526,13 @@ FCIMPL3(VOID, MemoryNative::BulkMoveWithWriteBarrier, void *dst, void *src, size
if ((size_t)dst - (size_t)src >= byteCount)
{
InlinedForwardGCSafeCopy(dst, src, byteCount);
InlinedSetCardsAfterBulkCopy(reinterpret_cast<Object **>(dst), byteCount);
}
else
{
InlinedBackwardGCSafeCopy(dst, src, byteCount);
InlinedSetCardsAfterBulkCopy(reinterpret_cast<Object **>(dst), byteCount);
}

InlinedSetCardsAfterBulkCopy(reinterpret_cast<Object **>(dst), byteCount);
}
FCIMPLEND

Expand Down

0 comments on commit 2451121

Please sign in to comment.