| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent b982335 commit 0da3bee
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -36,7 +36,7 @@ | |||
| 36 | 36 | ||
| 37 | 37 | # Reset this number to 0 on major V8 upgrades. | |
| 38 | 38 | # Increment by one for each non-official patch applied to deps/v8. | |
| 39 | - 'v8_embedder_string': '-node.11', | ||
| 39 | + 'v8_embedder_string': '-node.12', | ||
| 40 | 40 | ||
| 41 | 41 | ##### V8 defaults for Node.js ##### | |
| 42 | 42 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -419,7 +419,11 @@ class ParallelMoveResolver { | |||
| 419 | 419 | void EmitMovesFromSource(RegisterT source_reg, GapMoveTargets&& targets) { | |
| 420 | 420 | DCHECK(moves_from_register_[source_reg.code()].is_empty()); | |
| 421 | 421 | if constexpr (DecompressIfNeeded) { | |
| 422 | - static_assert(COMPRESS_POINTERS_BOOL); | ||
| 422 | + // The DecompressIfNeeded clause is redundant with the if-constexpr above, | ||
| 423 | + // but otherwise this code cannot be compiled by compilers not yet | ||
| 424 | + // implementing CWG2518. | ||
| 425 | + static_assert(DecompressIfNeeded && COMPRESS_POINTERS_BOOL); | ||
| 426 | + | ||
| 423 | 427 | if (targets.needs_decompression == kNeedsDecompression) { | |
| 424 | 428 | __ DecompressTagged(source_reg, source_reg); | |
| 425 | 429 | } | |
@@ -462,7 +466,11 @@ class ParallelMoveResolver { | |||
| 462 | 466 | // Decompress after the first move, subsequent moves reuse this register so | |
| 463 | 467 | // they're guaranteed to be decompressed. | |
| 464 | 468 | if constexpr (DecompressIfNeeded) { | |
| 465 | - static_assert(COMPRESS_POINTERS_BOOL); | ||
| 469 | + // The DecompressIfNeeded clause is redundant with the if-constexpr above, | ||
| 470 | + // but otherwise this code cannot be compiled by compilers not yet | ||
| 471 | + // implementing CWG2518. | ||
| 472 | + static_assert(DecompressIfNeeded && COMPRESS_POINTERS_BOOL); | ||
| 473 | + | ||
| 466 | 474 | if (targets.needs_decompression == kNeedsDecompression) { | |
| 467 | 475 | __ DecompressTagged(register_with_slot_value, register_with_slot_value); | |
| 468 | 476 | targets.needs_decompression = kDoesNotNeedDecompression; | |
| Back | FazBrowse Home | New Git URL |
0 commit comments