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 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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* detail, | 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, const char* detail); |
242 const char* detail = NULL); | |
243 | 242 |
244 bool DeoptEveryNTimes() { | 243 bool DeoptEveryNTimes() { |
245 return FLAG_deopt_every_n_times != 0 && !info()->IsStub(); | 244 return FLAG_deopt_every_n_times != 0 && !info()->IsStub(); |
246 } | 245 } |
247 | 246 |
248 void AddToTranslation(LEnvironment* environment, | 247 void AddToTranslation(LEnvironment* environment, |
249 Translation* translation, | 248 Translation* translation, |
250 LOperand* op, | 249 LOperand* op, |
251 bool is_tagged, | 250 bool is_tagged, |
252 bool is_uint32, | 251 bool is_uint32, |
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
508 Label exit_; | 507 Label exit_; |
509 Label* external_exit_; | 508 Label* external_exit_; |
510 Label done_; | 509 Label done_; |
511 int instruction_index_; | 510 int instruction_index_; |
512 LCodeGen::X87Stack x87_stack_; | 511 LCodeGen::X87Stack x87_stack_; |
513 }; | 512 }; |
514 | 513 |
515 } } // namespace v8::internal | 514 } } // namespace v8::internal |
516 | 515 |
517 #endif // V8_X87_LITHIUM_CODEGEN_X87_H_ | 516 #endif // V8_X87_LITHIUM_CODEGEN_X87_H_ |
OLD | NEW |