| 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_CRANKSHAFT_X64_LITHIUM_CODEGEN_X64_H_ | 5 #ifndef V8_CRANKSHAFT_X64_LITHIUM_CODEGEN_X64_H_ |
| 6 #define V8_CRANKSHAFT_X64_LITHIUM_CODEGEN_X64_H_ | 6 #define V8_CRANKSHAFT_X64_LITHIUM_CODEGEN_X64_H_ |
| 7 | 7 |
| 8 | 8 |
| 9 #include "src/ast/scopes.h" | 9 #include "src/ast/scopes.h" |
| 10 #include "src/base/logging.h" | 10 #include "src/base/logging.h" |
| (...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 198 void CallKnownFunction(Handle<JSFunction> function, | 198 void CallKnownFunction(Handle<JSFunction> function, |
| 199 int formal_parameter_count, int arity, | 199 int formal_parameter_count, int arity, |
| 200 bool is_tail_call, LInstruction* instr); | 200 bool is_tail_call, LInstruction* instr); |
| 201 | 201 |
| 202 void RecordSafepointWithLazyDeopt(LInstruction* instr, | 202 void RecordSafepointWithLazyDeopt(LInstruction* instr, |
| 203 SafepointMode safepoint_mode, | 203 SafepointMode safepoint_mode, |
| 204 int argc); | 204 int argc); |
| 205 void RegisterEnvironmentForDeoptimization(LEnvironment* environment, | 205 void RegisterEnvironmentForDeoptimization(LEnvironment* environment, |
| 206 Safepoint::DeoptMode mode); | 206 Safepoint::DeoptMode mode); |
| 207 void DeoptimizeIf(Condition cc, LInstruction* instr, | 207 void DeoptimizeIf(Condition cc, LInstruction* instr, |
| 208 Deoptimizer::DeoptReason deopt_reason, | 208 DeoptimizeReason deopt_reason, |
| 209 Deoptimizer::BailoutType bailout_type); | 209 Deoptimizer::BailoutType bailout_type); |
| 210 void DeoptimizeIf(Condition cc, LInstruction* instr, | 210 void DeoptimizeIf(Condition cc, LInstruction* instr, |
| 211 Deoptimizer::DeoptReason deopt_reason); | 211 DeoptimizeReason deopt_reason); |
| 212 | 212 |
| 213 bool DeoptEveryNTimes() { | 213 bool DeoptEveryNTimes() { |
| 214 return FLAG_deopt_every_n_times != 0 && !info()->IsStub(); | 214 return FLAG_deopt_every_n_times != 0 && !info()->IsStub(); |
| 215 } | 215 } |
| 216 | 216 |
| 217 void AddToTranslation(LEnvironment* environment, | 217 void AddToTranslation(LEnvironment* environment, |
| 218 Translation* translation, | 218 Translation* translation, |
| 219 LOperand* op, | 219 LOperand* op, |
| 220 bool is_tagged, | 220 bool is_tagged, |
| 221 bool is_uint32, | 221 bool is_uint32, |
| (...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 378 Label exit_; | 378 Label exit_; |
| 379 Label done_; | 379 Label done_; |
| 380 Label* external_exit_; | 380 Label* external_exit_; |
| 381 int instruction_index_; | 381 int instruction_index_; |
| 382 }; | 382 }; |
| 383 | 383 |
| 384 } // namespace internal | 384 } // namespace internal |
| 385 } // namespace v8 | 385 } // namespace v8 |
| 386 | 386 |
| 387 #endif // V8_CRANKSHAFT_X64_LITHIUM_CODEGEN_X64_H_ | 387 #endif // V8_CRANKSHAFT_X64_LITHIUM_CODEGEN_X64_H_ |
| OLD | NEW |