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 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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* detail, | 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, const char* detail); |
212 const char* detail = NULL); | |
213 | 212 |
214 bool DeoptEveryNTimes() { | 213 bool DeoptEveryNTimes() { |
215 return FLAG_deopt_every_n_times != 0 && !info()->IsStub(); | 214 return FLAG_deopt_every_n_times != 0 && !info()->IsStub(); |
216 } | 215 } |
217 | 216 |
218 void AddToTranslation(LEnvironment* environment, | 217 void AddToTranslation(LEnvironment* environment, |
219 Translation* translation, | 218 Translation* translation, |
220 LOperand* op, | 219 LOperand* op, |
221 bool is_tagged, | 220 bool is_tagged, |
222 bool is_uint32, | 221 bool is_uint32, |
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
395 Label entry_; | 394 Label entry_; |
396 Label exit_; | 395 Label exit_; |
397 Label done_; | 396 Label done_; |
398 Label* external_exit_; | 397 Label* external_exit_; |
399 int instruction_index_; | 398 int instruction_index_; |
400 }; | 399 }; |
401 | 400 |
402 } } // namespace v8::internal | 401 } } // namespace v8::internal |
403 | 402 |
404 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ | 403 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ |
OLD | NEW |