OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
239 | 239 |
240 void PopulateDeoptimizationLiteralsWithInlinedFunctions(); | 240 void PopulateDeoptimizationLiteralsWithInlinedFunctions(); |
241 | 241 |
242 Register ToRegister(int index) const; | 242 Register ToRegister(int index) const; |
243 XMMRegister ToDoubleRegister(int index) const; | 243 XMMRegister ToDoubleRegister(int index) const; |
244 int ToInteger32(LConstantOperand* op) const; | 244 int ToInteger32(LConstantOperand* op) const; |
245 | 245 |
246 double ToDouble(LConstantOperand* op) const; | 246 double ToDouble(LConstantOperand* op) const; |
247 Operand BuildFastArrayOperand(LOperand* elements_pointer, | 247 Operand BuildFastArrayOperand(LOperand* elements_pointer, |
248 LOperand* key, | 248 LOperand* key, |
| 249 Representation key_representation, |
249 ElementsKind elements_kind, | 250 ElementsKind elements_kind, |
250 uint32_t offset, | 251 uint32_t offset, |
251 uint32_t additional_index = 0); | 252 uint32_t additional_index = 0); |
252 | 253 |
253 // Specific math operations - used from DoUnaryMathOperation. | 254 // Specific math operations - used from DoUnaryMathOperation. |
254 void EmitIntegerMathAbs(LUnaryMathOperation* instr); | 255 void EmitIntegerMathAbs(LUnaryMathOperation* instr); |
255 void DoMathAbs(LUnaryMathOperation* instr); | 256 void DoMathAbs(LUnaryMathOperation* instr); |
256 void DoMathFloor(LUnaryMathOperation* instr); | 257 void DoMathFloor(LUnaryMathOperation* instr); |
257 void DoMathRound(LUnaryMathOperation* instr); | 258 void DoMathRound(LUnaryMathOperation* instr); |
258 void DoMathSqrt(LUnaryMathOperation* instr); | 259 void DoMathSqrt(LUnaryMathOperation* instr); |
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
409 LCodeGen* codegen_; | 410 LCodeGen* codegen_; |
410 Label entry_; | 411 Label entry_; |
411 Label exit_; | 412 Label exit_; |
412 Label* external_exit_; | 413 Label* external_exit_; |
413 int instruction_index_; | 414 int instruction_index_; |
414 }; | 415 }; |
415 | 416 |
416 } } // namespace v8::internal | 417 } } // namespace v8::internal |
417 | 418 |
418 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ | 419 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ |
OLD | NEW |