| 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 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 199 int DefineDeoptimizationLiteral(Handle<Object> literal); | 199 int DefineDeoptimizationLiteral(Handle<Object> literal); |
| 200 | 200 |
| 201 void PopulateDeoptimizationLiteralsWithInlinedFunctions(); | 201 void PopulateDeoptimizationLiteralsWithInlinedFunctions(); |
| 202 | 202 |
| 203 Register ToRegister(int index) const; | 203 Register ToRegister(int index) const; |
| 204 DoubleRegister ToDoubleRegister(int index) const; | 204 DoubleRegister ToDoubleRegister(int index) const; |
| 205 | 205 |
| 206 // Specific math operations - used from DoUnaryMathOperation. | 206 // Specific math operations - used from DoUnaryMathOperation. |
| 207 void EmitIntegerMathAbs(LUnaryMathOperation* instr); | 207 void EmitIntegerMathAbs(LUnaryMathOperation* instr); |
| 208 void DoMathAbs(LUnaryMathOperation* instr); | 208 void DoMathAbs(LUnaryMathOperation* instr); |
| 209 void EmitVFPTruncate(VFPRoundingMode rounding_mode, | |
| 210 SwVfpRegister result, | |
| 211 DwVfpRegister double_input, | |
| 212 Register scratch1, | |
| 213 Register scratch2); | |
| 214 void DoMathFloor(LUnaryMathOperation* instr); | 209 void DoMathFloor(LUnaryMathOperation* instr); |
| 215 void DoMathRound(LUnaryMathOperation* instr); | 210 void DoMathRound(LUnaryMathOperation* instr); |
| 216 void DoMathSqrt(LUnaryMathOperation* instr); | 211 void DoMathSqrt(LUnaryMathOperation* instr); |
| 217 | 212 |
| 218 // Support for recording safepoint and position information. | 213 // Support for recording safepoint and position information. |
| 219 void RecordSafepoint(LPointerMap* pointers, | 214 void RecordSafepoint(LPointerMap* pointers, |
| 220 Safepoint::Kind kind, | 215 Safepoint::Kind kind, |
| 221 int arguments, | 216 int arguments, |
| 222 int deoptimization_index); | 217 int deoptimization_index); |
| 223 void RecordSafepoint(LPointerMap* pointers, int deoptimization_index); | 218 void RecordSafepoint(LPointerMap* pointers, int deoptimization_index); |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 308 private: | 303 private: |
| 309 LCodeGen* codegen_; | 304 LCodeGen* codegen_; |
| 310 Label entry_; | 305 Label entry_; |
| 311 Label exit_; | 306 Label exit_; |
| 312 Label* external_exit_; | 307 Label* external_exit_; |
| 313 }; | 308 }; |
| 314 | 309 |
| 315 } } // namespace v8::internal | 310 } } // namespace v8::internal |
| 316 | 311 |
| 317 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ | 312 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ |
| OLD | NEW |