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 638 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
649 void GenerateSubString(ZoneList<Expression*>* args); | 649 void GenerateSubString(ZoneList<Expression*>* args); |
650 | 650 |
651 // Fast support for StringCompare. | 651 // Fast support for StringCompare. |
652 void GenerateStringCompare(ZoneList<Expression*>* args); | 652 void GenerateStringCompare(ZoneList<Expression*>* args); |
653 | 653 |
654 // Support for direct calls from JavaScript to native RegExp code. | 654 // Support for direct calls from JavaScript to native RegExp code. |
655 void GenerateRegExpExec(ZoneList<Expression*>* args); | 655 void GenerateRegExpExec(ZoneList<Expression*>* args); |
656 | 656 |
657 void GenerateRegExpConstructResult(ZoneList<Expression*>* args); | 657 void GenerateRegExpConstructResult(ZoneList<Expression*>* args); |
658 | 658 |
659 void GenerateRegExpCloneResult(ZoneList<Expression*>* args); | |
660 | |
661 // Support for fast native caches. | 659 // Support for fast native caches. |
662 void GenerateGetFromCache(ZoneList<Expression*>* args); | 660 void GenerateGetFromCache(ZoneList<Expression*>* args); |
663 | 661 |
664 // Fast support for number to string. | 662 // Fast support for number to string. |
665 void GenerateNumberToString(ZoneList<Expression*>* args); | 663 void GenerateNumberToString(ZoneList<Expression*>* args); |
666 | 664 |
667 // Fast swapping of elements. Takes three expressions, the object and two | 665 // Fast swapping of elements. Takes three expressions, the object and two |
668 // indices. This should only be used if the indices are known to be | 666 // indices. This should only be used if the indices are known to be |
669 // non-negative and within bounds of the elements array at the call site. | 667 // non-negative and within bounds of the elements array at the call site. |
670 void GenerateSwapElements(ZoneList<Expression*>* args); | 668 void GenerateSwapElements(ZoneList<Expression*>* args); |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
746 | 744 |
747 friend class CodeGeneratorPatcher; // Used in test-log-stack-tracer.cc | 745 friend class CodeGeneratorPatcher; // Used in test-log-stack-tracer.cc |
748 | 746 |
749 DISALLOW_COPY_AND_ASSIGN(CodeGenerator); | 747 DISALLOW_COPY_AND_ASSIGN(CodeGenerator); |
750 }; | 748 }; |
751 | 749 |
752 | 750 |
753 } } // namespace v8::internal | 751 } } // namespace v8::internal |
754 | 752 |
755 #endif // V8_X64_CODEGEN_X64_H_ | 753 #endif // V8_X64_CODEGEN_X64_H_ |
OLD | NEW |