Commit 1cfa7b8c authored by Santiago Aboy Solanes's avatar Santiago Aboy Solanes Committed by Commit Bot

[ptr-compr][cleanup] Rename RemoveChangeTaggedToCompressed

git cl upload failed since I needed to do a git cl format. Missed that
and uploaded https://chromium-review.googlesource.com/c/v8/v8/+/1940153
without the rename.

Bug: v8:7703
Change-Id: I26090433af86968357eaeecf3e906a9e824647a5
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1940260
Auto-Submit: Santiago Aboy Solanes <solanes@chromium.org>
Commit-Queue: Tobias Tebbi <tebbi@chromium.org>
Reviewed-by: 's avatarTobias Tebbi <tebbi@chromium.org>
Cr-Commit-Position: refs/heads/master@{#65250}
parent 1253141e
......@@ -246,7 +246,8 @@ void DecompressionOptimizer::ChangeLoad(Node* const node) {
}
}
void DecompressionOptimizer::RemoveChangeTaggedToCompressed(Node* const node) {
void DecompressionOptimizer::TryRemoveChangeTaggedToCompressed(
Node* const node) {
DCHECK(IsChangeTaggedToCompressed(node));
Node* input = node->InputAt(0);
// We can safely eliminate a ChangeTaggedToCompressed node if its input is
......@@ -271,7 +272,7 @@ void DecompressionOptimizer::ChangeNodes() {
switch (node->opcode()) {
case IrOpcode::kChangeTaggedToCompressed:
RemoveChangeTaggedToCompressed(node);
TryRemoveChangeTaggedToCompressed(node);
break;
case IrOpcode::kHeapConstant:
ChangeHeapConstant(node);
......
......@@ -69,7 +69,7 @@ class V8_EXPORT_PRIVATE DecompressionOptimizer final {
// Remove a ChangeTaggedToCompressed if its input is going to become a
// compressed node.
void RemoveChangeTaggedToCompressed(Node* const node);
void TryRemoveChangeTaggedToCompressed(Node* const node);
// Go through the already marked nodes and changed the operation for the nodes
// that can use compressed outputs.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment