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

Side by Side Diff: src/crankshaft/ppc/lithium-codegen-ppc.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
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_PPC_LITHIUM_CODEGEN_PPC_H_ 5 #ifndef V8_CRANKSHAFT_PPC_LITHIUM_CODEGEN_PPC_H_
6 #define V8_CRANKSHAFT_PPC_LITHIUM_CODEGEN_PPC_H_ 6 #define V8_CRANKSHAFT_PPC_LITHIUM_CODEGEN_PPC_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/ppc/lithium-gap-resolver-ppc.h" 10 #include "src/crankshaft/ppc/lithium-gap-resolver-ppc.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 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
349 LCodeGen* codegen_; 349 LCodeGen* codegen_;
350 Label entry_; 350 Label entry_;
351 Label exit_; 351 Label exit_;
352 Label* external_exit_; 352 Label* external_exit_;
353 int instruction_index_; 353 int instruction_index_;
354 }; 354 };
355 } // namespace internal 355 } // namespace internal
356 } // namespace v8 356 } // namespace v8
357 357
358 #endif // V8_CRANKSHAFT_PPC_LITHIUM_CODEGEN_PPC_H_ 358 #endif // V8_CRANKSHAFT_PPC_LITHIUM_CODEGEN_PPC_H_
OLDNEW
« no previous file with comments | « src/crankshaft/mips64/lithium-codegen-mips64.cc ('k') | src/crankshaft/ppc/lithium-codegen-ppc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698