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

Side by Side Diff: src/crankshaft/ia32/lithium-codegen-ia32.h

Issue 2161543002: [turbofan] Add support for eager/soft deoptimization reasons. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Do the ports properly Created 4 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/crankshaft/hydrogen-instructions.h ('k') | src/crankshaft/ia32/lithium-codegen-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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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_CRANKSHAFT_IA32_LITHIUM_CODEGEN_IA32_H_ 5 #ifndef V8_CRANKSHAFT_IA32_LITHIUM_CODEGEN_IA32_H_
6 #define V8_CRANKSHAFT_IA32_LITHIUM_CODEGEN_IA32_H_ 6 #define V8_CRANKSHAFT_IA32_LITHIUM_CODEGEN_IA32_H_
7 7
8 #include "src/ast/scopes.h" 8 #include "src/ast/scopes.h"
9 #include "src/base/logging.h" 9 #include "src/base/logging.h"
10 #include "src/crankshaft/ia32/lithium-gap-resolver-ia32.h" 10 #include "src/crankshaft/ia32/lithium-gap-resolver-ia32.h"
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 void CallKnownFunction(Handle<JSFunction> function, 197 void CallKnownFunction(Handle<JSFunction> function,
198 int formal_parameter_count, int arity, 198 int formal_parameter_count, int arity,
199 bool is_tail_call, LInstruction* instr); 199 bool is_tail_call, LInstruction* instr);
200 200
201 void RecordSafepointWithLazyDeopt(LInstruction* instr, 201 void RecordSafepointWithLazyDeopt(LInstruction* instr,
202 SafepointMode safepoint_mode); 202 SafepointMode safepoint_mode);
203 203
204 void RegisterEnvironmentForDeoptimization(LEnvironment* environment, 204 void RegisterEnvironmentForDeoptimization(LEnvironment* environment,
205 Safepoint::DeoptMode mode); 205 Safepoint::DeoptMode mode);
206 void DeoptimizeIf(Condition cc, LInstruction* instr, 206 void DeoptimizeIf(Condition cc, LInstruction* instr,
207 Deoptimizer::DeoptReason deopt_reason, 207 DeoptimizeReason deopt_reason,
208 Deoptimizer::BailoutType bailout_type); 208 Deoptimizer::BailoutType bailout_type);
209 void DeoptimizeIf(Condition cc, LInstruction* instr, 209 void DeoptimizeIf(Condition cc, LInstruction* instr,
210 Deoptimizer::DeoptReason deopt_reason); 210 DeoptimizeReason deopt_reason);
211 211
212 bool DeoptEveryNTimes() { 212 bool DeoptEveryNTimes() {
213 return FLAG_deopt_every_n_times != 0 && !info()->IsStub(); 213 return FLAG_deopt_every_n_times != 0 && !info()->IsStub();
214 } 214 }
215 215
216 void AddToTranslation(LEnvironment* environment, 216 void AddToTranslation(LEnvironment* environment,
217 Translation* translation, 217 Translation* translation,
218 LOperand* op, 218 LOperand* op,
219 bool is_tagged, 219 bool is_tagged,
220 bool is_uint32, 220 bool is_uint32,
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
383 Label exit_; 383 Label exit_;
384 Label* external_exit_; 384 Label* external_exit_;
385 Label done_; 385 Label done_;
386 int instruction_index_; 386 int instruction_index_;
387 }; 387 };
388 388
389 } // namespace internal 389 } // namespace internal
390 } // namespace v8 390 } // namespace v8
391 391
392 #endif // V8_CRANKSHAFT_IA32_LITHIUM_CODEGEN_IA32_H_ 392 #endif // V8_CRANKSHAFT_IA32_LITHIUM_CODEGEN_IA32_H_
OLDNEW
« no previous file with comments | « src/crankshaft/hydrogen-instructions.h ('k') | src/crankshaft/ia32/lithium-codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698