| 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_X64_LITHIUM_CODEGEN_X64_H_ | 5 #ifndef V8_X64_LITHIUM_CODEGEN_X64_H_ |
| 6 #define V8_X64_LITHIUM_CODEGEN_X64_H_ | 6 #define V8_X64_LITHIUM_CODEGEN_X64_H_ |
| 7 | 7 |
| 8 #include "src/x64/lithium-x64.h" | 8 #include "src/x64/lithium-x64.h" |
| 9 | 9 |
| 10 #include "src/base/logging.h" | 10 #include "src/base/logging.h" |
| (...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 199 int formal_parameter_count, | 199 int formal_parameter_count, |
| 200 int arity, | 200 int arity, |
| 201 LInstruction* instr, | 201 LInstruction* instr, |
| 202 RDIState rdi_state); | 202 RDIState rdi_state); |
| 203 | 203 |
| 204 void RecordSafepointWithLazyDeopt(LInstruction* instr, | 204 void RecordSafepointWithLazyDeopt(LInstruction* instr, |
| 205 SafepointMode safepoint_mode, | 205 SafepointMode safepoint_mode, |
| 206 int argc); | 206 int argc); |
| 207 void RegisterEnvironmentForDeoptimization(LEnvironment* environment, | 207 void RegisterEnvironmentForDeoptimization(LEnvironment* environment, |
| 208 Safepoint::DeoptMode mode); | 208 Safepoint::DeoptMode mode); |
| 209 void DeoptimizeIf(Condition cc, LInstruction* instr, const char* reason, | 209 void DeoptimizeIf(Condition cc, LInstruction* instr, const char* detail, |
| 210 Deoptimizer::BailoutType bailout_type); | 210 Deoptimizer::BailoutType bailout_type); |
| 211 void DeoptimizeIf(Condition cc, LInstruction* instr, | 211 void DeoptimizeIf(Condition cc, LInstruction* instr, |
| 212 const char* reason = NULL); | 212 const char* detail = NULL); |
| 213 | 213 |
| 214 bool DeoptEveryNTimes() { | 214 bool DeoptEveryNTimes() { |
| 215 return FLAG_deopt_every_n_times != 0 && !info()->IsStub(); | 215 return FLAG_deopt_every_n_times != 0 && !info()->IsStub(); |
| 216 } | 216 } |
| 217 | 217 |
| 218 void AddToTranslation(LEnvironment* environment, | 218 void AddToTranslation(LEnvironment* environment, |
| 219 Translation* translation, | 219 Translation* translation, |
| 220 LOperand* op, | 220 LOperand* op, |
| 221 bool is_tagged, | 221 bool is_tagged, |
| 222 bool is_uint32, | 222 bool is_uint32, |
| (...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 395 Label entry_; | 395 Label entry_; |
| 396 Label exit_; | 396 Label exit_; |
| 397 Label done_; | 397 Label done_; |
| 398 Label* external_exit_; | 398 Label* external_exit_; |
| 399 int instruction_index_; | 399 int instruction_index_; |
| 400 }; | 400 }; |
| 401 | 401 |
| 402 } } // namespace v8::internal | 402 } } // namespace v8::internal |
| 403 | 403 |
| 404 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ | 404 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ |
| OLD | NEW |