OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
208 void AddToTranslation(Translation* translation, | 208 void AddToTranslation(Translation* translation, |
209 LOperand* op, | 209 LOperand* op, |
210 bool is_tagged); | 210 bool is_tagged); |
211 void PopulateDeoptimizationData(Handle<Code> code); | 211 void PopulateDeoptimizationData(Handle<Code> code); |
212 int DefineDeoptimizationLiteral(Handle<Object> literal); | 212 int DefineDeoptimizationLiteral(Handle<Object> literal); |
213 | 213 |
214 void PopulateDeoptimizationLiteralsWithInlinedFunctions(); | 214 void PopulateDeoptimizationLiteralsWithInlinedFunctions(); |
215 | 215 |
216 Register ToRegister(int index) const; | 216 Register ToRegister(int index) const; |
217 XMMRegister ToDoubleRegister(int index) const; | 217 XMMRegister ToDoubleRegister(int index) const; |
218 Operand BuildExternalArrayOperand( | 218 Operand BuildFastArrayOperand( |
219 LOperand* external_pointer, | 219 LOperand* external_pointer, |
220 LOperand* key, | 220 LOperand* key, |
221 JSObject::ElementsKind elements_kind); | 221 JSObject::ElementsKind elements_kind, |
| 222 uint32_t offset); |
222 | 223 |
223 // Specific math operations - used from DoUnaryMathOperation. | 224 // Specific math operations - used from DoUnaryMathOperation. |
224 void EmitIntegerMathAbs(LUnaryMathOperation* instr); | 225 void EmitIntegerMathAbs(LUnaryMathOperation* instr); |
225 void DoMathAbs(LUnaryMathOperation* instr); | 226 void DoMathAbs(LUnaryMathOperation* instr); |
226 void DoMathFloor(LUnaryMathOperation* instr); | 227 void DoMathFloor(LUnaryMathOperation* instr); |
227 void DoMathRound(LUnaryMathOperation* instr); | 228 void DoMathRound(LUnaryMathOperation* instr); |
228 void DoMathSqrt(LUnaryMathOperation* instr); | 229 void DoMathSqrt(LUnaryMathOperation* instr); |
229 void DoMathPowHalf(LUnaryMathOperation* instr); | 230 void DoMathPowHalf(LUnaryMathOperation* instr); |
230 void DoMathLog(LUnaryMathOperation* instr); | 231 void DoMathLog(LUnaryMathOperation* instr); |
231 void DoMathCos(LUnaryMathOperation* instr); | 232 void DoMathCos(LUnaryMathOperation* instr); |
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
362 private: | 363 private: |
363 LCodeGen* codegen_; | 364 LCodeGen* codegen_; |
364 Label entry_; | 365 Label entry_; |
365 Label exit_; | 366 Label exit_; |
366 Label* external_exit_; | 367 Label* external_exit_; |
367 }; | 368 }; |
368 | 369 |
369 } } // namespace v8::internal | 370 } } // namespace v8::internal |
370 | 371 |
371 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ | 372 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ |
OLD | NEW |