| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
| 3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
| 4 // met: | 4 // met: |
| 5 // | 5 // |
| 6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
| 7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
| 8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
| 9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
| 10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 #ifndef V8_FULL_CODEGEN_H_ | 28 #ifndef V8_FULL_CODEGEN_H_ |
| 29 #define V8_FULL_CODEGEN_H_ | 29 #define V8_FULL_CODEGEN_H_ |
| 30 | 30 |
| 31 #include "v8.h" | 31 #include "v8.h" |
| 32 | 32 |
| 33 #include "allocation.h" | 33 #include "allocation.h" |
| 34 #include "ast.h" | 34 #include "ast.h" |
| 35 #include "code-stubs.h" | 35 #include "code-stubs.h" |
| 36 #include "codegen.h" | 36 #include "codegen.h" |
| 37 #include "compiler.h" | 37 #include "compiler.h" |
| 38 #include "data-flow.h" |
| 38 | 39 |
| 39 namespace v8 { | 40 namespace v8 { |
| 40 namespace internal { | 41 namespace internal { |
| 41 | 42 |
| 42 // Forward declarations. | 43 // Forward declarations. |
| 43 class JumpPatchSite; | 44 class JumpPatchSite; |
| 44 | 45 |
| 45 // AST node visitor which can tell whether a given statement will be breakable | 46 // AST node visitor which can tell whether a given statement will be breakable |
| 46 // when the code is compiled by the full compiler in the debugger. This means | 47 // when the code is compiled by the full compiler in the debugger. This means |
| 47 // that there will be an IC (load/store/call) in the code generated for the | 48 // that there will be an IC (load/store/call) in the code generated for the |
| (...skipping 761 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 809 CompilationInfo* info_; | 810 CompilationInfo* info_; |
| 810 Scope* scope_; | 811 Scope* scope_; |
| 811 Label return_label_; | 812 Label return_label_; |
| 812 NestedStatement* nesting_stack_; | 813 NestedStatement* nesting_stack_; |
| 813 int loop_depth_; | 814 int loop_depth_; |
| 814 ZoneList<Handle<Object> >* globals_; | 815 ZoneList<Handle<Object> >* globals_; |
| 815 Handle<FixedArray> modules_; | 816 Handle<FixedArray> modules_; |
| 816 int module_index_; | 817 int module_index_; |
| 817 const ExpressionContext* context_; | 818 const ExpressionContext* context_; |
| 818 ZoneList<BailoutEntry> bailout_entries_; | 819 ZoneList<BailoutEntry> bailout_entries_; |
| 820 GrowableBitVector prepared_bailout_ids_; |
| 819 // TODO(svenpanne) Rename this to something like back_edges_ and rename | 821 // TODO(svenpanne) Rename this to something like back_edges_ and rename |
| 820 // related functions accordingly. | 822 // related functions accordingly. |
| 821 ZoneList<BailoutEntry> stack_checks_; | 823 ZoneList<BailoutEntry> stack_checks_; |
| 822 ZoneList<TypeFeedbackCellEntry> type_feedback_cells_; | 824 ZoneList<TypeFeedbackCellEntry> type_feedback_cells_; |
| 823 int ic_total_count_; | 825 int ic_total_count_; |
| 824 Handle<FixedArray> handler_table_; | 826 Handle<FixedArray> handler_table_; |
| 825 Handle<JSGlobalPropertyCell> profiling_counter_; | 827 Handle<JSGlobalPropertyCell> profiling_counter_; |
| 826 bool generate_debug_code_; | 828 bool generate_debug_code_; |
| 827 Zone* zone_; | 829 Zone* zone_; |
| 828 | 830 |
| (...skipping 22 matching lines...) Expand all Loading... |
| 851 } | 853 } |
| 852 | 854 |
| 853 private: | 855 private: |
| 854 Zone* zone_; | 856 Zone* zone_; |
| 855 }; | 857 }; |
| 856 | 858 |
| 857 | 859 |
| 858 } } // namespace v8::internal | 860 } } // namespace v8::internal |
| 859 | 861 |
| 860 #endif // V8_FULL_CODEGEN_H_ | 862 #endif // V8_FULL_CODEGEN_H_ |
| OLD | NEW |