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 679 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
690 | 690 |
691 // Fast support for StringCompare. | 691 // Fast support for StringCompare. |
692 void GenerateStringCompare(ZoneList<Expression*>* args); | 692 void GenerateStringCompare(ZoneList<Expression*>* args); |
693 | 693 |
694 // Support for direct calls from JavaScript to native RegExp code. | 694 // Support for direct calls from JavaScript to native RegExp code. |
695 void GenerateRegExpExec(ZoneList<Expression*>* args); | 695 void GenerateRegExpExec(ZoneList<Expression*>* args); |
696 | 696 |
697 // Construct a RegExp exec result with two in-object properties. | 697 // Construct a RegExp exec result with two in-object properties. |
698 void GenerateRegExpConstructResult(ZoneList<Expression*>* args); | 698 void GenerateRegExpConstructResult(ZoneList<Expression*>* args); |
699 | 699 |
700 // Clone the result of a regexp function. | |
701 // Must be an object created by GenerateRegExpConstructResult with | |
702 // no extra properties. | |
703 void GenerateRegExpCloneResult(ZoneList<Expression*>* args); | |
704 | |
705 // Support for fast native caches. | 700 // Support for fast native caches. |
706 void GenerateGetFromCache(ZoneList<Expression*>* args); | 701 void GenerateGetFromCache(ZoneList<Expression*>* args); |
707 | 702 |
708 // Fast support for number to string. | 703 // Fast support for number to string. |
709 void GenerateNumberToString(ZoneList<Expression*>* args); | 704 void GenerateNumberToString(ZoneList<Expression*>* args); |
710 | 705 |
711 // Fast swapping of elements. Takes three expressions, the object and two | 706 // Fast swapping of elements. Takes three expressions, the object and two |
712 // indices. This should only be used if the indices are known to be | 707 // indices. This should only be used if the indices are known to be |
713 // non-negative and within bounds of the elements array at the call site. | 708 // non-negative and within bounds of the elements array at the call site. |
714 void GenerateSwapElements(ZoneList<Expression*>* args); | 709 void GenerateSwapElements(ZoneList<Expression*>* args); |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
800 | 795 |
801 friend class CodeGeneratorPatcher; // Used in test-log-stack-tracer.cc | 796 friend class CodeGeneratorPatcher; // Used in test-log-stack-tracer.cc |
802 | 797 |
803 DISALLOW_COPY_AND_ASSIGN(CodeGenerator); | 798 DISALLOW_COPY_AND_ASSIGN(CodeGenerator); |
804 }; | 799 }; |
805 | 800 |
806 | 801 |
807 } } // namespace v8::internal | 802 } } // namespace v8::internal |
808 | 803 |
809 #endif // V8_IA32_CODEGEN_IA32_H_ | 804 #endif // V8_IA32_CODEGEN_IA32_H_ |
OLD | NEW |