Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(123)

Unified Diff: src/interpreter/source-position-table.cc

Issue 1682853003: [debugger] introduce abstract interface for break location. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: revert stray edit Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/interpreter/source-position-table.h ('k') | src/mips/assembler-mips-inl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « src/interpreter/source-position-table.h ('k') | src/mips/assembler-mips-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698