| 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 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 190 void DoMathLog(LUnaryMathOperation* instr); | 190 void DoMathLog(LUnaryMathOperation* instr); |
| 191 void DoMathCos(LUnaryMathOperation* instr); | 191 void DoMathCos(LUnaryMathOperation* instr); |
| 192 void DoMathSin(LUnaryMathOperation* instr); | 192 void DoMathSin(LUnaryMathOperation* instr); |
| 193 | 193 |
| 194 // Support for recording safepoint and position information. | 194 // Support for recording safepoint and position information. |
| 195 void RecordSafepoint(LPointerMap* pointers, | 195 void RecordSafepoint(LPointerMap* pointers, |
| 196 Safepoint::Kind kind, | 196 Safepoint::Kind kind, |
| 197 int arguments, | 197 int arguments, |
| 198 int deoptimization_index); | 198 int deoptimization_index); |
| 199 void RecordSafepoint(LPointerMap* pointers, int deoptimization_index); | 199 void RecordSafepoint(LPointerMap* pointers, int deoptimization_index); |
| 200 void RecordSafepoint(int deoptimization_index); |
| 200 void RecordSafepointWithRegisters(LPointerMap* pointers, | 201 void RecordSafepointWithRegisters(LPointerMap* pointers, |
| 201 int arguments, | 202 int arguments, |
| 202 int deoptimization_index); | 203 int deoptimization_index); |
| 203 void RecordPosition(int position); | 204 void RecordPosition(int position); |
| 204 | 205 |
| 205 static Condition TokenToCondition(Token::Value op, bool is_unsigned); | 206 static Condition TokenToCondition(Token::Value op, bool is_unsigned); |
| 206 void EmitGoto(int block, LDeferredCode* deferred_stack_check = NULL); | 207 void EmitGoto(int block, LDeferredCode* deferred_stack_check = NULL); |
| 207 void EmitBranch(int left_block, int right_block, Condition cc); | 208 void EmitBranch(int left_block, int right_block, Condition cc); |
| 208 void EmitCmpI(LOperand* left, LOperand* right); | 209 void EmitCmpI(LOperand* left, LOperand* right); |
| 209 void EmitNumberUntagD(Register input, XMMRegister result, LEnvironment* env); | 210 void EmitNumberUntagD(Register input, XMMRegister result, LEnvironment* env); |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 276 private: | 277 private: |
| 277 LCodeGen* codegen_; | 278 LCodeGen* codegen_; |
| 278 Label entry_; | 279 Label entry_; |
| 279 Label exit_; | 280 Label exit_; |
| 280 Label* external_exit_; | 281 Label* external_exit_; |
| 281 }; | 282 }; |
| 282 | 283 |
| 283 } } // namespace v8::internal | 284 } } // namespace v8::internal |
| 284 | 285 |
| 285 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ | 286 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ |
| OLD | NEW |