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

Unified Diff: src/interpreter/bytecode-generator.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.cc ('k') | src/source-position-table.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/interpreter/bytecode-generator.cc
diff --git a/src/interpreter/bytecode-generator.cc b/src/interpreter/bytecode-generator.cc
index bdc5370f5a30ac5779f65f6999c3470256a712cf..9f9c7874953450ede7ea4ddb0aa1e6d7a8da1909 100644
--- a/src/interpreter/bytecode-generator.cc
+++ b/src/interpreter/bytecode-generator.cc
@@ -547,7 +547,8 @@ BytecodeGenerator::BytecodeGenerator(CompilationInfo* info)
builder_(new (zone()) BytecodeArrayBuilder(
info->isolate(), info->zone(), info->num_parameters_including_this(),
info->scope()->MaxNestedContextChainLength(),
- info->scope()->num_stack_slots(), info->literal())),
+ info->scope()->num_stack_slots(), info->literal(),
+ info->SourcePositionRecordingMode())),
info_(info),
scope_(info->scope()),
globals_(0, info->zone()),
« no previous file with comments | « src/interpreter/bytecode-array-writer.cc ('k') | src/source-position-table.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698