| OLD | NEW |
| 1 // Copyright 2015 the V8 project authors. All rights reserved. | 1 // Copyright 2015 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_INTERPRETER_BYTECODE_ARRAY_BUILDER_H_ | 5 #ifndef V8_INTERPRETER_BYTECODE_ARRAY_BUILDER_H_ |
| 6 #define V8_INTERPRETER_BYTECODE_ARRAY_BUILDER_H_ | 6 #define V8_INTERPRETER_BYTECODE_ARRAY_BUILDER_H_ |
| 7 | 7 |
| 8 #include "src/ast/ast.h" | 8 #include "src/ast/ast.h" |
| 9 #include "src/interpreter/bytecode-array-writer.h" | 9 #include "src/interpreter/bytecode-array-writer.h" |
| 10 #include "src/interpreter/bytecode-register-allocator.h" | 10 #include "src/interpreter/bytecode-register-allocator.h" |
| (...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 354 SourcePositionTableBuilder* source_position_table_builder() { | 354 SourcePositionTableBuilder* source_position_table_builder() { |
| 355 return &source_position_table_builder_; | 355 return &source_position_table_builder_; |
| 356 } | 356 } |
| 357 | 357 |
| 358 Isolate* isolate_; | 358 Isolate* isolate_; |
| 359 Zone* zone_; | 359 Zone* zone_; |
| 360 bool bytecode_generated_; | 360 bool bytecode_generated_; |
| 361 ConstantArrayBuilder constant_array_builder_; | 361 ConstantArrayBuilder constant_array_builder_; |
| 362 HandlerTableBuilder handler_table_builder_; | 362 HandlerTableBuilder handler_table_builder_; |
| 363 SourcePositionTableBuilder source_position_table_builder_; | 363 SourcePositionTableBuilder source_position_table_builder_; |
| 364 bool exit_seen_in_block_; | 364 bool return_seen_in_block_; |
| 365 int unbound_jumps_; | 365 int unbound_jumps_; |
| 366 int parameter_count_; | 366 int parameter_count_; |
| 367 int local_register_count_; | 367 int local_register_count_; |
| 368 int context_register_count_; | 368 int context_register_count_; |
| 369 int return_position_; | 369 int return_position_; |
| 370 TemporaryRegisterAllocator temporary_allocator_; | 370 TemporaryRegisterAllocator temporary_allocator_; |
| 371 BytecodeArrayWriter bytecode_array_writer_; | 371 BytecodeArrayWriter bytecode_array_writer_; |
| 372 BytecodePipelineStage* pipeline_; | 372 BytecodePipelineStage* pipeline_; |
| 373 BytecodeSourceInfo latest_source_info_; | 373 BytecodeSourceInfo latest_source_info_; |
| 374 | 374 |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 414 size_t offset_; | 414 size_t offset_; |
| 415 | 415 |
| 416 friend class BytecodeArrayBuilder; | 416 friend class BytecodeArrayBuilder; |
| 417 }; | 417 }; |
| 418 | 418 |
| 419 } // namespace interpreter | 419 } // namespace interpreter |
| 420 } // namespace internal | 420 } // namespace internal |
| 421 } // namespace v8 | 421 } // namespace v8 |
| 422 | 422 |
| 423 #endif // V8_INTERPRETER_BYTECODE_ARRAY_BUILDER_H_ | 423 #endif // V8_INTERPRETER_BYTECODE_ARRAY_BUILDER_H_ |
| OLD | NEW |