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); |
179 | 180 |
180 // Support for recording safepoint and position information. | 181 // Support for recording safepoint and position information. |
181 void RecordSafepoint(LPointerMap* pointers, int deoptimization_index); | 182 void RecordSafepoint(LPointerMap* pointers, int deoptimization_index); |
182 void RecordSafepointWithRegisters(LPointerMap* pointers, | 183 void RecordSafepointWithRegisters(LPointerMap* pointers, |
183 int arguments, | 184 int arguments, |
184 int deoptimization_index); | 185 int deoptimization_index); |
185 void RecordPosition(int position); | 186 void RecordPosition(int position); |
186 | 187 |
187 static Condition TokenToCondition(Token::Value op, bool is_unsigned); | 188 static Condition TokenToCondition(Token::Value op, bool is_unsigned); |
188 void EmitGoto(int block, LDeferredCode* deferred_stack_check = NULL); | 189 void EmitGoto(int block, LDeferredCode* deferred_stack_check = NULL); |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
244 private: | 245 private: |
245 LCodeGen* codegen_; | 246 LCodeGen* codegen_; |
246 Label entry_; | 247 Label entry_; |
247 Label exit_; | 248 Label exit_; |
248 Label* external_exit_; | 249 Label* external_exit_; |
249 }; | 250 }; |
250 | 251 |
251 } } // namespace v8::internal | 252 } } // namespace v8::internal |
252 | 253 |
253 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ | 254 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ |
OLD | NEW |