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 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
192 // to be in rdi. | 192 // to be in rdi. |
193 void CallKnownFunction(Handle<JSFunction> function, | 193 void CallKnownFunction(Handle<JSFunction> function, |
194 int formal_parameter_count, int arity, | 194 int formal_parameter_count, int arity, |
195 LInstruction* instr); | 195 LInstruction* instr); |
196 | 196 |
197 void RecordSafepointWithLazyDeopt(LInstruction* instr, | 197 void RecordSafepointWithLazyDeopt(LInstruction* instr, |
198 SafepointMode safepoint_mode, | 198 SafepointMode safepoint_mode, |
199 int argc); | 199 int argc); |
200 void RegisterEnvironmentForDeoptimization(LEnvironment* environment, | 200 void RegisterEnvironmentForDeoptimization(LEnvironment* environment, |
201 Safepoint::DeoptMode mode); | 201 Safepoint::DeoptMode mode); |
202 void DeoptimizeIf(Condition cc, LInstruction* instr, const char* detail, | 202 void DeoptimizeIf(Condition cc, LInstruction* instr, |
| 203 Deoptimizer::DeoptReason deopt_reason, |
203 Deoptimizer::BailoutType bailout_type); | 204 Deoptimizer::BailoutType bailout_type); |
204 void DeoptimizeIf(Condition cc, LInstruction* instr, const char* detail); | 205 void DeoptimizeIf(Condition cc, LInstruction* instr, |
| 206 Deoptimizer::DeoptReason deopt_reason); |
205 | 207 |
206 bool DeoptEveryNTimes() { | 208 bool DeoptEveryNTimes() { |
207 return FLAG_deopt_every_n_times != 0 && !info()->IsStub(); | 209 return FLAG_deopt_every_n_times != 0 && !info()->IsStub(); |
208 } | 210 } |
209 | 211 |
210 void AddToTranslation(LEnvironment* environment, | 212 void AddToTranslation(LEnvironment* environment, |
211 Translation* translation, | 213 Translation* translation, |
212 LOperand* op, | 214 LOperand* op, |
213 bool is_tagged, | 215 bool is_tagged, |
214 bool is_uint32, | 216 bool is_uint32, |
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
387 Label entry_; | 389 Label entry_; |
388 Label exit_; | 390 Label exit_; |
389 Label done_; | 391 Label done_; |
390 Label* external_exit_; | 392 Label* external_exit_; |
391 int instruction_index_; | 393 int instruction_index_; |
392 }; | 394 }; |
393 | 395 |
394 } } // namespace v8::internal | 396 } } // namespace v8::internal |
395 | 397 |
396 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ | 398 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ |
OLD | NEW |