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 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
163 bool is_tagged); | 163 bool is_tagged); |
164 void PopulateDeoptimizationData(Handle<Code> code); | 164 void PopulateDeoptimizationData(Handle<Code> code); |
165 int DefineDeoptimizationLiteral(Handle<Object> literal); | 165 int DefineDeoptimizationLiteral(Handle<Object> literal); |
166 | 166 |
167 void PopulateDeoptimizationLiteralsWithInlinedFunctions(); | 167 void PopulateDeoptimizationLiteralsWithInlinedFunctions(); |
168 | 168 |
169 Register ToRegister(int index) const; | 169 Register ToRegister(int index) const; |
170 XMMRegister ToDoubleRegister(int index) const; | 170 XMMRegister ToDoubleRegister(int index) const; |
171 Register ToRegister(LOperand* op) const; | 171 Register ToRegister(LOperand* op) const; |
172 XMMRegister ToDoubleRegister(LOperand* op) const; | 172 XMMRegister ToDoubleRegister(LOperand* op) const; |
| 173 bool IsInteger32Constant(LConstantOperand* op) const; |
173 int ToInteger32(LConstantOperand* op) const; | 174 int ToInteger32(LConstantOperand* op) const; |
| 175 bool IsTaggedConstant(LConstantOperand* op) const; |
| 176 Handle<Object> ToHandle(LConstantOperand* op) const; |
174 Operand ToOperand(LOperand* op) const; | 177 Operand ToOperand(LOperand* op) const; |
175 | 178 |
176 // Specific math operations - used from DoUnaryMathOperation. | 179 // Specific math operations - used from DoUnaryMathOperation. |
177 void DoMathAbs(LUnaryMathOperation* instr); | 180 void DoMathAbs(LUnaryMathOperation* instr); |
178 void DoMathFloor(LUnaryMathOperation* instr); | 181 void DoMathFloor(LUnaryMathOperation* instr); |
179 void DoMathRound(LUnaryMathOperation* instr); | 182 void DoMathRound(LUnaryMathOperation* instr); |
180 void DoMathSqrt(LUnaryMathOperation* instr); | 183 void DoMathSqrt(LUnaryMathOperation* instr); |
181 void DoMathPowHalf(LUnaryMathOperation* instr); | 184 void DoMathPowHalf(LUnaryMathOperation* instr); |
182 void DoMathLog(LUnaryMathOperation* instr); | 185 void DoMathLog(LUnaryMathOperation* instr); |
183 void DoMathCos(LUnaryMathOperation* instr); | 186 void DoMathCos(LUnaryMathOperation* instr); |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
262 private: | 265 private: |
263 LCodeGen* codegen_; | 266 LCodeGen* codegen_; |
264 Label entry_; | 267 Label entry_; |
265 Label exit_; | 268 Label exit_; |
266 Label* external_exit_; | 269 Label* external_exit_; |
267 }; | 270 }; |
268 | 271 |
269 } } // namespace v8::internal | 272 } } // namespace v8::internal |
270 | 273 |
271 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ | 274 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ |
OLD | NEW |