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 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
235 void PopulateDeoptimizationLiteralsWithInlinedFunctions(); | 235 void PopulateDeoptimizationLiteralsWithInlinedFunctions(); |
236 | 236 |
237 Register ToRegister(int index) const; | 237 Register ToRegister(int index) const; |
238 XMMRegister ToDoubleRegister(int index) const; | 238 XMMRegister ToDoubleRegister(int index) const; |
239 int ToInteger32(LConstantOperand* op) const; | 239 int ToInteger32(LConstantOperand* op) const; |
240 | 240 |
241 double ToDouble(LConstantOperand* op) const; | 241 double ToDouble(LConstantOperand* op) const; |
242 Operand BuildFastArrayOperand(LOperand* elements_pointer, | 242 Operand BuildFastArrayOperand(LOperand* elements_pointer, |
243 LOperand* key, | 243 LOperand* key, |
244 ElementsKind elements_kind, | 244 ElementsKind elements_kind, |
245 uint32_t offset); | 245 uint32_t offset, |
246 uint32_t additional_index = 0); | |
Jakob Kummerow
2012/05/08 13:46:26
int32_t please.
Massi
2012/05/14 13:48:52
uint32_t everywhere :-)
| |
246 | 247 |
247 // Specific math operations - used from DoUnaryMathOperation. | 248 // Specific math operations - used from DoUnaryMathOperation. |
248 void EmitIntegerMathAbs(LUnaryMathOperation* instr); | 249 void EmitIntegerMathAbs(LUnaryMathOperation* instr); |
249 void DoMathAbs(LUnaryMathOperation* instr); | 250 void DoMathAbs(LUnaryMathOperation* instr); |
250 void DoMathFloor(LUnaryMathOperation* instr); | 251 void DoMathFloor(LUnaryMathOperation* instr); |
251 void DoMathRound(LUnaryMathOperation* instr); | 252 void DoMathRound(LUnaryMathOperation* instr); |
252 void DoMathSqrt(LUnaryMathOperation* instr); | 253 void DoMathSqrt(LUnaryMathOperation* instr); |
253 void DoMathLog(LUnaryMathOperation* instr); | 254 void DoMathLog(LUnaryMathOperation* instr); |
254 void DoMathTan(LUnaryMathOperation* instr); | 255 void DoMathTan(LUnaryMathOperation* instr); |
255 void DoMathCos(LUnaryMathOperation* instr); | 256 void DoMathCos(LUnaryMathOperation* instr); |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
400 LCodeGen* codegen_; | 401 LCodeGen* codegen_; |
401 Label entry_; | 402 Label entry_; |
402 Label exit_; | 403 Label exit_; |
403 Label* external_exit_; | 404 Label* external_exit_; |
404 int instruction_index_; | 405 int instruction_index_; |
405 }; | 406 }; |
406 | 407 |
407 } } // namespace v8::internal | 408 } } // namespace v8::internal |
408 | 409 |
409 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ | 410 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ |
OLD | NEW |