Index: src/interpreter/source-position-table.cc |
diff --git a/src/interpreter/source-position-table.cc b/src/interpreter/source-position-table.cc |
index b82f608ac4001bd2ba72b4a8cb2d594024893321..2a8800548bd76bd499de5a5c591e3433ed02687b 100644 |
--- a/src/interpreter/source-position-table.cc |
+++ b/src/interpreter/source-position-table.cc |
@@ -77,17 +77,6 @@ void SourcePositionTableIterator::Advance() { |
index_ += 2; |
} |
-int SourcePositionTableIterator::PositionFromBytecodeOffset( |
- BytecodeArray* bytecode_array, int bytecode_offset) { |
- int last_position = 0; |
- for (SourcePositionTableIterator iterator(bytecode_array); |
- !iterator.done() && iterator.bytecode_offset() <= bytecode_offset; |
- iterator.Advance()) { |
- last_position = iterator.source_position(); |
- } |
- return last_position; |
-} |
- |
} // namespace interpreter |
} // namespace internal |
} // namespace v8 |