Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
rainers committed Nov 3, 2017
1 parent 2888550 commit 63d5a20
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/gc/impl/conservative/gc.d
Original file line number Diff line number Diff line change
Expand Up @@ -2318,8 +2318,9 @@ struct Gcx
// normalize pointers so we only have to save a single pointer
auto nbase = isPtrBase ? cast(void**)(cast(size_t)p1 & p1BaseMask) : null;
isPtrBase += (nbase - p1base) / GCBits.BITS_PER_WORD;
toscan.push(ScanRange!precise(p1, p2, isPtrBase));
}
static if(precise)
toscan.push(ScanRange!precise(p1, p2, isPtrBase));
else
toscan.push(ScanRange!precise(p1, p2));
// reverse order for depth-first-order traversal
Expand Down

0 comments on commit 63d5a20

Please sign in to comment.