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

Side by Side Diff: src/full-codegen/full-codegen.h

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 unified diff | Download patch
« no previous file with comments | « src/crankshaft/lithium-codegen.cc ('k') | src/interpreter/bytecode-array-builder.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_FULL_CODEGEN_FULL_CODEGEN_H_ 5 #ifndef V8_FULL_CODEGEN_FULL_CODEGEN_H_
6 #define V8_FULL_CODEGEN_FULL_CODEGEN_H_ 6 #define V8_FULL_CODEGEN_FULL_CODEGEN_H_
7 7
8 #include "src/allocation.h" 8 #include "src/allocation.h"
9 #include "src/assert-scope.h" 9 #include "src/assert-scope.h"
10 #include "src/ast/ast.h" 10 #include "src/ast/ast.h"
(...skipping 29 matching lines...) Expand all
40 try_catch_depth_(0), 40 try_catch_depth_(0),
41 operand_stack_depth_(0), 41 operand_stack_depth_(0),
42 globals_(NULL), 42 globals_(NULL),
43 context_(NULL), 43 context_(NULL),
44 bailout_entries_(info->HasDeoptimizationSupport() 44 bailout_entries_(info->HasDeoptimizationSupport()
45 ? info->literal()->ast_node_count() 45 ? info->literal()->ast_node_count()
46 : 0, 46 : 0,
47 info->zone()), 47 info->zone()),
48 back_edges_(2, info->zone()), 48 back_edges_(2, info->zone()),
49 handler_table_(info->zone()), 49 handler_table_(info->zone()),
50 source_position_table_builder_(info->isolate(), info->zone()), 50 source_position_table_builder_(info->isolate(), info->zone(),
51 info->SourcePositionRecordingMode()),
51 ic_total_count_(0) { 52 ic_total_count_(0) {
52 DCHECK(!info->IsStub()); 53 DCHECK(!info->IsStub());
53 Initialize(); 54 Initialize();
54 } 55 }
55 56
56 void Initialize(); 57 void Initialize();
57 58
58 static bool MakeCode(CompilationInfo* info); 59 static bool MakeCode(CompilationInfo* info);
59 60
60 // Encode bailout state and pc-offset as a BitField<type, start, size>. 61 // Encode bailout state and pc-offset as a BitField<type, start, size>.
(...skipping 995 matching lines...) Expand 10 before | Expand all | Expand 10 after
1056 Address start_; 1057 Address start_;
1057 Address instruction_start_; 1058 Address instruction_start_;
1058 uint32_t length_; 1059 uint32_t length_;
1059 }; 1060 };
1060 1061
1061 1062
1062 } // namespace internal 1063 } // namespace internal
1063 } // namespace v8 1064 } // namespace v8
1064 1065
1065 #endif // V8_FULL_CODEGEN_FULL_CODEGEN_H_ 1066 #endif // V8_FULL_CODEGEN_FULL_CODEGEN_H_
OLDNEW
« no previous file with comments | « src/crankshaft/lithium-codegen.cc ('k') | src/interpreter/bytecode-array-builder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698