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

Side by Side Diff: src/mips64/lithium-codegen-mips64.h

Issue 888143004: MIPS64: Externalize deoptimization reasons. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 10 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/mips64/assembler-mips64.cc ('k') | src/mips64/lithium-codegen-mips64.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_MIPS_LITHIUM_CODEGEN_MIPS_H_ 5 #ifndef V8_MIPS_LITHIUM_CODEGEN_MIPS_H_
6 #define V8_MIPS_LITHIUM_CODEGEN_MIPS_H_ 6 #define V8_MIPS_LITHIUM_CODEGEN_MIPS_H_
7 7
8 #include "src/deoptimizer.h" 8 #include "src/deoptimizer.h"
9 #include "src/lithium-codegen.h" 9 #include "src/lithium-codegen.h"
10 #include "src/mips64/lithium-gap-resolver-mips64.h" 10 #include "src/mips64/lithium-gap-resolver-mips64.h"
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 void CallKnownFunction(Handle<JSFunction> function, 216 void CallKnownFunction(Handle<JSFunction> function,
217 int formal_parameter_count, int arity, 217 int formal_parameter_count, int arity,
218 LInstruction* instr); 218 LInstruction* instr);
219 219
220 void RecordSafepointWithLazyDeopt(LInstruction* instr, 220 void RecordSafepointWithLazyDeopt(LInstruction* instr,
221 SafepointMode safepoint_mode); 221 SafepointMode safepoint_mode);
222 222
223 void RegisterEnvironmentForDeoptimization(LEnvironment* environment, 223 void RegisterEnvironmentForDeoptimization(LEnvironment* environment,
224 Safepoint::DeoptMode mode); 224 Safepoint::DeoptMode mode);
225 void DeoptimizeIf(Condition condition, LInstruction* instr, 225 void DeoptimizeIf(Condition condition, LInstruction* instr,
226 Deoptimizer::BailoutType bailout_type, const char* detail, 226 Deoptimizer::DeoptReason deopt_reason,
227 Deoptimizer::BailoutType bailout_type,
227 Register src1 = zero_reg, 228 Register src1 = zero_reg,
228 const Operand& src2 = Operand(zero_reg)); 229 const Operand& src2 = Operand(zero_reg));
229 void DeoptimizeIf(Condition condition, LInstruction* instr, 230 void DeoptimizeIf(
230 const char* detail, Register src1 = zero_reg, 231 Condition condition, LInstruction* instr,
231 const Operand& src2 = Operand(zero_reg)); 232 Deoptimizer::DeoptReason deopt_reason = Deoptimizer::kNoReason,
233 Register src1 = zero_reg, const Operand& src2 = Operand(zero_reg));
232 234
233 void AddToTranslation(LEnvironment* environment, 235 void AddToTranslation(LEnvironment* environment,
234 Translation* translation, 236 Translation* translation,
235 LOperand* op, 237 LOperand* op,
236 bool is_tagged, 238 bool is_tagged,
237 bool is_uint32, 239 bool is_uint32,
238 int* object_index_pointer, 240 int* object_index_pointer,
239 int* dematerialized_index_pointer); 241 int* dematerialized_index_pointer);
240 void PopulateDeoptimizationData(Handle<Code> code); 242 void PopulateDeoptimizationData(Handle<Code> code);
241 int DefineDeoptimizationLiteral(Handle<Object> literal); 243 int DefineDeoptimizationLiteral(Handle<Object> literal);
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
432 LCodeGen* codegen_; 434 LCodeGen* codegen_;
433 Label entry_; 435 Label entry_;
434 Label exit_; 436 Label exit_;
435 Label* external_exit_; 437 Label* external_exit_;
436 int instruction_index_; 438 int instruction_index_;
437 }; 439 };
438 440
439 } } // namespace v8::internal 441 } } // namespace v8::internal
440 442
441 #endif // V8_MIPS_LITHIUM_CODEGEN_MIPS_H_ 443 #endif // V8_MIPS_LITHIUM_CODEGEN_MIPS_H_
OLDNEW
« no previous file with comments | « src/mips64/assembler-mips64.cc ('k') | src/mips64/lithium-codegen-mips64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698