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 681 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
692 | 692 |
693 // Fast support for SubString. | 693 // Fast support for SubString. |
694 void GenerateSubString(ZoneList<Expression*>* args); | 694 void GenerateSubString(ZoneList<Expression*>* args); |
695 | 695 |
696 // Fast support for StringCompare. | 696 // Fast support for StringCompare. |
697 void GenerateStringCompare(ZoneList<Expression*>* args); | 697 void GenerateStringCompare(ZoneList<Expression*>* args); |
698 | 698 |
699 // Support for direct calls from JavaScript to native RegExp code. | 699 // Support for direct calls from JavaScript to native RegExp code. |
700 void GenerateRegExpExec(ZoneList<Expression*>* args); | 700 void GenerateRegExpExec(ZoneList<Expression*>* args); |
701 | 701 |
| 702 // Construct a RegExp exec result with two in-object properties. |
702 void GenerateRegExpConstructResult(ZoneList<Expression*>* args); | 703 void GenerateRegExpConstructResult(ZoneList<Expression*>* args); |
703 | 704 |
| 705 // Clone the result of a regexp function. |
| 706 // Must be an object created by GenerateRegExpConstructResult with |
| 707 // no extra properties. |
| 708 void GenerateRegExpCloneResult(ZoneList<Expression*>* args); |
| 709 |
704 // Support for fast native caches. | 710 // Support for fast native caches. |
705 void GenerateGetFromCache(ZoneList<Expression*>* args); | 711 void GenerateGetFromCache(ZoneList<Expression*>* args); |
706 | 712 |
707 // Fast support for number to string. | 713 // Fast support for number to string. |
708 void GenerateNumberToString(ZoneList<Expression*>* args); | 714 void GenerateNumberToString(ZoneList<Expression*>* args); |
709 | 715 |
710 // Fast swapping of elements. Takes three expressions, the object and two | 716 // Fast swapping of elements. Takes three expressions, the object and two |
711 // indices. This should only be used if the indices are known to be | 717 // indices. This should only be used if the indices are known to be |
712 // non-negative and within bounds of the elements array at the call site. | 718 // non-negative and within bounds of the elements array at the call site. |
713 void GenerateSwapElements(ZoneList<Expression*>* args); | 719 void GenerateSwapElements(ZoneList<Expression*>* args); |
(...skipping 400 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1114 void Print() { | 1120 void Print() { |
1115 PrintF("NumberToStringStub\n"); | 1121 PrintF("NumberToStringStub\n"); |
1116 } | 1122 } |
1117 #endif | 1123 #endif |
1118 }; | 1124 }; |
1119 | 1125 |
1120 | 1126 |
1121 } } // namespace v8::internal | 1127 } } // namespace v8::internal |
1122 | 1128 |
1123 #endif // V8_IA32_CODEGEN_IA32_H_ | 1129 #endif // V8_IA32_CODEGEN_IA32_H_ |
OLD | NEW |