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 277 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
288 int arguments, | 288 int arguments, |
289 Safepoint::DeoptMode mode); | 289 Safepoint::DeoptMode mode); |
290 void RecordPosition(int position); | 290 void RecordPosition(int position); |
291 | 291 |
292 static Condition TokenToCondition(Token::Value op, bool is_unsigned); | 292 static Condition TokenToCondition(Token::Value op, bool is_unsigned); |
293 void EmitGoto(int block); | 293 void EmitGoto(int block); |
294 void EmitBranch(int left_block, int right_block, Condition cc); | 294 void EmitBranch(int left_block, int right_block, Condition cc); |
295 void EmitNumberUntagD( | 295 void EmitNumberUntagD( |
296 Register input, | 296 Register input, |
297 XMMRegister result, | 297 XMMRegister result, |
298 bool deoptimize_on_undefined, | 298 bool allow_undefined_as_nan, |
299 bool deoptimize_on_minus_zero, | 299 bool deoptimize_on_minus_zero, |
300 LEnvironment* env, | 300 LEnvironment* env, |
301 NumberUntagDMode mode = NUMBER_CANDIDATE_IS_ANY_TAGGED); | 301 NumberUntagDMode mode = NUMBER_CANDIDATE_IS_ANY_TAGGED); |
302 | 302 |
303 // Emits optimized code for typeof x == "y". Modifies input register. | 303 // Emits optimized code for typeof x == "y". Modifies input register. |
304 // Returns the condition on which a final split to | 304 // Returns the condition on which a final split to |
305 // true and false label should be made, to optimize fallthrough. | 305 // true and false label should be made, to optimize fallthrough. |
306 Condition EmitTypeofIs(Label* true_label, | 306 Condition EmitTypeofIs(Label* true_label, |
307 Label* false_label, | 307 Label* false_label, |
308 Register input, | 308 Register input, |
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
436 LCodeGen* codegen_; | 436 LCodeGen* codegen_; |
437 Label entry_; | 437 Label entry_; |
438 Label exit_; | 438 Label exit_; |
439 Label* external_exit_; | 439 Label* external_exit_; |
440 int instruction_index_; | 440 int instruction_index_; |
441 }; | 441 }; |
442 | 442 |
443 } } // namespace v8::internal | 443 } } // namespace v8::internal |
444 | 444 |
445 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ | 445 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ |
OLD | NEW |