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

Unified Diff: src/extensions/statistics-extension.cc

Issue 2788413004: [inspector] cache stack frame for call sites (Closed)
Patch Set: reverted v8-debugger change Created 3 years, 8 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/debug/debug.cc ('k') | src/factory.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/extensions/statistics-extension.cc
diff --git a/src/extensions/statistics-extension.cc b/src/extensions/statistics-extension.cc
index 3e49c527e30028035e096555446fcebb2a54aaf8..443347231f8375b9b35a0804c87e28d4ee4bb5c0 100644
--- a/src/extensions/statistics-extension.cc
+++ b/src/extensions/statistics-extension.cc
@@ -148,13 +148,13 @@ void StatisticsExtension::GetCounters(
if (obj->IsCode()) {
Code* code = Code::cast(obj);
reloc_info_total += code->relocation_info()->Size();
- ByteArray* source_position_table = code->source_position_table();
+ ByteArray* source_position_table = code->SourcePositionTable();
if (source_position_table->length() > 0) {
- source_position_table_total += code->source_position_table()->Size();
+ source_position_table_total += code->SourcePositionTable()->Size();
}
} else if (obj->IsBytecodeArray()) {
source_position_table_total +=
- BytecodeArray::cast(obj)->source_position_table()->Size();
+ BytecodeArray::cast(obj)->SourcePositionTable()->Size();
}
}
« no previous file with comments | « src/debug/debug.cc ('k') | src/factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698