OLD | NEW |
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_X87_LITHIUM_CODEGEN_X87_H_ | 5 #ifndef V8_X87_LITHIUM_CODEGEN_X87_H_ |
6 #define V8_X87_LITHIUM_CODEGEN_X87_H_ | 6 #define V8_X87_LITHIUM_CODEGEN_X87_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include "src/x87/lithium-x87.h" | 9 #include "src/x87/lithium-x87.h" |
10 | 10 |
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
229 int formal_parameter_count, | 229 int formal_parameter_count, |
230 int arity, | 230 int arity, |
231 LInstruction* instr, | 231 LInstruction* instr, |
232 EDIState edi_state); | 232 EDIState edi_state); |
233 | 233 |
234 void RecordSafepointWithLazyDeopt(LInstruction* instr, | 234 void RecordSafepointWithLazyDeopt(LInstruction* instr, |
235 SafepointMode safepoint_mode); | 235 SafepointMode safepoint_mode); |
236 | 236 |
237 void RegisterEnvironmentForDeoptimization(LEnvironment* environment, | 237 void RegisterEnvironmentForDeoptimization(LEnvironment* environment, |
238 Safepoint::DeoptMode mode); | 238 Safepoint::DeoptMode mode); |
239 void DeoptimizeIf(Condition cc, LInstruction* instr, const char* reason, | 239 void DeoptimizeIf(Condition cc, LInstruction* instr, const char* detail, |
240 Deoptimizer::BailoutType bailout_type); | 240 Deoptimizer::BailoutType bailout_type); |
241 void DeoptimizeIf(Condition cc, LInstruction* instr, | 241 void DeoptimizeIf(Condition cc, LInstruction* instr, |
242 const char* reason = NULL); | 242 const char* detail = NULL); |
243 | 243 |
244 bool DeoptEveryNTimes() { | 244 bool DeoptEveryNTimes() { |
245 return FLAG_deopt_every_n_times != 0 && !info()->IsStub(); | 245 return FLAG_deopt_every_n_times != 0 && !info()->IsStub(); |
246 } | 246 } |
247 | 247 |
248 void AddToTranslation(LEnvironment* environment, | 248 void AddToTranslation(LEnvironment* environment, |
249 Translation* translation, | 249 Translation* translation, |
250 LOperand* op, | 250 LOperand* op, |
251 bool is_tagged, | 251 bool is_tagged, |
252 bool is_uint32, | 252 bool is_uint32, |
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
508 Label exit_; | 508 Label exit_; |
509 Label* external_exit_; | 509 Label* external_exit_; |
510 Label done_; | 510 Label done_; |
511 int instruction_index_; | 511 int instruction_index_; |
512 LCodeGen::X87Stack x87_stack_; | 512 LCodeGen::X87Stack x87_stack_; |
513 }; | 513 }; |
514 | 514 |
515 } } // namespace v8::internal | 515 } } // namespace v8::internal |
516 | 516 |
517 #endif // V8_X87_LITHIUM_CODEGEN_X87_H_ | 517 #endif // V8_X87_LITHIUM_CODEGEN_X87_H_ |
OLD | NEW |