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

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

Issue 2248673002: Avoid accessing Isolate in source position logging. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase Created 4 years, 4 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/debug/liveedit.cc ('k') | src/full-codegen/full-codegen.cc » ('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 28 matching lines...) Expand all
39 loop_depth_(0), 39 loop_depth_(0),
40 operand_stack_depth_(0), 40 operand_stack_depth_(0),
41 globals_(NULL), 41 globals_(NULL),
42 context_(NULL), 42 context_(NULL),
43 bailout_entries_(info->HasDeoptimizationSupport() 43 bailout_entries_(info->HasDeoptimizationSupport()
44 ? info->literal()->ast_node_count() 44 ? info->literal()->ast_node_count()
45 : 0, 45 : 0,
46 info->zone()), 46 info->zone()),
47 back_edges_(2, info->zone()), 47 back_edges_(2, info->zone()),
48 handler_table_(info->zone()), 48 handler_table_(info->zone()),
49 source_position_table_builder_(info->isolate(), info->zone(), 49 source_position_table_builder_(info->zone(),
50 info->SourcePositionRecordingMode()), 50 info->SourcePositionRecordingMode()),
51 ic_total_count_(0) { 51 ic_total_count_(0) {
52 DCHECK(!info->IsStub()); 52 DCHECK(!info->IsStub());
53 Initialize(); 53 Initialize();
54 } 54 }
55 55
56 void Initialize(); 56 void Initialize();
57 57
58 static bool MakeCode(CompilationInfo* info); 58 static bool MakeCode(CompilationInfo* info);
59 59
(...skipping 978 matching lines...) Expand 10 before | Expand all | Expand 10 after
1038 Address start_; 1038 Address start_;
1039 Address instruction_start_; 1039 Address instruction_start_;
1040 uint32_t length_; 1040 uint32_t length_;
1041 }; 1041 };
1042 1042
1043 1043
1044 } // namespace internal 1044 } // namespace internal
1045 } // namespace v8 1045 } // namespace v8
1046 1046
1047 #endif // V8_FULL_CODEGEN_FULL_CODEGEN_H_ 1047 #endif // V8_FULL_CODEGEN_FULL_CODEGEN_H_
OLDNEW
« no previous file with comments | « src/debug/liveedit.cc ('k') | src/full-codegen/full-codegen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698