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 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
248 int arguments, | 248 int arguments, |
249 Safepoint::DeoptMode mode); | 249 Safepoint::DeoptMode mode); |
250 void RecordPosition(int position); | 250 void RecordPosition(int position); |
251 | 251 |
252 static Condition TokenToCondition(Token::Value op, bool is_unsigned); | 252 static Condition TokenToCondition(Token::Value op, bool is_unsigned); |
253 void EmitGoto(int block); | 253 void EmitGoto(int block); |
254 void EmitBranch(int left_block, int right_block, Condition cc); | 254 void EmitBranch(int left_block, int right_block, Condition cc); |
255 void EmitNumberUntagD(Register input, | 255 void EmitNumberUntagD(Register input, |
256 XMMRegister result, | 256 XMMRegister result, |
257 bool deoptimize_on_undefined, | 257 bool deoptimize_on_undefined, |
| 258 bool deoptimize_on_minus_zero, |
258 LEnvironment* env); | 259 LEnvironment* env); |
259 | 260 |
260 // Emits optimized code for typeof x == "y". Modifies input register. | 261 // Emits optimized code for typeof x == "y". Modifies input register. |
261 // Returns the condition on which a final split to | 262 // Returns the condition on which a final split to |
262 // true and false label should be made, to optimize fallthrough. | 263 // true and false label should be made, to optimize fallthrough. |
263 Condition EmitTypeofIs(Label* true_label, | 264 Condition EmitTypeofIs(Label* true_label, |
264 Label* false_label, | 265 Label* false_label, |
265 Register input, | 266 Register input, |
266 Handle<String> type_name); | 267 Handle<String> type_name); |
267 | 268 |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
388 LCodeGen* codegen_; | 389 LCodeGen* codegen_; |
389 Label entry_; | 390 Label entry_; |
390 Label exit_; | 391 Label exit_; |
391 Label* external_exit_; | 392 Label* external_exit_; |
392 int instruction_index_; | 393 int instruction_index_; |
393 }; | 394 }; |
394 | 395 |
395 } } // namespace v8::internal | 396 } } // namespace v8::internal |
396 | 397 |
397 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ | 398 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ |
OLD | NEW |