| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 280 void RecordSafepoint(Safepoint::DeoptMode mode); | 280 void RecordSafepoint(Safepoint::DeoptMode mode); |
| 281 void RecordSafepointWithRegisters(LPointerMap* pointers, | 281 void RecordSafepointWithRegisters(LPointerMap* pointers, |
| 282 int arguments, | 282 int arguments, |
| 283 Safepoint::DeoptMode mode); | 283 Safepoint::DeoptMode mode); |
| 284 void RecordPosition(int position); | 284 void RecordPosition(int position); |
| 285 | 285 |
| 286 static Condition TokenToCondition(Token::Value op, bool is_unsigned); | 286 static Condition TokenToCondition(Token::Value op, bool is_unsigned); |
| 287 void EmitGoto(int block); | 287 void EmitGoto(int block); |
| 288 template<class InstrType> | 288 template<class InstrType> |
| 289 void EmitBranch(InstrType instr, Condition cc); | 289 void EmitBranch(InstrType instr, Condition cc); |
| 290 template<class InstrType> |
| 291 void EmitFalseBranch(InstrType instr, Condition cc); |
| 290 void EmitNumberUntagD( | 292 void EmitNumberUntagD( |
| 291 Register input, | 293 Register input, |
| 292 XMMRegister result, | 294 XMMRegister result, |
| 293 bool allow_undefined_as_nan, | 295 bool allow_undefined_as_nan, |
| 294 bool deoptimize_on_minus_zero, | 296 bool deoptimize_on_minus_zero, |
| 295 LEnvironment* env, | 297 LEnvironment* env, |
| 296 NumberUntagDMode mode = NUMBER_CANDIDATE_IS_ANY_TAGGED); | 298 NumberUntagDMode mode = NUMBER_CANDIDATE_IS_ANY_TAGGED); |
| 297 | 299 |
| 298 // Emits optimized code for typeof x == "y". Modifies input register. | 300 // Emits optimized code for typeof x == "y". Modifies input register. |
| 299 // Returns the condition on which a final split to | 301 // Returns the condition on which a final split to |
| (...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 437 LCodeGen* codegen_; | 439 LCodeGen* codegen_; |
| 438 Label entry_; | 440 Label entry_; |
| 439 Label exit_; | 441 Label exit_; |
| 440 Label* external_exit_; | 442 Label* external_exit_; |
| 441 int instruction_index_; | 443 int instruction_index_; |
| 442 }; | 444 }; |
| 443 | 445 |
| 444 } } // namespace v8::internal | 446 } } // namespace v8::internal |
| 445 | 447 |
| 446 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ | 448 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ |
| OLD | NEW |