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

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

Issue 892843007: Revert of 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/mips/assembler-mips.cc ('k') | src/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_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/mips/lithium-gap-resolver-mips.h" 10 #include "src/mips/lithium-gap-resolver-mips.h"
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 void CallKnownFunction(Handle<JSFunction> function, 215 void CallKnownFunction(Handle<JSFunction> function,
216 int formal_parameter_count, int arity, 216 int formal_parameter_count, int arity,
217 LInstruction* instr); 217 LInstruction* instr);
218 218
219 void RecordSafepointWithLazyDeopt(LInstruction* instr, 219 void RecordSafepointWithLazyDeopt(LInstruction* instr,
220 SafepointMode safepoint_mode); 220 SafepointMode safepoint_mode);
221 221
222 void RegisterEnvironmentForDeoptimization(LEnvironment* environment, 222 void RegisterEnvironmentForDeoptimization(LEnvironment* environment,
223 Safepoint::DeoptMode mode); 223 Safepoint::DeoptMode mode);
224 void DeoptimizeIf(Condition condition, LInstruction* instr, 224 void DeoptimizeIf(Condition condition, LInstruction* instr,
225 Deoptimizer::DeoptReason deopt_reason, 225 Deoptimizer::BailoutType bailout_type, const char* detail,
226 Deoptimizer::BailoutType bailout_type,
227 Register src1 = zero_reg, 226 Register src1 = zero_reg,
228 const Operand& src2 = Operand(zero_reg)); 227 const Operand& src2 = Operand(zero_reg));
229 void DeoptimizeIf( 228 void DeoptimizeIf(Condition condition, LInstruction* instr,
230 Condition condition, LInstruction* instr, 229 const char* detail = NULL, Register src1 = zero_reg,
231 Deoptimizer::DeoptReason deopt_reason = Deoptimizer::kNoReason, 230 const Operand& src2 = Operand(zero_reg));
232 Register src1 = zero_reg, const Operand& src2 = Operand(zero_reg));
233 231
234 void AddToTranslation(LEnvironment* environment, 232 void AddToTranslation(LEnvironment* environment,
235 Translation* translation, 233 Translation* translation,
236 LOperand* op, 234 LOperand* op,
237 bool is_tagged, 235 bool is_tagged,
238 bool is_uint32, 236 bool is_uint32,
239 int* object_index_pointer, 237 int* object_index_pointer,
240 int* dematerialized_index_pointer); 238 int* dematerialized_index_pointer);
241 void PopulateDeoptimizationData(Handle<Code> code); 239 void PopulateDeoptimizationData(Handle<Code> code);
242 int DefineDeoptimizationLiteral(Handle<Object> literal); 240 int DefineDeoptimizationLiteral(Handle<Object> literal);
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
433 LCodeGen* codegen_; 431 LCodeGen* codegen_;
434 Label entry_; 432 Label entry_;
435 Label exit_; 433 Label exit_;
436 Label* external_exit_; 434 Label* external_exit_;
437 int instruction_index_; 435 int instruction_index_;
438 }; 436 };
439 437
440 } } // namespace v8::internal 438 } } // namespace v8::internal
441 439
442 #endif // V8_MIPS_LITHIUM_CODEGEN_MIPS_H_ 440 #endif // V8_MIPS_LITHIUM_CODEGEN_MIPS_H_
OLDNEW
« no previous file with comments | « src/mips/assembler-mips.cc ('k') | src/mips/lithium-codegen-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698