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/mips/lithium-codegen-mips.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/lithium-codegen.cc ('k') | src/crankshaft/mips/lithium-codegen-mips.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_MIPS_LITHIUM_CODEGEN_MIPS_H_ 5 #ifndef V8_CRANKSHAFT_MIPS_LITHIUM_CODEGEN_MIPS_H_
6 #define V8_CRANKSHAFT_MIPS_LITHIUM_CODEGEN_MIPS_H_ 6 #define V8_CRANKSHAFT_MIPS_LITHIUM_CODEGEN_MIPS_H_
7 7
8 #include "src/ast/scopes.h" 8 #include "src/ast/scopes.h"
9 #include "src/crankshaft/lithium-codegen.h" 9 #include "src/crankshaft/lithium-codegen.h"
10 #include "src/crankshaft/mips/lithium-gap-resolver-mips.h" 10 #include "src/crankshaft/mips/lithium-gap-resolver-mips.h"
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 void CallKnownFunction(Handle<JSFunction> function, 218 void CallKnownFunction(Handle<JSFunction> function,
219 int formal_parameter_count, int arity, 219 int formal_parameter_count, int arity,
220 bool is_tail_call, LInstruction* instr); 220 bool is_tail_call, LInstruction* instr);
221 221
222 void RecordSafepointWithLazyDeopt(LInstruction* instr, 222 void RecordSafepointWithLazyDeopt(LInstruction* instr,
223 SafepointMode safepoint_mode); 223 SafepointMode safepoint_mode);
224 224
225 void RegisterEnvironmentForDeoptimization(LEnvironment* environment, 225 void RegisterEnvironmentForDeoptimization(LEnvironment* environment,
226 Safepoint::DeoptMode mode); 226 Safepoint::DeoptMode mode);
227 void DeoptimizeIf(Condition condition, LInstruction* instr, 227 void DeoptimizeIf(Condition condition, LInstruction* instr,
228 Deoptimizer::DeoptReason deopt_reason, 228 DeoptimizeReason deopt_reason,
229 Deoptimizer::BailoutType bailout_type, 229 Deoptimizer::BailoutType bailout_type,
230 Register src1 = zero_reg, 230 Register src1 = zero_reg,
231 const Operand& src2 = Operand(zero_reg)); 231 const Operand& src2 = Operand(zero_reg));
232 void DeoptimizeIf( 232 void DeoptimizeIf(Condition condition, LInstruction* instr,
233 Condition condition, LInstruction* instr, 233 DeoptimizeReason deopt_reason = DeoptimizeReason::kNoReason,
234 Deoptimizer::DeoptReason deopt_reason = Deoptimizer::kNoReason, 234 Register src1 = zero_reg,
235 Register src1 = zero_reg, const Operand& src2 = Operand(zero_reg)); 235 const Operand& src2 = Operand(zero_reg));
236 236
237 void AddToTranslation(LEnvironment* environment, 237 void AddToTranslation(LEnvironment* environment,
238 Translation* translation, 238 Translation* translation,
239 LOperand* op, 239 LOperand* op,
240 bool is_tagged, 240 bool is_tagged,
241 bool is_uint32, 241 bool is_uint32,
242 int* object_index_pointer, 242 int* object_index_pointer,
243 int* dematerialized_index_pointer); 243 int* dematerialized_index_pointer);
244 244
245 Register ToRegister(int index) const; 245 Register ToRegister(int index) const;
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
416 Label entry_; 416 Label entry_;
417 Label exit_; 417 Label exit_;
418 Label* external_exit_; 418 Label* external_exit_;
419 int instruction_index_; 419 int instruction_index_;
420 }; 420 };
421 421
422 } // namespace internal 422 } // namespace internal
423 } // namespace v8 423 } // namespace v8
424 424
425 #endif // V8_CRANKSHAFT_MIPS_LITHIUM_CODEGEN_MIPS_H_ 425 #endif // V8_CRANKSHAFT_MIPS_LITHIUM_CODEGEN_MIPS_H_
OLDNEW
« no previous file with comments | « src/crankshaft/lithium-codegen.cc ('k') | src/crankshaft/mips/lithium-codegen-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698