Commit ede28d90 authored by georgia.kouveli's avatar georgia.kouveli Committed by Commit bot

Treat all kArchNop instuctions as NOPs in jump threading.

BUG=

Review-Url: https://codereview.chromium.org/2276323002
Cr-Commit-Position: refs/heads/master@{#38902}
parent a9fd19f4
......@@ -856,10 +856,7 @@ class Instruction final {
reference_map_ = nullptr;
}
bool IsNop() const {
return arch_opcode() == kArchNop && InputCount() == 0 &&
OutputCount() == 0 && TempCount() == 0;
}
bool IsNop() const { return arch_opcode() == kArchNop; }
bool IsDeoptimizeCall() const {
return arch_opcode() == ArchOpcode::kArchDeoptimize ||
......
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