| 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 "src/x87/lithium-x87.h" | 8 #include "src/x87/lithium-x87.h" |
| 9 | 9 |
| 10 #include "src/base/logging.h" | 10 #include "src/base/logging.h" |
| (...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 227 int formal_parameter_count, | 227 int formal_parameter_count, |
| 228 int arity, | 228 int arity, |
| 229 LInstruction* instr, | 229 LInstruction* instr, |
| 230 EDIState edi_state); | 230 EDIState edi_state); |
| 231 | 231 |
| 232 void RecordSafepointWithLazyDeopt(LInstruction* instr, | 232 void RecordSafepointWithLazyDeopt(LInstruction* instr, |
| 233 SafepointMode safepoint_mode); | 233 SafepointMode safepoint_mode); |
| 234 | 234 |
| 235 void RegisterEnvironmentForDeoptimization(LEnvironment* environment, | 235 void RegisterEnvironmentForDeoptimization(LEnvironment* environment, |
| 236 Safepoint::DeoptMode mode); | 236 Safepoint::DeoptMode mode); |
| 237 void DeoptimizeIf(Condition cc, LInstruction* instr, const char* reason, |
| 238 Deoptimizer::BailoutType bailout_type); |
| 237 void DeoptimizeIf(Condition cc, LInstruction* instr, | 239 void DeoptimizeIf(Condition cc, LInstruction* instr, |
| 238 Deoptimizer::BailoutType bailout_type); | 240 const char* reason = NULL); |
| 239 void DeoptimizeIf(Condition cc, LInstruction* instr); | |
| 240 | 241 |
| 241 bool DeoptEveryNTimes() { | 242 bool DeoptEveryNTimes() { |
| 242 return FLAG_deopt_every_n_times != 0 && !info()->IsStub(); | 243 return FLAG_deopt_every_n_times != 0 && !info()->IsStub(); |
| 243 } | 244 } |
| 244 | 245 |
| 245 void AddToTranslation(LEnvironment* environment, | 246 void AddToTranslation(LEnvironment* environment, |
| 246 Translation* translation, | 247 Translation* translation, |
| 247 LOperand* op, | 248 LOperand* op, |
| 248 bool is_tagged, | 249 bool is_tagged, |
| 249 bool is_uint32, | 250 bool is_uint32, |
| (...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 492 Label exit_; | 493 Label exit_; |
| 493 Label* external_exit_; | 494 Label* external_exit_; |
| 494 Label done_; | 495 Label done_; |
| 495 int instruction_index_; | 496 int instruction_index_; |
| 496 LCodeGen::X87Stack x87_stack_; | 497 LCodeGen::X87Stack x87_stack_; |
| 497 }; | 498 }; |
| 498 | 499 |
| 499 } } // namespace v8::internal | 500 } } // namespace v8::internal |
| 500 | 501 |
| 501 #endif // V8_X87_LITHIUM_CODEGEN_X87_H_ | 502 #endif // V8_X87_LITHIUM_CODEGEN_X87_H_ |
| OLD | NEW |