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

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

Issue 1158563008: [turbofan] Introduce prediction for exception handlers. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Architecture ports. Created 5 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 | « src/compiler/ast-graph-builder.cc ('k') | src/compiler/code-generator.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 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 translation_id_(translation_id), 153 translation_id_(translation_id),
154 pc_offset_(pc_offset) {} 154 pc_offset_(pc_offset) {}
155 155
156 private: 156 private:
157 BailoutId bailout_id_; 157 BailoutId bailout_id_;
158 int translation_id_; 158 int translation_id_;
159 int pc_offset_; 159 int pc_offset_;
160 }; 160 };
161 161
162 struct HandlerInfo { 162 struct HandlerInfo {
163 bool caught_locally;
163 Label* handler; 164 Label* handler;
164 int pc_offset; 165 int pc_offset;
165 }; 166 };
166 167
167 friend class OutOfLineCode; 168 friend class OutOfLineCode;
168 169
169 Frame* const frame_; 170 Frame* const frame_;
170 Linkage* const linkage_; 171 Linkage* const linkage_;
171 InstructionSequence* const code_; 172 InstructionSequence* const code_;
172 CompilationInfo* const info_; 173 CompilationInfo* const info_;
(...skipping 12 matching lines...) Expand all
185 OutOfLineCode* ools_; 186 OutOfLineCode* ools_;
186 int osr_pc_offset_; 187 int osr_pc_offset_;
187 bool needs_frame_; 188 bool needs_frame_;
188 }; 189 };
189 190
190 } // namespace compiler 191 } // namespace compiler
191 } // namespace internal 192 } // namespace internal
192 } // namespace v8 193 } // namespace v8
193 194
194 #endif // V8_COMPILER_CODE_GENERATOR_H 195 #endif // V8_COMPILER_CODE_GENERATOR_H
OLDNEW
« no previous file with comments | « src/compiler/ast-graph-builder.cc ('k') | src/compiler/code-generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698