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 712 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
723 | 723 |
724 // Fast call to math functions. | 724 // Fast call to math functions. |
725 void GenerateMathPow(ZoneList<Expression*>* args); | 725 void GenerateMathPow(ZoneList<Expression*>* args); |
726 void GenerateMathSin(ZoneList<Expression*>* args); | 726 void GenerateMathSin(ZoneList<Expression*>* args); |
727 void GenerateMathCos(ZoneList<Expression*>* args); | 727 void GenerateMathCos(ZoneList<Expression*>* args); |
728 void GenerateMathSqrt(ZoneList<Expression*>* args); | 728 void GenerateMathSqrt(ZoneList<Expression*>* args); |
729 | 729 |
730 // Check whether two RegExps are equivalent | 730 // Check whether two RegExps are equivalent |
731 void GenerateIsRegExpEquivalent(ZoneList<Expression*>* args); | 731 void GenerateIsRegExpEquivalent(ZoneList<Expression*>* args); |
732 | 732 |
| 733 void GenerateHasCachedArrayIndex(ZoneList<Expression*>* args); |
| 734 void GenerateGetCachedArrayIndex(ZoneList<Expression*>* args); |
| 735 |
733 // Simple condition analysis. | 736 // Simple condition analysis. |
734 enum ConditionAnalysis { | 737 enum ConditionAnalysis { |
735 ALWAYS_TRUE, | 738 ALWAYS_TRUE, |
736 ALWAYS_FALSE, | 739 ALWAYS_FALSE, |
737 DONT_KNOW | 740 DONT_KNOW |
738 }; | 741 }; |
739 ConditionAnalysis AnalyzeCondition(Expression* cond); | 742 ConditionAnalysis AnalyzeCondition(Expression* cond); |
740 | 743 |
741 // Methods used to indicate which source code is generated for. Source | 744 // Methods used to indicate which source code is generated for. Source |
742 // positions are collected by the assembler and emitted with the relocation | 745 // positions are collected by the assembler and emitted with the relocation |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
799 | 802 |
800 friend class CodeGeneratorPatcher; // Used in test-log-stack-tracer.cc | 803 friend class CodeGeneratorPatcher; // Used in test-log-stack-tracer.cc |
801 | 804 |
802 DISALLOW_COPY_AND_ASSIGN(CodeGenerator); | 805 DISALLOW_COPY_AND_ASSIGN(CodeGenerator); |
803 }; | 806 }; |
804 | 807 |
805 | 808 |
806 } } // namespace v8::internal | 809 } } // namespace v8::internal |
807 | 810 |
808 #endif // V8_IA32_CODEGEN_IA32_H_ | 811 #endif // V8_IA32_CODEGEN_IA32_H_ |
OLD | NEW |