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 250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
261 void RecordSafepoint(Safepoint::DeoptMode mode); | 261 void RecordSafepoint(Safepoint::DeoptMode mode); |
262 void RecordSafepointWithRegisters(LPointerMap* pointers, | 262 void RecordSafepointWithRegisters(LPointerMap* pointers, |
263 int arguments, | 263 int arguments, |
264 Safepoint::DeoptMode mode); | 264 Safepoint::DeoptMode mode); |
265 void RecordPosition(int position); | 265 void RecordPosition(int position); |
266 | 266 |
267 static Condition TokenToCondition(Token::Value op, bool is_unsigned); | 267 static Condition TokenToCondition(Token::Value op, bool is_unsigned); |
268 void EmitGoto(int block); | 268 void EmitGoto(int block); |
269 void EmitBranch(int left_block, int right_block, Condition cc); | 269 void EmitBranch(int left_block, int right_block, Condition cc); |
270 void EmitNumberUntagD(Register input, | 270 void EmitNumberUntagD(Register input, |
| 271 Register temp, |
271 XMMRegister result, | 272 XMMRegister result, |
272 bool deoptimize_on_undefined, | 273 bool deoptimize_on_undefined, |
| 274 bool deoptimize_on_minus_zero, |
273 LEnvironment* env); | 275 LEnvironment* env); |
274 | 276 |
275 // Emits optimized code for typeof x == "y". Modifies input register. | 277 // Emits optimized code for typeof x == "y". Modifies input register. |
276 // Returns the condition on which a final split to | 278 // Returns the condition on which a final split to |
277 // true and false label should be made, to optimize fallthrough. | 279 // true and false label should be made, to optimize fallthrough. |
278 Condition EmitTypeofIs(Label* true_label, | 280 Condition EmitTypeofIs(Label* true_label, |
279 Label* false_label, | 281 Label* false_label, |
280 Register input, | 282 Register input, |
281 Handle<String> type_name); | 283 Handle<String> type_name); |
282 | 284 |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
396 LCodeGen* codegen_; | 398 LCodeGen* codegen_; |
397 Label entry_; | 399 Label entry_; |
398 Label exit_; | 400 Label exit_; |
399 Label* external_exit_; | 401 Label* external_exit_; |
400 int instruction_index_; | 402 int instruction_index_; |
401 }; | 403 }; |
402 | 404 |
403 } } // namespace v8::internal | 405 } } // namespace v8::internal |
404 | 406 |
405 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ | 407 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ |
OLD | NEW |