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 641 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
652 void GenerateSubString(ZoneList<Expression*>* args); | 652 void GenerateSubString(ZoneList<Expression*>* args); |
653 | 653 |
654 // Fast support for StringCompare. | 654 // Fast support for StringCompare. |
655 void GenerateStringCompare(ZoneList<Expression*>* args); | 655 void GenerateStringCompare(ZoneList<Expression*>* args); |
656 | 656 |
657 // Support for direct calls from JavaScript to native RegExp code. | 657 // Support for direct calls from JavaScript to native RegExp code. |
658 void GenerateRegExpExec(ZoneList<Expression*>* args); | 658 void GenerateRegExpExec(ZoneList<Expression*>* args); |
659 | 659 |
660 void GenerateRegExpConstructResult(ZoneList<Expression*>* args); | 660 void GenerateRegExpConstructResult(ZoneList<Expression*>* args); |
661 | 661 |
| 662 void GenerateRegExpCloneResult(ZoneList<Expression*>* args); |
| 663 |
662 // Support for fast native caches. | 664 // Support for fast native caches. |
663 void GenerateGetFromCache(ZoneList<Expression*>* args); | 665 void GenerateGetFromCache(ZoneList<Expression*>* args); |
664 | 666 |
665 // Fast support for number to string. | 667 // Fast support for number to string. |
666 void GenerateNumberToString(ZoneList<Expression*>* args); | 668 void GenerateNumberToString(ZoneList<Expression*>* args); |
667 | 669 |
668 // Fast swapping of elements. Takes three expressions, the object and two | 670 // Fast swapping of elements. Takes three expressions, the object and two |
669 // indices. This should only be used if the indices are known to be | 671 // indices. This should only be used if the indices are known to be |
670 // non-negative and within bounds of the elements array at the call site. | 672 // non-negative and within bounds of the elements array at the call site. |
671 void GenerateSwapElements(ZoneList<Expression*>* args); | 673 void GenerateSwapElements(ZoneList<Expression*>* args); |
(...skipping 425 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1097 return ObjectBits::encode(object_.code()) | | 1099 return ObjectBits::encode(object_.code()) | |
1098 AddressBits::encode(addr_.code()) | | 1100 AddressBits::encode(addr_.code()) | |
1099 ScratchBits::encode(scratch_.code()); | 1101 ScratchBits::encode(scratch_.code()); |
1100 } | 1102 } |
1101 }; | 1103 }; |
1102 | 1104 |
1103 | 1105 |
1104 } } // namespace v8::internal | 1106 } } // namespace v8::internal |
1105 | 1107 |
1106 #endif // V8_X64_CODEGEN_X64_H_ | 1108 #endif // V8_X64_CODEGEN_X64_H_ |
OLD | NEW |