GeezerVison is showing github.com — deps: update brotli to 1.2.1 · nodejs/node@af48b1a
File treeExpand file treeCollapse file tree Open diff view settings Expand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboardExpand all lines: deps/brotli/c/common/platform.h +2-7Lines changed: 2 additions & 7 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -213,10 +213,6 @@ To apply compiler hint, enclose the branching condition into macros, like this: | 213 | 213 | #define BROTLI_TARGET_MIPS64 | 214 | 214 | #endif | 215 | 215 |
| 216 | | -#if defined(__ia64__) || defined(_M_IA64) | 217 | | -#define BROTLI_TARGET_IA64 | 218 | | -#endif | 219 | | - | 220 | 216 | #if defined(BROTLI_TARGET_X64) || defined(BROTLI_TARGET_ARMV8_64) || \ | 221 | 217 | defined(BROTLI_TARGET_POWERPC64) || defined(BROTLI_TARGET_RISCV64) || \ | 222 | 218 | defined(BROTLI_TARGET_LOONGARCH64) || defined(BROTLI_TARGET_MIPS64) | @@ -669,14 +665,13 @@ BROTLI_UNUSED_FUNCTION void BrotliSuppressUnusedFunctions(void) { | 669 | 665 | #undef BROTLI_TEST | 670 | 666 | #endif | 671 | 667 |
| 672 | | -#if !defined(BROTLI_MODEL) && BROTLI_GNUC_HAS_ATTRIBUTE(model, 3, 0, 3) && \ | 673 | | - !defined(BROTLI_TARGET_IA64) && !defined(BROTLI_TARGET_LOONGARCH64) | | 668 | +#if BROTLI_GNUC_HAS_ATTRIBUTE(model, 3, 0, 3) | 674 | 669 | #define BROTLI_MODEL(M) __attribute__((model(M))) | 675 | 670 | #else | 676 | 671 | #define BROTLI_MODEL(M) /* M */ | 677 | 672 | #endif | 678 | 673 |
| 679 | | -#if !defined(BROTLI_COLD) && BROTLI_GNUC_HAS_ATTRIBUTE(cold, 4, 3, 0) | | 674 | +#if BROTLI_GNUC_HAS_ATTRIBUTE(cold, 4, 3, 0) | 680 | 675 | #define BROTLI_COLD __attribute__((cold)) | 681 | 676 | #else | 682 | 677 | #define BROTLI_COLD /* cold */ | |
Collapse file Copy file name to clipboardExpand all lines: deps/brotli/c/common/version.h +2-2Lines changed: 2 additions & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 19 | 19 |
| 20 | 20 | #define BROTLI_VERSION_MAJOR 1 | 21 | 21 | #define BROTLI_VERSION_MINOR 2 | 22 | | -#define BROTLI_VERSION_PATCH 0 | | 22 | +#define BROTLI_VERSION_PATCH 1 | 23 | 23 |
| 24 | 24 | #define BROTLI_VERSION BROTLI_MAKE_HEX_VERSION( \ | 25 | 25 | BROTLI_VERSION_MAJOR, BROTLI_VERSION_MINOR, BROTLI_VERSION_PATCH) | | 33 | 33 | */ | 34 | 34 |
| 35 | 35 | #define BROTLI_ABI_CURRENT 3 | 36 | | -#define BROTLI_ABI_REVISION 0 | | 36 | +#define BROTLI_ABI_REVISION 1 | 37 | 37 | #define BROTLI_ABI_AGE 2 | 38 | 38 |
| 39 | 39 | #if BROTLI_VERSION_MAJOR != (BROTLI_ABI_CURRENT - BROTLI_ABI_AGE) | |
Collapse file Copy file name to clipboardExpand all lines: deps/brotli/c/dec/decode.c +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -1317,7 +1317,7 @@ DecodeDistanceBlockSwitch(BrotliDecoderState* s) { | 1317 | 1317 | return DecodeDistanceBlockSwitchInternal(0, s); | 1318 | 1318 | } | 1319 | 1319 |
| 1320 | | -static BROTLI_BOOL BROTLI_NOINLINE SafeDecodeDistanceBlockSwitch( | | 1320 | +static BROTLI_NOINLINE BrotliDecoderErrorCode SafeDecodeDistanceBlockSwitch( | 1321 | 1321 | BrotliDecoderState* s) { | 1322 | 1322 | return DecodeDistanceBlockSwitchInternal(1, s); | 1323 | 1323 | } | |
|