| 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_ARM_LITHIUM_CODEGEN_ARM_H_ | 5 #ifndef V8_CRANKSHAFT_ARM_LITHIUM_CODEGEN_ARM_H_ |
| 6 #define V8_CRANKSHAFT_ARM_LITHIUM_CODEGEN_ARM_H_ | 6 #define V8_CRANKSHAFT_ARM_LITHIUM_CODEGEN_ARM_H_ |
| 7 | 7 |
| 8 #include "src/ast/scopes.h" | 8 #include "src/ast/scopes.h" |
| 9 #include "src/crankshaft/arm/lithium-arm.h" | 9 #include "src/crankshaft/arm/lithium-arm.h" |
| 10 #include "src/crankshaft/arm/lithium-gap-resolver-arm.h" | 10 #include "src/crankshaft/arm/lithium-gap-resolver-arm.h" |
| (...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 246 | 246 |
| 247 Register ToRegister(int index) const; | 247 Register ToRegister(int index) const; |
| 248 DwVfpRegister ToDoubleRegister(int index) const; | 248 DwVfpRegister ToDoubleRegister(int index) const; |
| 249 | 249 |
| 250 MemOperand BuildSeqStringOperand(Register string, | 250 MemOperand BuildSeqStringOperand(Register string, |
| 251 LOperand* index, | 251 LOperand* index, |
| 252 String::Encoding encoding); | 252 String::Encoding encoding); |
| 253 | 253 |
| 254 void EmitIntegerMathAbs(LMathAbs* instr); | 254 void EmitIntegerMathAbs(LMathAbs* instr); |
| 255 | 255 |
| 256 // Support for recording safepoint and position information. | 256 // Support for recording safepoint information. |
| 257 void RecordSafepoint(LPointerMap* pointers, | 257 void RecordSafepoint(LPointerMap* pointers, |
| 258 Safepoint::Kind kind, | 258 Safepoint::Kind kind, |
| 259 int arguments, | 259 int arguments, |
| 260 Safepoint::DeoptMode mode); | 260 Safepoint::DeoptMode mode); |
| 261 void RecordSafepoint(LPointerMap* pointers, Safepoint::DeoptMode mode); | 261 void RecordSafepoint(LPointerMap* pointers, Safepoint::DeoptMode mode); |
| 262 void RecordSafepoint(Safepoint::DeoptMode mode); | 262 void RecordSafepoint(Safepoint::DeoptMode mode); |
| 263 void RecordSafepointWithRegisters(LPointerMap* pointers, | 263 void RecordSafepointWithRegisters(LPointerMap* pointers, |
| 264 int arguments, | 264 int arguments, |
| 265 Safepoint::DeoptMode mode); | 265 Safepoint::DeoptMode mode); |
| 266 | 266 |
| 267 void RecordAndWritePosition(int position) override; | |
| 268 | |
| 269 static Condition TokenToCondition(Token::Value op, bool is_unsigned); | 267 static Condition TokenToCondition(Token::Value op, bool is_unsigned); |
| 270 void EmitGoto(int block); | 268 void EmitGoto(int block); |
| 271 | 269 |
| 272 // EmitBranch expects to be the last instruction of a block. | 270 // EmitBranch expects to be the last instruction of a block. |
| 273 template<class InstrType> | 271 template<class InstrType> |
| 274 void EmitBranch(InstrType instr, Condition condition); | 272 void EmitBranch(InstrType instr, Condition condition); |
| 275 template <class InstrType> | 273 template <class InstrType> |
| 276 void EmitTrueBranch(InstrType instr, Condition condition); | 274 void EmitTrueBranch(InstrType instr, Condition condition); |
| 277 template <class InstrType> | 275 template <class InstrType> |
| 278 void EmitFalseBranch(InstrType instr, Condition condition); | 276 void EmitFalseBranch(InstrType instr, Condition condition); |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 384 Label entry_; | 382 Label entry_; |
| 385 Label exit_; | 383 Label exit_; |
| 386 Label* external_exit_; | 384 Label* external_exit_; |
| 387 int instruction_index_; | 385 int instruction_index_; |
| 388 }; | 386 }; |
| 389 | 387 |
| 390 } // namespace internal | 388 } // namespace internal |
| 391 } // namespace v8 | 389 } // namespace v8 |
| 392 | 390 |
| 393 #endif // V8_CRANKSHAFT_ARM_LITHIUM_CODEGEN_ARM_H_ | 391 #endif // V8_CRANKSHAFT_ARM_LITHIUM_CODEGEN_ARM_H_ |
| OLD | NEW |