| OLD | NEW |
| 1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 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_PPC_LITHIUM_CODEGEN_PPC_H_ | 5 #ifndef V8_CRANKSHAFT_PPC_LITHIUM_CODEGEN_PPC_H_ |
| 6 #define V8_CRANKSHAFT_PPC_LITHIUM_CODEGEN_PPC_H_ | 6 #define V8_CRANKSHAFT_PPC_LITHIUM_CODEGEN_PPC_H_ |
| 7 | 7 |
| 8 #include "src/ast/scopes.h" | 8 #include "src/ast/scopes.h" |
| 9 #include "src/crankshaft/lithium-codegen.h" | 9 #include "src/crankshaft/lithium-codegen.h" |
| 10 #include "src/crankshaft/ppc/lithium-gap-resolver-ppc.h" | 10 #include "src/crankshaft/ppc/lithium-gap-resolver-ppc.h" |
| (...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 200 void CallKnownFunction(Handle<JSFunction> function, | 200 void CallKnownFunction(Handle<JSFunction> function, |
| 201 int formal_parameter_count, int arity, | 201 int formal_parameter_count, int arity, |
| 202 bool is_tail_call, LInstruction* instr); | 202 bool is_tail_call, LInstruction* instr); |
| 203 | 203 |
| 204 void RecordSafepointWithLazyDeopt(LInstruction* instr, | 204 void RecordSafepointWithLazyDeopt(LInstruction* instr, |
| 205 SafepointMode safepoint_mode); | 205 SafepointMode safepoint_mode); |
| 206 | 206 |
| 207 void RegisterEnvironmentForDeoptimization(LEnvironment* environment, | 207 void RegisterEnvironmentForDeoptimization(LEnvironment* environment, |
| 208 Safepoint::DeoptMode mode); | 208 Safepoint::DeoptMode mode); |
| 209 void DeoptimizeIf(Condition condition, LInstruction* instr, | 209 void DeoptimizeIf(Condition condition, LInstruction* instr, |
| 210 Deoptimizer::DeoptReason deopt_reason, | 210 DeoptimizeReason deopt_reason, |
| 211 Deoptimizer::BailoutType bailout_type, CRegister cr = cr7); | 211 Deoptimizer::BailoutType bailout_type, CRegister cr = cr7); |
| 212 void DeoptimizeIf(Condition condition, LInstruction* instr, | 212 void DeoptimizeIf(Condition condition, LInstruction* instr, |
| 213 Deoptimizer::DeoptReason deopt_reason, CRegister cr = cr7); | 213 DeoptimizeReason deopt_reason, CRegister cr = cr7); |
| 214 | 214 |
| 215 void AddToTranslation(LEnvironment* environment, Translation* translation, | 215 void AddToTranslation(LEnvironment* environment, Translation* translation, |
| 216 LOperand* op, bool is_tagged, bool is_uint32, | 216 LOperand* op, bool is_tagged, bool is_uint32, |
| 217 int* object_index_pointer, | 217 int* object_index_pointer, |
| 218 int* dematerialized_index_pointer); | 218 int* dematerialized_index_pointer); |
| 219 | 219 |
| 220 Register ToRegister(int index) const; | 220 Register ToRegister(int index) const; |
| 221 DoubleRegister ToDoubleRegister(int index) const; | 221 DoubleRegister ToDoubleRegister(int index) const; |
| 222 | 222 |
| 223 MemOperand BuildSeqStringOperand(Register string, LOperand* index, | 223 MemOperand BuildSeqStringOperand(Register string, LOperand* index, |
| (...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 349 LCodeGen* codegen_; | 349 LCodeGen* codegen_; |
| 350 Label entry_; | 350 Label entry_; |
| 351 Label exit_; | 351 Label exit_; |
| 352 Label* external_exit_; | 352 Label* external_exit_; |
| 353 int instruction_index_; | 353 int instruction_index_; |
| 354 }; | 354 }; |
| 355 } // namespace internal | 355 } // namespace internal |
| 356 } // namespace v8 | 356 } // namespace v8 |
| 357 | 357 |
| 358 #endif // V8_CRANKSHAFT_PPC_LITHIUM_CODEGEN_PPC_H_ | 358 #endif // V8_CRANKSHAFT_PPC_LITHIUM_CODEGEN_PPC_H_ |
| OLD | NEW |