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

Side by Side Diff: src/crankshaft/x87/lithium-codegen-x87.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/x64/lithium-codegen-x64.cc ('k') | src/crankshaft/x87/lithium-codegen-x87.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_X87_LITHIUM_CODEGEN_X87_H_ 5 #ifndef V8_CRANKSHAFT_X87_LITHIUM_CODEGEN_X87_H_
6 #define V8_CRANKSHAFT_X87_LITHIUM_CODEGEN_X87_H_ 6 #define V8_CRANKSHAFT_X87_LITHIUM_CODEGEN_X87_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "src/ast/scopes.h" 10 #include "src/ast/scopes.h"
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
225 void CallKnownFunction(Handle<JSFunction> function, 225 void CallKnownFunction(Handle<JSFunction> function,
226 int formal_parameter_count, int arity, 226 int formal_parameter_count, int arity,
227 bool is_tail_call, LInstruction* instr); 227 bool is_tail_call, LInstruction* instr);
228 228
229 void RecordSafepointWithLazyDeopt(LInstruction* instr, 229 void RecordSafepointWithLazyDeopt(LInstruction* instr,
230 SafepointMode safepoint_mode); 230 SafepointMode safepoint_mode);
231 231
232 void RegisterEnvironmentForDeoptimization(LEnvironment* environment, 232 void RegisterEnvironmentForDeoptimization(LEnvironment* environment,
233 Safepoint::DeoptMode mode); 233 Safepoint::DeoptMode mode);
234 void DeoptimizeIf(Condition cc, LInstruction* instr, 234 void DeoptimizeIf(Condition cc, LInstruction* instr,
235 Deoptimizer::DeoptReason deopt_reason, 235 DeoptimizeReason deopt_reason,
236 Deoptimizer::BailoutType bailout_type); 236 Deoptimizer::BailoutType bailout_type);
237 void DeoptimizeIf(Condition cc, LInstruction* instr, 237 void DeoptimizeIf(Condition cc, LInstruction* instr,
238 Deoptimizer::DeoptReason deopt_reason); 238 DeoptimizeReason deopt_reason);
239 239
240 bool DeoptEveryNTimes() { 240 bool DeoptEveryNTimes() {
241 return FLAG_deopt_every_n_times != 0 && !info()->IsStub(); 241 return FLAG_deopt_every_n_times != 0 && !info()->IsStub();
242 } 242 }
243 243
244 void AddToTranslation(LEnvironment* environment, 244 void AddToTranslation(LEnvironment* environment,
245 Translation* translation, 245 Translation* translation,
246 LOperand* op, 246 LOperand* op,
247 bool is_tagged, 247 bool is_tagged,
248 bool is_uint32, 248 bool is_uint32,
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after
485 Label* external_exit_; 485 Label* external_exit_;
486 Label done_; 486 Label done_;
487 int instruction_index_; 487 int instruction_index_;
488 LCodeGen::X87Stack x87_stack_; 488 LCodeGen::X87Stack x87_stack_;
489 }; 489 };
490 490
491 } // namespace internal 491 } // namespace internal
492 } // namespace v8 492 } // namespace v8
493 493
494 #endif // V8_CRANKSHAFT_X87_LITHIUM_CODEGEN_X87_H_ 494 #endif // V8_CRANKSHAFT_X87_LITHIUM_CODEGEN_X87_H_
OLDNEW
« no previous file with comments | « src/crankshaft/x64/lithium-codegen-x64.cc ('k') | src/crankshaft/x87/lithium-codegen-x87.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698