OLD | NEW |
1 // Copyright 2010 the V8 project authors. All rights reserved. | 1 // Copyright 2010 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 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
169 int ToInteger32(LConstantOperand* op) const; | 169 int ToInteger32(LConstantOperand* op) const; |
170 Operand ToOperand(LOperand* op) const; | 170 Operand ToOperand(LOperand* op) const; |
171 Immediate ToImmediate(LOperand* op); | 171 Immediate ToImmediate(LOperand* op); |
172 | 172 |
173 // Specific math operations - used from DoUnaryMathOperation. | 173 // Specific math operations - used from DoUnaryMathOperation. |
174 void DoMathAbs(LUnaryMathOperation* instr); | 174 void DoMathAbs(LUnaryMathOperation* instr); |
175 void DoMathFloor(LUnaryMathOperation* instr); | 175 void DoMathFloor(LUnaryMathOperation* instr); |
176 void DoMathRound(LUnaryMathOperation* instr); | 176 void DoMathRound(LUnaryMathOperation* instr); |
177 void DoMathSqrt(LUnaryMathOperation* instr); | 177 void DoMathSqrt(LUnaryMathOperation* instr); |
178 void DoMathPowHalf(LUnaryMathOperation* instr); | 178 void DoMathPowHalf(LUnaryMathOperation* instr); |
179 void DoMathLog(LUnaryMathOperation* instr); | |
180 | 179 |
181 // Support for recording safepoint and position information. | 180 // Support for recording safepoint and position information. |
182 void RecordSafepoint(LPointerMap* pointers, int deoptimization_index); | 181 void RecordSafepoint(LPointerMap* pointers, int deoptimization_index); |
183 void RecordSafepointWithRegisters(LPointerMap* pointers, | 182 void RecordSafepointWithRegisters(LPointerMap* pointers, |
184 int arguments, | 183 int arguments, |
185 int deoptimization_index); | 184 int deoptimization_index); |
186 void RecordPosition(int position); | 185 void RecordPosition(int position); |
187 | 186 |
188 static Condition TokenToCondition(Token::Value op, bool is_unsigned); | 187 static Condition TokenToCondition(Token::Value op, bool is_unsigned); |
189 void EmitGoto(int block, LDeferredCode* deferred_stack_check = NULL); | 188 void EmitGoto(int block, LDeferredCode* deferred_stack_check = NULL); |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
245 private: | 244 private: |
246 LCodeGen* codegen_; | 245 LCodeGen* codegen_; |
247 Label entry_; | 246 Label entry_; |
248 Label exit_; | 247 Label exit_; |
249 Label* external_exit_; | 248 Label* external_exit_; |
250 }; | 249 }; |
251 | 250 |
252 } } // namespace v8::internal | 251 } } // namespace v8::internal |
253 | 252 |
254 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ | 253 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ |
OLD | NEW |