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

Side by Side Diff: src/interpreter/bytecode-array-builder.h

Issue 2030583002: [Interpreter] Don't try to eliminate dead-code in bytecode-array-builder (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix Test Created 4 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 | « no previous file | src/interpreter/bytecode-array-builder.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 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
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
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_
OLDNEW
« no previous file with comments | « no previous file | src/interpreter/bytecode-array-builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698