| 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 646 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 657 void GenerateSwapElements(ZoneList<Expression*>* args); | 657 void GenerateSwapElements(ZoneList<Expression*>* args); |
| 658 | 658 |
| 659 // Fast call for custom callbacks. | 659 // Fast call for custom callbacks. |
| 660 void GenerateCallFunction(ZoneList<Expression*>* args); | 660 void GenerateCallFunction(ZoneList<Expression*>* args); |
| 661 | 661 |
| 662 // Fast call to math functions. | 662 // Fast call to math functions. |
| 663 void GenerateMathPow(ZoneList<Expression*>* args); | 663 void GenerateMathPow(ZoneList<Expression*>* args); |
| 664 void GenerateMathSin(ZoneList<Expression*>* args); | 664 void GenerateMathSin(ZoneList<Expression*>* args); |
| 665 void GenerateMathCos(ZoneList<Expression*>* args); | 665 void GenerateMathCos(ZoneList<Expression*>* args); |
| 666 void GenerateMathSqrt(ZoneList<Expression*>* args); | 666 void GenerateMathSqrt(ZoneList<Expression*>* args); |
| 667 void GenerateMathLog(ZoneList<Expression*>* args); |
| 667 | 668 |
| 669 // Check whether two RegExps are equivalent. |
| 668 void GenerateIsRegExpEquivalent(ZoneList<Expression*>* args); | 670 void GenerateIsRegExpEquivalent(ZoneList<Expression*>* args); |
| 669 | 671 |
| 670 void GenerateHasCachedArrayIndex(ZoneList<Expression*>* args); | 672 void GenerateHasCachedArrayIndex(ZoneList<Expression*>* args); |
| 671 void GenerateGetCachedArrayIndex(ZoneList<Expression*>* args); | 673 void GenerateGetCachedArrayIndex(ZoneList<Expression*>* args); |
| 672 void GenerateFastAsciiArrayJoin(ZoneList<Expression*>* args); | 674 void GenerateFastAsciiArrayJoin(ZoneList<Expression*>* args); |
| 673 | 675 |
| 674 // Simple condition analysis. | 676 // Simple condition analysis. |
| 675 enum ConditionAnalysis { | 677 enum ConditionAnalysis { |
| 676 ALWAYS_TRUE, | 678 ALWAYS_TRUE, |
| 677 ALWAYS_FALSE, | 679 ALWAYS_FALSE, |
| 678 DONT_KNOW | 680 DONT_KNOW |
| 679 }; | 681 }; |
| 680 ConditionAnalysis AnalyzeCondition(Expression* cond); | 682 ConditionAnalysis AnalyzeCondition(Expression* cond); |
| 681 | 683 |
| 682 // Methods used to indicate which source code is generated for. Source | 684 // Methods used to indicate which source code is generated for. Source |
| 683 // positions are collected by the assembler and emitted with the relocation | 685 // positions are collected by the assembler and emitted with the relocation |
| 684 // information. | 686 // information. |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 734 | 736 |
| 735 friend class CodeGeneratorPatcher; // Used in test-log-stack-tracer.cc | 737 friend class CodeGeneratorPatcher; // Used in test-log-stack-tracer.cc |
| 736 | 738 |
| 737 DISALLOW_COPY_AND_ASSIGN(CodeGenerator); | 739 DISALLOW_COPY_AND_ASSIGN(CodeGenerator); |
| 738 }; | 740 }; |
| 739 | 741 |
| 740 | 742 |
| 741 } } // namespace v8::internal | 743 } } // namespace v8::internal |
| 742 | 744 |
| 743 #endif // V8_X64_CODEGEN_X64_H_ | 745 #endif // V8_X64_CODEGEN_X64_H_ |
| OLD | NEW |