[turbofan] Fix typo in kMaximumReprSizeInBytes
Computation of this constant should obviously use kMaximumReprSizeLog2. It's unclear if this could have caused observable misbehavior. Change-Id: Iafdcbeb77d582f5f4e4aad07581377b74bb776c6 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3854316 Reviewed-by: Tobias Tebbi <tebbi@chromium.org> Auto-Submit: Jakob Kummerow <jkummerow@chromium.org> Commit-Queue: Jakob Kummerow <jkummerow@chromium.org> Commit-Queue: Tobias Tebbi <tebbi@chromium.org> Cr-Commit-Position: refs/heads/main@{#82706}
This commit is contained in:
parent
850d7980f4
commit
365fd52456
@ -417,7 +417,7 @@ V8_EXPORT_PRIVATE inline constexpr int ElementSizeLog2Of(
|
||||
|
||||
constexpr int kMaximumReprSizeLog2 =
|
||||
ElementSizeLog2Of(MachineRepresentation::kSimd128);
|
||||
constexpr int kMaximumReprSizeInBytes = 1 << kTaggedSizeLog2;
|
||||
constexpr int kMaximumReprSizeInBytes = 1 << kMaximumReprSizeLog2;
|
||||
|
||||
static_assert(kMaximumReprSizeLog2 >=
|
||||
ElementSizeLog2Of(MachineRepresentation::kTagged));
|
||||
|
Loading…
Reference in New Issue
Block a user