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 665 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
676 void GenerateCallFunction(ZoneList<Expression*>* args); | 676 void GenerateCallFunction(ZoneList<Expression*>* args); |
677 | 677 |
678 // Fast call to math functions. | 678 // Fast call to math functions. |
679 void GenerateMathPow(ZoneList<Expression*>* args); | 679 void GenerateMathPow(ZoneList<Expression*>* args); |
680 void GenerateMathSin(ZoneList<Expression*>* args); | 680 void GenerateMathSin(ZoneList<Expression*>* args); |
681 void GenerateMathCos(ZoneList<Expression*>* args); | 681 void GenerateMathCos(ZoneList<Expression*>* args); |
682 void GenerateMathSqrt(ZoneList<Expression*>* args); | 682 void GenerateMathSqrt(ZoneList<Expression*>* args); |
683 | 683 |
684 void GenerateIsRegExpEquivalent(ZoneList<Expression*>* args); | 684 void GenerateIsRegExpEquivalent(ZoneList<Expression*>* args); |
685 | 685 |
| 686 void GenerateHasCachedArrayIndex(ZoneList<Expression*>* args); |
| 687 void GenerateGetCachedArrayIndex(ZoneList<Expression*>* args); |
| 688 |
686 // Simple condition analysis. | 689 // Simple condition analysis. |
687 enum ConditionAnalysis { | 690 enum ConditionAnalysis { |
688 ALWAYS_TRUE, | 691 ALWAYS_TRUE, |
689 ALWAYS_FALSE, | 692 ALWAYS_FALSE, |
690 DONT_KNOW | 693 DONT_KNOW |
691 }; | 694 }; |
692 ConditionAnalysis AnalyzeCondition(Expression* cond); | 695 ConditionAnalysis AnalyzeCondition(Expression* cond); |
693 | 696 |
694 // Methods used to indicate which source code is generated for. Source | 697 // Methods used to indicate which source code is generated for. Source |
695 // positions are collected by the assembler and emitted with the relocation | 698 // positions are collected by the assembler and emitted with the relocation |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
748 | 751 |
749 friend class CodeGeneratorPatcher; // Used in test-log-stack-tracer.cc | 752 friend class CodeGeneratorPatcher; // Used in test-log-stack-tracer.cc |
750 | 753 |
751 DISALLOW_COPY_AND_ASSIGN(CodeGenerator); | 754 DISALLOW_COPY_AND_ASSIGN(CodeGenerator); |
752 }; | 755 }; |
753 | 756 |
754 | 757 |
755 } } // namespace v8::internal | 758 } } // namespace v8::internal |
756 | 759 |
757 #endif // V8_X64_CODEGEN_X64_H_ | 760 #endif // V8_X64_CODEGEN_X64_H_ |
OLD | NEW |