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 273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
284 void EmitGoto(int block); | 284 void EmitGoto(int block); |
285 void EmitBranch(int left_block, int right_block, Condition cc); | 285 void EmitBranch(int left_block, int right_block, Condition cc); |
286 void EmitNumberUntagD( | 286 void EmitNumberUntagD( |
287 Register input, | 287 Register input, |
288 XMMRegister result, | 288 XMMRegister result, |
289 bool deoptimize_on_undefined, | 289 bool deoptimize_on_undefined, |
290 bool deoptimize_on_minus_zero, | 290 bool deoptimize_on_minus_zero, |
291 LEnvironment* env, | 291 LEnvironment* env, |
292 NumberUntagDMode mode = NUMBER_CANDIDATE_IS_ANY_TAGGED); | 292 NumberUntagDMode mode = NUMBER_CANDIDATE_IS_ANY_TAGGED); |
293 | 293 |
294 | |
295 void DeoptIfTaggedButNotSmi(LEnvironment* environment, | |
296 HValue* value, | |
297 LOperand* operand); | |
298 | |
299 // Emits optimized code for typeof x == "y". Modifies input register. | 294 // Emits optimized code for typeof x == "y". Modifies input register. |
300 // Returns the condition on which a final split to | 295 // Returns the condition on which a final split to |
301 // true and false label should be made, to optimize fallthrough. | 296 // true and false label should be made, to optimize fallthrough. |
302 Condition EmitTypeofIs(Label* true_label, | 297 Condition EmitTypeofIs(Label* true_label, |
303 Label* false_label, | 298 Label* false_label, |
304 Register input, | 299 Register input, |
305 Handle<String> type_name); | 300 Handle<String> type_name); |
306 | 301 |
307 // Emits optimized code for %_IsObject(x). Preserves input register. | 302 // Emits optimized code for %_IsObject(x). Preserves input register. |
308 // Returns the condition on which a final split to | 303 // Returns the condition on which a final split to |
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
442 LCodeGen* codegen_; | 437 LCodeGen* codegen_; |
443 Label entry_; | 438 Label entry_; |
444 Label exit_; | 439 Label exit_; |
445 Label* external_exit_; | 440 Label* external_exit_; |
446 int instruction_index_; | 441 int instruction_index_; |
447 }; | 442 }; |
448 | 443 |
449 } } // namespace v8::internal | 444 } } // namespace v8::internal |
450 | 445 |
451 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ | 446 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ |
OLD | NEW |