OLD | NEW |
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 978 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
989 int try_catch_depth_; | 989 int try_catch_depth_; |
990 ZoneList<Handle<Object> >* globals_; | 990 ZoneList<Handle<Object> >* globals_; |
991 Handle<FixedArray> modules_; | 991 Handle<FixedArray> modules_; |
992 int module_index_; | 992 int module_index_; |
993 const ExpressionContext* context_; | 993 const ExpressionContext* context_; |
994 ZoneList<BailoutEntry> bailout_entries_; | 994 ZoneList<BailoutEntry> bailout_entries_; |
995 ZoneList<BackEdgeEntry> back_edges_; | 995 ZoneList<BackEdgeEntry> back_edges_; |
996 ZoneVector<HandlerTableEntry> handler_table_; | 996 ZoneVector<HandlerTableEntry> handler_table_; |
997 int ic_total_count_; | 997 int ic_total_count_; |
998 Handle<Cell> profiling_counter_; | 998 Handle<Cell> profiling_counter_; |
999 bool generate_debug_code_; | |
1000 | 999 |
1001 friend class NestedStatement; | 1000 friend class NestedStatement; |
1002 | 1001 |
1003 DEFINE_AST_VISITOR_SUBCLASS_MEMBERS(); | 1002 DEFINE_AST_VISITOR_SUBCLASS_MEMBERS(); |
1004 DISALLOW_COPY_AND_ASSIGN(FullCodeGenerator); | 1003 DISALLOW_COPY_AND_ASSIGN(FullCodeGenerator); |
1005 }; | 1004 }; |
1006 | 1005 |
1007 | 1006 |
1008 class BackEdgeTable { | 1007 class BackEdgeTable { |
1009 public: | 1008 public: |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1085 Address start_; | 1084 Address start_; |
1086 Address instruction_start_; | 1085 Address instruction_start_; |
1087 uint32_t length_; | 1086 uint32_t length_; |
1088 }; | 1087 }; |
1089 | 1088 |
1090 | 1089 |
1091 } // namespace internal | 1090 } // namespace internal |
1092 } // namespace v8 | 1091 } // namespace v8 |
1093 | 1092 |
1094 #endif // V8_FULL_CODEGEN_FULL_CODEGEN_H_ | 1093 #endif // V8_FULL_CODEGEN_FULL_CODEGEN_H_ |
OLD | NEW |