[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: Tobias Tebbi <tebbi@chromium.org>
Cr-Commit-Position: refs/heads/master@{#65250}
This commit is contained in:
Santiago Aboy Solanes 2019-11-28 09:57:52 +00:00 committed by Commit Bot
parent 1253141ebc
commit 1cfa7b8ce7
2 changed files with 4 additions and 3 deletions

View File

@ -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);

View File

@ -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.