| 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, | 202 void DeoptimizeIf(Condition cc, LInstruction* instr, const char* detail, |
| 203 Deoptimizer::DeoptReason deopt_reason, | |
| 204 Deoptimizer::BailoutType bailout_type); | 203 Deoptimizer::BailoutType bailout_type); |
| 205 void DeoptimizeIf(Condition cc, LInstruction* instr, | 204 void DeoptimizeIf(Condition cc, LInstruction* instr, const char* detail); |
| 206 Deoptimizer::DeoptReason deopt_reason); | |
| 207 | 205 |
| 208 bool DeoptEveryNTimes() { | 206 bool DeoptEveryNTimes() { |
| 209 return FLAG_deopt_every_n_times != 0 && !info()->IsStub(); | 207 return FLAG_deopt_every_n_times != 0 && !info()->IsStub(); |
| 210 } | 208 } |
| 211 | 209 |
| 212 void AddToTranslation(LEnvironment* environment, | 210 void AddToTranslation(LEnvironment* environment, |
| 213 Translation* translation, | 211 Translation* translation, |
| 214 LOperand* op, | 212 LOperand* op, |
| 215 bool is_tagged, | 213 bool is_tagged, |
| 216 bool is_uint32, | 214 bool is_uint32, |
| (...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 389 Label entry_; | 387 Label entry_; |
| 390 Label exit_; | 388 Label exit_; |
| 391 Label done_; | 389 Label done_; |
| 392 Label* external_exit_; | 390 Label* external_exit_; |
| 393 int instruction_index_; | 391 int instruction_index_; |
| 394 }; | 392 }; |
| 395 | 393 |
| 396 } } // namespace v8::internal | 394 } } // namespace v8::internal |
| 397 | 395 |
| 398 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ | 396 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ |
| OLD | NEW |