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 659 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
670 | 670 |
671 // Fast call for custom callbacks. | 671 // Fast call for custom callbacks. |
672 void GenerateCallFunction(ZoneList<Expression*>* args); | 672 void GenerateCallFunction(ZoneList<Expression*>* args); |
673 | 673 |
674 // Fast call to math functions. | 674 // Fast call to math functions. |
675 void GenerateMathPow(ZoneList<Expression*>* args); | 675 void GenerateMathPow(ZoneList<Expression*>* args); |
676 void GenerateMathSin(ZoneList<Expression*>* args); | 676 void GenerateMathSin(ZoneList<Expression*>* args); |
677 void GenerateMathCos(ZoneList<Expression*>* args); | 677 void GenerateMathCos(ZoneList<Expression*>* args); |
678 void GenerateMathSqrt(ZoneList<Expression*>* args); | 678 void GenerateMathSqrt(ZoneList<Expression*>* args); |
679 | 679 |
| 680 void GenerateIsRegExpEquivalent(ZoneList<Expression*>* args); |
| 681 |
680 // Simple condition analysis. | 682 // Simple condition analysis. |
681 enum ConditionAnalysis { | 683 enum ConditionAnalysis { |
682 ALWAYS_TRUE, | 684 ALWAYS_TRUE, |
683 ALWAYS_FALSE, | 685 ALWAYS_FALSE, |
684 DONT_KNOW | 686 DONT_KNOW |
685 }; | 687 }; |
686 ConditionAnalysis AnalyzeCondition(Expression* cond); | 688 ConditionAnalysis AnalyzeCondition(Expression* cond); |
687 | 689 |
688 // Methods used to indicate which source code is generated for. Source | 690 // Methods used to indicate which source code is generated for. Source |
689 // positions are collected by the assembler and emitted with the relocation | 691 // positions are collected by the assembler and emitted with the relocation |
(...skipping 391 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1081 return ObjectBits::encode(object_.code()) | | 1083 return ObjectBits::encode(object_.code()) | |
1082 AddressBits::encode(addr_.code()) | | 1084 AddressBits::encode(addr_.code()) | |
1083 ScratchBits::encode(scratch_.code()); | 1085 ScratchBits::encode(scratch_.code()); |
1084 } | 1086 } |
1085 }; | 1087 }; |
1086 | 1088 |
1087 | 1089 |
1088 } } // namespace v8::internal | 1090 } } // namespace v8::internal |
1089 | 1091 |
1090 #endif // V8_X64_CODEGEN_X64_H_ | 1092 #endif // V8_X64_CODEGEN_X64_H_ |
OLD | NEW |