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

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

Issue 1154163006: Debugger: consider try-finally scopes not catching wrt debug events. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: remove modes for PredictExceptionCatcher Created 5 years, 6 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/frames.cc ('k') | src/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_H_ 5 #ifndef V8_FULL_CODEGEN_H_
6 #define V8_FULL_CODEGEN_H_ 6 #define V8_FULL_CODEGEN_H_
7 7
8 #include "src/v8.h" 8 #include "src/v8.h"
9 9
10 #include "src/allocation.h" 10 #include "src/allocation.h"
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 NO_REGISTERS, 62 NO_REGISTERS,
63 TOS_REG 63 TOS_REG
64 }; 64 };
65 65
66 FullCodeGenerator(MacroAssembler* masm, CompilationInfo* info) 66 FullCodeGenerator(MacroAssembler* masm, CompilationInfo* info)
67 : masm_(masm), 67 : masm_(masm),
68 info_(info), 68 info_(info),
69 scope_(info->scope()), 69 scope_(info->scope()),
70 nesting_stack_(NULL), 70 nesting_stack_(NULL),
71 loop_depth_(0), 71 loop_depth_(0),
72 try_catch_depth_(0),
72 globals_(NULL), 73 globals_(NULL),
73 context_(NULL), 74 context_(NULL),
74 bailout_entries_(info->HasDeoptimizationSupport() 75 bailout_entries_(info->HasDeoptimizationSupport()
75 ? info->function()->ast_node_count() : 0, 76 ? info->function()->ast_node_count()
77 : 0,
76 info->zone()), 78 info->zone()),
77 back_edges_(2, info->zone()), 79 back_edges_(2, info->zone()),
78 ic_total_count_(0) { 80 ic_total_count_(0) {
79 DCHECK(!info->IsStub()); 81 DCHECK(!info->IsStub());
80 Initialize(); 82 Initialize();
81 } 83 }
82 84
83 void Initialize(); 85 void Initialize();
84 86
85 static bool MakeCode(CompilationInfo* info); 87 static bool MakeCode(CompilationInfo* info);
(...skipping 871 matching lines...) Expand 10 before | Expand all | Expand 10 after
957 BailoutId exit_id_; 959 BailoutId exit_id_;
958 bool needs_block_context_; 960 bool needs_block_context_;
959 }; 961 };
960 962
961 MacroAssembler* masm_; 963 MacroAssembler* masm_;
962 CompilationInfo* info_; 964 CompilationInfo* info_;
963 Scope* scope_; 965 Scope* scope_;
964 Label return_label_; 966 Label return_label_;
965 NestedStatement* nesting_stack_; 967 NestedStatement* nesting_stack_;
966 int loop_depth_; 968 int loop_depth_;
969 int try_catch_depth_;
967 ZoneList<Handle<Object> >* globals_; 970 ZoneList<Handle<Object> >* globals_;
968 Handle<FixedArray> modules_; 971 Handle<FixedArray> modules_;
969 int module_index_; 972 int module_index_;
970 const ExpressionContext* context_; 973 const ExpressionContext* context_;
971 ZoneList<BailoutEntry> bailout_entries_; 974 ZoneList<BailoutEntry> bailout_entries_;
972 ZoneList<BackEdgeEntry> back_edges_; 975 ZoneList<BackEdgeEntry> back_edges_;
973 int ic_total_count_; 976 int ic_total_count_;
974 Handle<HandlerTable> handler_table_; 977 Handle<HandlerTable> handler_table_;
975 Handle<Cell> profiling_counter_; 978 Handle<Cell> profiling_counter_;
976 bool generate_debug_code_; 979 bool generate_debug_code_;
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
1083 1086
1084 Address start_; 1087 Address start_;
1085 Address instruction_start_; 1088 Address instruction_start_;
1086 uint32_t length_; 1089 uint32_t length_;
1087 }; 1090 };
1088 1091
1089 1092
1090 } } // namespace v8::internal 1093 } } // namespace v8::internal
1091 1094
1092 #endif // V8_FULL_CODEGEN_H_ 1095 #endif // V8_FULL_CODEGEN_H_
OLDNEW
« no previous file with comments | « src/frames.cc ('k') | src/full-codegen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698