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:
georgia.kouveli 2016-08-25 04:48:45 -07:00 committed by Commit bot
parent a9fd19f4d1
commit ede28d900c

View File

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