Index: src/compiler/ia32/code-generator-ia32.cc |
diff --git a/src/compiler/ia32/code-generator-ia32.cc b/src/compiler/ia32/code-generator-ia32.cc |
index 31a01798a942cc05810d272b7d69d992b8b47b52..9fef740810180eaf6dfa10d39c7cf9110525b56a 100644 |
--- a/src/compiler/ia32/code-generator-ia32.cc |
+++ b/src/compiler/ia32/code-generator-ia32.cc |
@@ -938,19 +938,6 @@ void CodeGenerator::AddNopForSmiCodeInlining() { __ nop(); } |
#undef __ |
-#ifdef DEBUG |
- |
-// Checks whether the code between start_pc and end_pc is a no-op. |
-bool CodeGenerator::IsNopForSmiCodeInlining(Handle<Code> code, int start_pc, |
- int end_pc) { |
- if (start_pc + 1 != end_pc) { |
- return false; |
- } |
- return *(code->instruction_start() + start_pc) == |
- v8::internal::Assembler::kNopByte; |
-} |
- |
-#endif // DEBUG |
} |
} |
} // namespace v8::internal::compiler |