| 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 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 207 // LOperand is loaded into dbl_scratch, unless already a double register. | 207 // LOperand is loaded into dbl_scratch, unless already a double register. |
| 208 DoubleRegister EmitLoadDoubleRegister(LOperand* op, | 208 DoubleRegister EmitLoadDoubleRegister(LOperand* op, |
| 209 SwVfpRegister flt_scratch, | 209 SwVfpRegister flt_scratch, |
| 210 DoubleRegister dbl_scratch); | 210 DoubleRegister dbl_scratch); |
| 211 | 211 |
| 212 int ToInteger32(LConstantOperand* op) const; | 212 int ToInteger32(LConstantOperand* op) const; |
| 213 Operand ToOperand(LOperand* op); | 213 Operand ToOperand(LOperand* op); |
| 214 MemOperand ToMemOperand(LOperand* op) const; | 214 MemOperand ToMemOperand(LOperand* op) const; |
| 215 | 215 |
| 216 // Specific math operations - used from DoUnaryMathOperation. | 216 // Specific math operations - used from DoUnaryMathOperation. |
| 217 void EmitIntegerMathAbs(LUnaryMathOperation* instr); |
| 217 void DoMathAbs(LUnaryMathOperation* instr); | 218 void DoMathAbs(LUnaryMathOperation* instr); |
| 218 void DoMathFloor(LUnaryMathOperation* instr); | 219 void DoMathFloor(LUnaryMathOperation* instr); |
| 219 void DoMathSqrt(LUnaryMathOperation* instr); | 220 void DoMathSqrt(LUnaryMathOperation* instr); |
| 220 | 221 |
| 221 // Support for recording safepoint and position information. | 222 // Support for recording safepoint and position information. |
| 222 void RecordSafepoint(LPointerMap* pointers, int deoptimization_index); | 223 void RecordSafepoint(LPointerMap* pointers, int deoptimization_index); |
| 223 void RecordSafepointWithRegisters(LPointerMap* pointers, | 224 void RecordSafepointWithRegisters(LPointerMap* pointers, |
| 224 int arguments, | 225 int arguments, |
| 225 int deoptimization_index); | 226 int deoptimization_index); |
| 226 void RecordSafepointWithRegistersAndDoubles(LPointerMap* pointers, | 227 void RecordSafepointWithRegistersAndDoubles(LPointerMap* pointers, |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 302 private: | 303 private: |
| 303 LCodeGen* codegen_; | 304 LCodeGen* codegen_; |
| 304 Label entry_; | 305 Label entry_; |
| 305 Label exit_; | 306 Label exit_; |
| 306 Label* external_exit_; | 307 Label* external_exit_; |
| 307 }; | 308 }; |
| 308 | 309 |
| 309 } } // namespace v8::internal | 310 } } // namespace v8::internal |
| 310 | 311 |
| 311 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ | 312 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ |
| OLD | NEW |