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_IA32_LITHIUM_CODEGEN_IA32_H_ | 5 #ifndef V8_IA32_LITHIUM_CODEGEN_IA32_H_ |
6 #define V8_IA32_LITHIUM_CODEGEN_IA32_H_ | 6 #define V8_IA32_LITHIUM_CODEGEN_IA32_H_ |
7 | 7 |
8 #include "ia32/lithium-ia32.h" | 8 #include "ia32/lithium-ia32.h" |
9 | 9 |
10 #include "checks.h" | 10 #include "checks.h" |
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
234 Register ToRegister(int index) const; | 234 Register ToRegister(int index) const; |
235 XMMRegister ToDoubleRegister(int index) const; | 235 XMMRegister ToDoubleRegister(int index) const; |
236 int32_t ToRepresentation(LConstantOperand* op, const Representation& r) const; | 236 int32_t ToRepresentation(LConstantOperand* op, const Representation& r) const; |
237 int32_t ToInteger32(LConstantOperand* op) const; | 237 int32_t ToInteger32(LConstantOperand* op) const; |
238 ExternalReference ToExternalReference(LConstantOperand* op) const; | 238 ExternalReference ToExternalReference(LConstantOperand* op) const; |
239 | 239 |
240 Operand BuildFastArrayOperand(LOperand* elements_pointer, | 240 Operand BuildFastArrayOperand(LOperand* elements_pointer, |
241 LOperand* key, | 241 LOperand* key, |
242 Representation key_representation, | 242 Representation key_representation, |
243 ElementsKind elements_kind, | 243 ElementsKind elements_kind, |
244 uint32_t offset, | 244 uint32_t base_offset); |
245 uint32_t additional_index = 0); | |
246 | 245 |
247 Operand BuildSeqStringOperand(Register string, | 246 Operand BuildSeqStringOperand(Register string, |
248 LOperand* index, | 247 LOperand* index, |
249 String::Encoding encoding); | 248 String::Encoding encoding); |
250 | 249 |
251 void EmitIntegerMathAbs(LMathAbs* instr); | 250 void EmitIntegerMathAbs(LMathAbs* instr); |
252 | 251 |
253 // Support for recording safepoint and position information. | 252 // Support for recording safepoint and position information. |
254 void RecordSafepoint(LPointerMap* pointers, | 253 void RecordSafepoint(LPointerMap* pointers, |
255 Safepoint::Kind kind, | 254 Safepoint::Kind kind, |
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
413 Label entry_; | 412 Label entry_; |
414 Label exit_; | 413 Label exit_; |
415 Label* external_exit_; | 414 Label* external_exit_; |
416 Label done_; | 415 Label done_; |
417 int instruction_index_; | 416 int instruction_index_; |
418 }; | 417 }; |
419 | 418 |
420 } } // namespace v8::internal | 419 } } // namespace v8::internal |
421 | 420 |
422 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ | 421 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ |
OLD | NEW |