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_X64_LITHIUM_CODEGEN_X64_H_ | 5 #ifndef V8_X64_LITHIUM_CODEGEN_X64_H_ |
6 #define V8_X64_LITHIUM_CODEGEN_X64_H_ | 6 #define V8_X64_LITHIUM_CODEGEN_X64_H_ |
7 | 7 |
8 #include "x64/lithium-x64.h" | 8 #include "x64/lithium-x64.h" |
9 | 9 |
10 #include "checks.h" | 10 #include "checks.h" |
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
218 int DefineDeoptimizationLiteral(Handle<Object> literal); | 218 int DefineDeoptimizationLiteral(Handle<Object> literal); |
219 | 219 |
220 void PopulateDeoptimizationLiteralsWithInlinedFunctions(); | 220 void PopulateDeoptimizationLiteralsWithInlinedFunctions(); |
221 | 221 |
222 Register ToRegister(int index) const; | 222 Register ToRegister(int index) const; |
223 XMMRegister ToDoubleRegister(int index) const; | 223 XMMRegister ToDoubleRegister(int index) const; |
224 Operand BuildFastArrayOperand( | 224 Operand BuildFastArrayOperand( |
225 LOperand* elements_pointer, | 225 LOperand* elements_pointer, |
226 LOperand* key, | 226 LOperand* key, |
227 ElementsKind elements_kind, | 227 ElementsKind elements_kind, |
228 uint32_t offset, | 228 uint32_t base_offset); |
229 uint32_t additional_index = 0); | |
230 | 229 |
231 Operand BuildSeqStringOperand(Register string, | 230 Operand BuildSeqStringOperand(Register string, |
232 LOperand* index, | 231 LOperand* index, |
233 String::Encoding encoding); | 232 String::Encoding encoding); |
234 | 233 |
235 void EmitIntegerMathAbs(LMathAbs* instr); | 234 void EmitIntegerMathAbs(LMathAbs* instr); |
236 void EmitSmiMathAbs(LMathAbs* instr); | 235 void EmitSmiMathAbs(LMathAbs* instr); |
237 | 236 |
238 // Support for recording safepoint and position information. | 237 // Support for recording safepoint and position information. |
239 void RecordSafepoint(LPointerMap* pointers, | 238 void RecordSafepoint(LPointerMap* pointers, |
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
388 Label entry_; | 387 Label entry_; |
389 Label exit_; | 388 Label exit_; |
390 Label done_; | 389 Label done_; |
391 Label* external_exit_; | 390 Label* external_exit_; |
392 int instruction_index_; | 391 int instruction_index_; |
393 }; | 392 }; |
394 | 393 |
395 } } // namespace v8::internal | 394 } } // namespace v8::internal |
396 | 395 |
397 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ | 396 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ |
OLD | NEW |