Remove codegen referencing b_wstart_dst.

This commit is contained in:
Nigel Tao committed 2017-10-26 12:54:15 +11:00
1 parent 0d32b6cb47
commit 9550f37359
5 files changed
+37 -33

No files matched your search

+4 -1
View File
@@ -451,10 +451,13 @@ static inline uint64_t puffs_base__slice_u8__copy_from_slice(
static inline uint32_t puffs_base__writer1__copy_from_history32(
uint8_t** ptr_ptr,
uint8_t* start,
uint8_t* start, // May be NULL, meaning an unmarked writer1.
uint8_t* end,
uint32_t distance,
uint32_t length) {
if (!start) {
return 0;
}
uint8_t* ptr = *ptr_ptr;
size_t d = ptr - start;
if ((d == 0) || (d < (size_t)(distance))) {