Treat all kArchNop instuctions as NOPs in jump threading.
BUG= Review-Url: https://codereview.chromium.org/2276323002 Cr-Commit-Position: refs/heads/master@{#38902}
This commit is contained in:
parent
a9fd19f4d1
commit
ede28d900c
@ -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 ||
|
||||
|
Loading…
Reference in New Issue
Block a user