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

Side by Side Diff: src/compiler/code-generator.h

Issue 1211373002: [turbofan] Canonicalize return sequence for JSFunctions. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 5 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 | « src/compiler/arm64/code-generator-arm64.cc ('k') | src/compiler/ia32/code-generator-ia32.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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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_CODE_GENERATOR_H_ 5 #ifndef V8_COMPILER_CODE_GENERATOR_H_
6 #define V8_COMPILER_CODE_GENERATOR_H_ 6 #define V8_COMPILER_CODE_GENERATOR_H_
7 7
8 #include "src/compiler/gap-resolver.h" 8 #include "src/compiler/gap-resolver.h"
9 #include "src/compiler/instruction.h" 9 #include "src/compiler/instruction.h"
10 #include "src/deoptimizer.h" 10 #include "src/deoptimizer.h"
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 int pc_offset; 165 int pc_offset;
166 }; 166 };
167 167
168 friend class OutOfLineCode; 168 friend class OutOfLineCode;
169 169
170 Frame* const frame_; 170 Frame* const frame_;
171 Linkage* const linkage_; 171 Linkage* const linkage_;
172 InstructionSequence* const code_; 172 InstructionSequence* const code_;
173 CompilationInfo* const info_; 173 CompilationInfo* const info_;
174 Label* const labels_; 174 Label* const labels_;
175 Label return_label_;
175 RpoNumber current_block_; 176 RpoNumber current_block_;
176 SourcePosition current_source_position_; 177 SourcePosition current_source_position_;
177 MacroAssembler masm_; 178 MacroAssembler masm_;
178 GapResolver resolver_; 179 GapResolver resolver_;
179 SafepointTableBuilder safepoints_; 180 SafepointTableBuilder safepoints_;
180 ZoneVector<HandlerInfo> handlers_; 181 ZoneVector<HandlerInfo> handlers_;
181 ZoneDeque<DeoptimizationState*> deoptimization_states_; 182 ZoneDeque<DeoptimizationState*> deoptimization_states_;
182 ZoneDeque<Handle<Object>> deoptimization_literals_; 183 ZoneDeque<Handle<Object>> deoptimization_literals_;
183 size_t inlined_function_count_; 184 size_t inlined_function_count_;
184 TranslationBuffer translations_; 185 TranslationBuffer translations_;
185 int last_lazy_deopt_pc_; 186 int last_lazy_deopt_pc_;
186 JumpTable* jump_tables_; 187 JumpTable* jump_tables_;
187 OutOfLineCode* ools_; 188 OutOfLineCode* ools_;
188 int osr_pc_offset_; 189 int osr_pc_offset_;
189 bool needs_frame_; 190 bool needs_frame_;
190 }; 191 };
191 192
192 } // namespace compiler 193 } // namespace compiler
193 } // namespace internal 194 } // namespace internal
194 } // namespace v8 195 } // namespace v8
195 196
196 #endif // V8_COMPILER_CODE_GENERATOR_H 197 #endif // V8_COMPILER_CODE_GENERATOR_H
OLDNEW
« no previous file with comments | « src/compiler/arm64/code-generator-arm64.cc ('k') | src/compiler/ia32/code-generator-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698