OLD | NEW |
1 // Copyright 2010 the V8 project authors. All rights reserved. | 1 // Copyright 2010 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 506 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
517 void GenerateLogicalBooleanOperation(BinaryOperation* node); | 517 void GenerateLogicalBooleanOperation(BinaryOperation* node); |
518 | 518 |
519 void GenericBinaryOperation(BinaryOperation* expr, | 519 void GenericBinaryOperation(BinaryOperation* expr, |
520 OverwriteMode overwrite_mode); | 520 OverwriteMode overwrite_mode); |
521 | 521 |
522 // Emits code sequence that jumps to a JumpTarget if the inputs | 522 // Emits code sequence that jumps to a JumpTarget if the inputs |
523 // are both smis. Cannot be in MacroAssembler because it takes | 523 // are both smis. Cannot be in MacroAssembler because it takes |
524 // advantage of TypeInfo to skip unneeded checks. | 524 // advantage of TypeInfo to skip unneeded checks. |
525 // Allocates a temporary register, possibly spilling from the frame, | 525 // Allocates a temporary register, possibly spilling from the frame, |
526 // if it needs to check both left and right. | 526 // if it needs to check both left and right. |
527 void JumpIfBothSmiUsingTypeInfo(Register left, | 527 void JumpIfBothSmiUsingTypeInfo(Result* left, |
528 Register right, | 528 Result* right, |
529 TypeInfo left_info, | |
530 TypeInfo right_info, | |
531 JumpTarget* both_smi); | 529 JumpTarget* both_smi); |
532 | 530 |
533 // Emits code sequence that jumps to deferred code if the inputs | 531 // Emits code sequence that jumps to deferred code if the inputs |
534 // are not both smis. Cannot be in MacroAssembler because it takes | 532 // are not both smis. Cannot be in MacroAssembler because it takes |
535 // advantage of TypeInfo to skip unneeded checks. | 533 // advantage of TypeInfo to skip unneeded checks. |
536 void JumpIfNotBothSmiUsingTypeInfo(Register left, | 534 void JumpIfNotBothSmiUsingTypeInfo(Register left, |
537 Register right, | 535 Register right, |
538 Register scratch, | 536 Register scratch, |
539 TypeInfo left_info, | 537 TypeInfo left_info, |
540 TypeInfo right_info, | 538 TypeInfo right_info, |
(...skipping 549 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1090 void Print() { | 1088 void Print() { |
1091 PrintF("NumberToStringStub\n"); | 1089 PrintF("NumberToStringStub\n"); |
1092 } | 1090 } |
1093 #endif | 1091 #endif |
1094 }; | 1092 }; |
1095 | 1093 |
1096 | 1094 |
1097 } } // namespace v8::internal | 1095 } } // namespace v8::internal |
1098 | 1096 |
1099 #endif // V8_IA32_CODEGEN_IA32_H_ | 1097 #endif // V8_IA32_CODEGEN_IA32_H_ |
OLD | NEW |