Index: src/compiler/instruction.h |
diff --git a/src/compiler/instruction.h b/src/compiler/instruction.h |
index b5aea707d2e3ac21ff6f5f9db52faa06e22d9157..74efd86fbecef0510076425900b4a1d6743003ac 100644 |
--- a/src/compiler/instruction.h |
+++ b/src/compiler/instruction.h |
@@ -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 || |