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

Unified Diff: src/interpreter/bytecode-array-writer.cc

Issue 2112853002: Do not record source positions for non-JS or native script code. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@simplifyjitlogging
Patch Set: update test expectation Created 4 years, 5 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/bytecode-array-writer.h ('k') | src/interpreter/bytecode-generator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/interpreter/bytecode-array-writer.cc
diff --git a/src/interpreter/bytecode-array-writer.cc b/src/interpreter/bytecode-array-writer.cc
index 121e8b82bc41b27a88032a53f80af2014e14dc0b..a579800bfff61f6ad40f68b4c2791137cf864fef 100644
--- a/src/interpreter/bytecode-array-writer.cc
+++ b/src/interpreter/bytecode-array-writer.cc
@@ -17,12 +17,13 @@ STATIC_CONST_MEMBER_DEFINITION const size_t
BytecodeArrayWriter::kMaxSizeOfPackedBytecode;
BytecodeArrayWriter::BytecodeArrayWriter(
- Isolate* isolate, Zone* zone, ConstantArrayBuilder* constant_array_builder)
+ Isolate* isolate, Zone* zone, ConstantArrayBuilder* constant_array_builder,
+ SourcePositionTableBuilder::RecordingMode source_position_mode)
: isolate_(isolate),
bytecodes_(zone),
max_register_count_(0),
unbound_jumps_(0),
- source_position_table_builder_(isolate, zone),
+ source_position_table_builder_(isolate, zone, source_position_mode),
constant_array_builder_(constant_array_builder) {}
// override
« no previous file with comments | « src/interpreter/bytecode-array-writer.h ('k') | src/interpreter/bytecode-generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698