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/crankshaft/s390/lithium-codegen-s390.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/ppc/lithium-codegen-ppc.cc ('k') | src/crankshaft/s390/lithium-codegen-s390.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_CRANKSHAFT_S390_LITHIUM_CODEGEN_S390_H_ 5 #ifndef V8_CRANKSHAFT_S390_LITHIUM_CODEGEN_S390_H_
6 #define V8_CRANKSHAFT_S390_LITHIUM_CODEGEN_S390_H_ 6 #define V8_CRANKSHAFT_S390_LITHIUM_CODEGEN_S390_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/s390/lithium-gap-resolver-s390.h" 10 #include "src/crankshaft/s390/lithium-gap-resolver-s390.h"
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 void CallKnownFunction(Handle<JSFunction> function, 200 void CallKnownFunction(Handle<JSFunction> function,
201 int formal_parameter_count, int arity, 201 int formal_parameter_count, int arity,
202 bool is_tail_call, LInstruction* instr); 202 bool is_tail_call, LInstruction* instr);
203 203
204 void RecordSafepointWithLazyDeopt(LInstruction* instr, 204 void RecordSafepointWithLazyDeopt(LInstruction* instr,
205 SafepointMode safepoint_mode); 205 SafepointMode safepoint_mode);
206 206
207 void RegisterEnvironmentForDeoptimization(LEnvironment* environment, 207 void RegisterEnvironmentForDeoptimization(LEnvironment* environment,
208 Safepoint::DeoptMode mode); 208 Safepoint::DeoptMode mode);
209 void DeoptimizeIf(Condition condition, LInstruction* instr, 209 void DeoptimizeIf(Condition condition, LInstruction* instr,
210 Deoptimizer::DeoptReason deopt_reason, 210 DeoptimizeReason deopt_reason,
211 Deoptimizer::BailoutType bailout_type, CRegister cr = cr7); 211 Deoptimizer::BailoutType bailout_type, CRegister cr = cr7);
212 void DeoptimizeIf(Condition condition, LInstruction* instr, 212 void DeoptimizeIf(Condition condition, LInstruction* instr,
213 Deoptimizer::DeoptReason deopt_reason, CRegister cr = cr7); 213 DeoptimizeReason deopt_reason, CRegister cr = cr7);
214 214
215 void AddToTranslation(LEnvironment* environment, Translation* translation, 215 void AddToTranslation(LEnvironment* environment, Translation* translation,
216 LOperand* op, bool is_tagged, bool is_uint32, 216 LOperand* op, bool is_tagged, bool is_uint32,
217 int* object_index_pointer, 217 int* object_index_pointer,
218 int* dematerialized_index_pointer); 218 int* dematerialized_index_pointer);
219 219
220 Register ToRegister(int index) const; 220 Register ToRegister(int index) const;
221 DoubleRegister ToDoubleRegister(int index) const; 221 DoubleRegister ToDoubleRegister(int index) const;
222 222
223 MemOperand BuildSeqStringOperand(Register string, LOperand* index, 223 MemOperand BuildSeqStringOperand(Register string, LOperand* index,
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
347 LCodeGen* codegen_; 347 LCodeGen* codegen_;
348 Label entry_; 348 Label entry_;
349 Label exit_; 349 Label exit_;
350 Label* external_exit_; 350 Label* external_exit_;
351 int instruction_index_; 351 int instruction_index_;
352 }; 352 };
353 } // namespace internal 353 } // namespace internal
354 } // namespace v8 354 } // namespace v8
355 355
356 #endif // V8_CRANKSHAFT_S390_LITHIUM_CODEGEN_S390_H_ 356 #endif // V8_CRANKSHAFT_S390_LITHIUM_CODEGEN_S390_H_
OLDNEW
« no previous file with comments | « src/crankshaft/ppc/lithium-codegen-ppc.cc ('k') | src/crankshaft/s390/lithium-codegen-s390.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698