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 559 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
570 | 570 |
571 // Fast support for SubString. | 571 // Fast support for SubString. |
572 void GenerateSubString(ZoneList<Expression*>* args); | 572 void GenerateSubString(ZoneList<Expression*>* args); |
573 | 573 |
574 // Fast support for StringCompare. | 574 // Fast support for StringCompare. |
575 void GenerateStringCompare(ZoneList<Expression*>* args); | 575 void GenerateStringCompare(ZoneList<Expression*>* args); |
576 | 576 |
577 // Support for direct calls from JavaScript to native RegExp code. | 577 // Support for direct calls from JavaScript to native RegExp code. |
578 void GenerateRegExpExec(ZoneList<Expression*>* args); | 578 void GenerateRegExpExec(ZoneList<Expression*>* args); |
579 | 579 |
| 580 // Fast support for number to string. |
| 581 void GenerateNumberToString(ZoneList<Expression*>* args); |
| 582 |
580 // Simple condition analysis. | 583 // Simple condition analysis. |
581 enum ConditionAnalysis { | 584 enum ConditionAnalysis { |
582 ALWAYS_TRUE, | 585 ALWAYS_TRUE, |
583 ALWAYS_FALSE, | 586 ALWAYS_FALSE, |
584 DONT_KNOW | 587 DONT_KNOW |
585 }; | 588 }; |
586 ConditionAnalysis AnalyzeCondition(Expression* cond); | 589 ConditionAnalysis AnalyzeCondition(Expression* cond); |
587 | 590 |
588 // Methods used to indicate which source code is generated for. Source | 591 // Methods used to indicate which source code is generated for. Source |
589 // positions are collected by the assembler and emitted with the relocation | 592 // positions are collected by the assembler and emitted with the relocation |
(...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
825 Major MajorKey() { return StringCompare; } | 828 Major MajorKey() { return StringCompare; } |
826 int MinorKey() { return 0; } | 829 int MinorKey() { return 0; } |
827 | 830 |
828 void Generate(MacroAssembler* masm); | 831 void Generate(MacroAssembler* masm); |
829 }; | 832 }; |
830 | 833 |
831 | 834 |
832 } } // namespace v8::internal | 835 } } // namespace v8::internal |
833 | 836 |
834 #endif // V8_X64_CODEGEN_X64_H_ | 837 #endif // V8_X64_CODEGEN_X64_H_ |
OLD | NEW |