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 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
222 LOperand* op, | 222 LOperand* op, |
223 bool is_tagged); | 223 bool is_tagged); |
224 void PopulateDeoptimizationData(Handle<Code> code); | 224 void PopulateDeoptimizationData(Handle<Code> code); |
225 int DefineDeoptimizationLiteral(Handle<Object> literal); | 225 int DefineDeoptimizationLiteral(Handle<Object> literal); |
226 | 226 |
227 void PopulateDeoptimizationLiteralsWithInlinedFunctions(); | 227 void PopulateDeoptimizationLiteralsWithInlinedFunctions(); |
228 | 228 |
229 Register ToRegister(int index) const; | 229 Register ToRegister(int index) const; |
230 XMMRegister ToDoubleRegister(int index) const; | 230 XMMRegister ToDoubleRegister(int index) const; |
231 int ToInteger32(LConstantOperand* op) const; | 231 int ToInteger32(LConstantOperand* op) const; |
| 232 Operand BuildExternalArrayOperand(LOperand* external_pointer, |
| 233 LOperand* key, |
| 234 ExternalArrayType array_type); |
232 | 235 |
233 // Specific math operations - used from DoUnaryMathOperation. | 236 // Specific math operations - used from DoUnaryMathOperation. |
234 void EmitIntegerMathAbs(LUnaryMathOperation* instr); | 237 void EmitIntegerMathAbs(LUnaryMathOperation* instr); |
235 void DoMathAbs(LUnaryMathOperation* instr); | 238 void DoMathAbs(LUnaryMathOperation* instr); |
236 void DoMathFloor(LUnaryMathOperation* instr); | 239 void DoMathFloor(LUnaryMathOperation* instr); |
237 void DoMathRound(LUnaryMathOperation* instr); | 240 void DoMathRound(LUnaryMathOperation* instr); |
238 void DoMathSqrt(LUnaryMathOperation* instr); | 241 void DoMathSqrt(LUnaryMathOperation* instr); |
239 void DoMathPowHalf(LUnaryMathOperation* instr); | 242 void DoMathPowHalf(LUnaryMathOperation* instr); |
240 void DoMathLog(LUnaryMathOperation* instr); | 243 void DoMathLog(LUnaryMathOperation* instr); |
241 void DoMathCos(LUnaryMathOperation* instr); | 244 void DoMathCos(LUnaryMathOperation* instr); |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
362 private: | 365 private: |
363 LCodeGen* codegen_; | 366 LCodeGen* codegen_; |
364 Label entry_; | 367 Label entry_; |
365 Label exit_; | 368 Label exit_; |
366 Label* external_exit_; | 369 Label* external_exit_; |
367 }; | 370 }; |
368 | 371 |
369 } } // namespace v8::internal | 372 } } // namespace v8::internal |
370 | 373 |
371 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ | 374 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ |
OLD | NEW |