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