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

Side by Side Diff: src/compiler/bytecode-analysis.h

Issue 2536653003: [ignition] Rewrite reverse iterator as random iterator (Closed)
Patch Set: Rebase Created 4 years 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/DEPS ('k') | src/compiler/bytecode-analysis.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 2016 the V8 project authors. All rights reserved. 1 // Copyright 2016 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_COMPILER_BYTECODE_ANALYSIS_H_ 5 #ifndef V8_COMPILER_BYTECODE_ANALYSIS_H_
6 #define V8_COMPILER_BYTECODE_ANALYSIS_H_ 6 #define V8_COMPILER_BYTECODE_ANALYSIS_H_
7 7
8 #include "src/base/hashmap.h" 8 #include "src/base/hashmap.h"
9 #include "src/bit-vector.h" 9 #include "src/bit-vector.h"
10 #include "src/compiler/bytecode-liveness-map.h" 10 #include "src/compiler/bytecode-liveness-map.h"
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 59
60 Zone* zone() const { return zone_; } 60 Zone* zone() const { return zone_; }
61 Handle<BytecodeArray> bytecode_array() const { return bytecode_array_; } 61 Handle<BytecodeArray> bytecode_array() const { return bytecode_array_; }
62 62
63 private: 63 private:
64 Handle<BytecodeArray> bytecode_array_; 64 Handle<BytecodeArray> bytecode_array_;
65 bool do_liveness_analysis_; 65 bool do_liveness_analysis_;
66 Zone* zone_; 66 Zone* zone_;
67 67
68 ZoneStack<int> loop_stack_; 68 ZoneStack<int> loop_stack_;
69 ZoneVector<int> loop_end_index_queue_;
69 70
70 ZoneMap<int, int> end_to_header_; 71 ZoneMap<int, int> end_to_header_;
71 ZoneMap<int, int> header_to_parent_; 72 ZoneMap<int, int> header_to_parent_;
72 73
73 BytecodeLivenessMap liveness_map_; 74 BytecodeLivenessMap liveness_map_;
74 75
75 DISALLOW_COPY_AND_ASSIGN(BytecodeAnalysis); 76 DISALLOW_COPY_AND_ASSIGN(BytecodeAnalysis);
76 }; 77 };
77 78
78 } // namespace compiler 79 } // namespace compiler
79 } // namespace internal 80 } // namespace internal
80 } // namespace v8 81 } // namespace v8
81 82
82 #endif // V8_COMPILER_BYTECODE_ANALYSIS_H_ 83 #endif // V8_COMPILER_BYTECODE_ANALYSIS_H_
OLDNEW
« no previous file with comments | « src/DEPS ('k') | src/compiler/bytecode-analysis.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698