[turbofan] Do not generate unnecessary moves when casting a tagged value to a word.
We currently use BitcastTaggedToWord only in from the code assemblers to verify the correctness of the operation. BUG= Review-Url: https://codereview.chromium.org/2605073002 Cr-Commit-Position: refs/heads/master@{#41979}
This commit is contained in:
parent
e0f97ebb32
commit
6f62fd3d83
@ -1636,8 +1636,7 @@ void InstructionSelector::VisitStackSlot(Node* node) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void InstructionSelector::VisitBitcastTaggedToWord(Node* node) {
|
void InstructionSelector::VisitBitcastTaggedToWord(Node* node) {
|
||||||
OperandGenerator g(this);
|
EmitIdentity(node);
|
||||||
Emit(kArchNop, g.DefineSameAsFirst(node), g.Use(node->InputAt(0)));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void InstructionSelector::VisitBitcastWordToTagged(Node* node) {
|
void InstructionSelector::VisitBitcastWordToTagged(Node* node) {
|
||||||
|
Loading…
Reference in New Issue
Block a user