| 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_X87_LITHIUM_CODEGEN_X87_H_ | 5 #ifndef V8_CRANKSHAFT_X87_LITHIUM_CODEGEN_X87_H_ |
| 6 #define V8_CRANKSHAFT_X87_LITHIUM_CODEGEN_X87_H_ | 6 #define V8_CRANKSHAFT_X87_LITHIUM_CODEGEN_X87_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 | 9 |
| 10 #include "src/ast/scopes.h" | 10 #include "src/ast/scopes.h" |
| (...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 260 Representation key_representation, | 260 Representation key_representation, |
| 261 ElementsKind elements_kind, | 261 ElementsKind elements_kind, |
| 262 uint32_t base_offset); | 262 uint32_t base_offset); |
| 263 | 263 |
| 264 Operand BuildSeqStringOperand(Register string, | 264 Operand BuildSeqStringOperand(Register string, |
| 265 LOperand* index, | 265 LOperand* index, |
| 266 String::Encoding encoding); | 266 String::Encoding encoding); |
| 267 | 267 |
| 268 void EmitIntegerMathAbs(LMathAbs* instr); | 268 void EmitIntegerMathAbs(LMathAbs* instr); |
| 269 | 269 |
| 270 // Support for recording safepoint and position information. | 270 // Support for recording safepoint information. |
| 271 void RecordSafepoint(LPointerMap* pointers, | 271 void RecordSafepoint(LPointerMap* pointers, |
| 272 Safepoint::Kind kind, | 272 Safepoint::Kind kind, |
| 273 int arguments, | 273 int arguments, |
| 274 Safepoint::DeoptMode mode); | 274 Safepoint::DeoptMode mode); |
| 275 void RecordSafepoint(LPointerMap* pointers, Safepoint::DeoptMode mode); | 275 void RecordSafepoint(LPointerMap* pointers, Safepoint::DeoptMode mode); |
| 276 void RecordSafepoint(Safepoint::DeoptMode mode); | 276 void RecordSafepoint(Safepoint::DeoptMode mode); |
| 277 void RecordSafepointWithRegisters(LPointerMap* pointers, | 277 void RecordSafepointWithRegisters(LPointerMap* pointers, |
| 278 int arguments, | 278 int arguments, |
| 279 Safepoint::DeoptMode mode); | 279 Safepoint::DeoptMode mode); |
| 280 | 280 |
| 281 void RecordAndWritePosition(int position) override; | |
| 282 | |
| 283 static Condition TokenToCondition(Token::Value op, bool is_unsigned); | 281 static Condition TokenToCondition(Token::Value op, bool is_unsigned); |
| 284 void EmitGoto(int block); | 282 void EmitGoto(int block); |
| 285 | 283 |
| 286 // EmitBranch expects to be the last instruction of a block. | 284 // EmitBranch expects to be the last instruction of a block. |
| 287 template<class InstrType> | 285 template<class InstrType> |
| 288 void EmitBranch(InstrType instr, Condition cc); | 286 void EmitBranch(InstrType instr, Condition cc); |
| 289 template <class InstrType> | 287 template <class InstrType> |
| 290 void EmitTrueBranch(InstrType instr, Condition cc); | 288 void EmitTrueBranch(InstrType instr, Condition cc); |
| 291 template <class InstrType> | 289 template <class InstrType> |
| 292 void EmitFalseBranch(InstrType instr, Condition cc); | 290 void EmitFalseBranch(InstrType instr, Condition cc); |
| (...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 487 Label* external_exit_; | 485 Label* external_exit_; |
| 488 Label done_; | 486 Label done_; |
| 489 int instruction_index_; | 487 int instruction_index_; |
| 490 LCodeGen::X87Stack x87_stack_; | 488 LCodeGen::X87Stack x87_stack_; |
| 491 }; | 489 }; |
| 492 | 490 |
| 493 } // namespace internal | 491 } // namespace internal |
| 494 } // namespace v8 | 492 } // namespace v8 |
| 495 | 493 |
| 496 #endif // V8_CRANKSHAFT_X87_LITHIUM_CODEGEN_X87_H_ | 494 #endif // V8_CRANKSHAFT_X87_LITHIUM_CODEGEN_X87_H_ |
| OLD | NEW |