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 532 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
543 void GenerateCallFunction(ZoneList<Expression*>* args); | 543 void GenerateCallFunction(ZoneList<Expression*>* args); |
544 | 544 |
545 // Fast call to math functions. | 545 // Fast call to math functions. |
546 void GenerateMathPow(ZoneList<Expression*>* args); | 546 void GenerateMathPow(ZoneList<Expression*>* args); |
547 void GenerateMathSin(ZoneList<Expression*>* args); | 547 void GenerateMathSin(ZoneList<Expression*>* args); |
548 void GenerateMathCos(ZoneList<Expression*>* args); | 548 void GenerateMathCos(ZoneList<Expression*>* args); |
549 void GenerateMathSqrt(ZoneList<Expression*>* args); | 549 void GenerateMathSqrt(ZoneList<Expression*>* args); |
550 | 550 |
551 void GenerateIsRegExpEquivalent(ZoneList<Expression*>* args); | 551 void GenerateIsRegExpEquivalent(ZoneList<Expression*>* args); |
552 | 552 |
| 553 void GenerateHasCachedArrayIndex(ZoneList<Expression*>* args); |
| 554 void GenerateGetCachedArrayIndex(ZoneList<Expression*>* args); |
| 555 |
553 // Simple condition analysis. | 556 // Simple condition analysis. |
554 enum ConditionAnalysis { | 557 enum ConditionAnalysis { |
555 ALWAYS_TRUE, | 558 ALWAYS_TRUE, |
556 ALWAYS_FALSE, | 559 ALWAYS_FALSE, |
557 DONT_KNOW | 560 DONT_KNOW |
558 }; | 561 }; |
559 ConditionAnalysis AnalyzeCondition(Expression* cond); | 562 ConditionAnalysis AnalyzeCondition(Expression* cond); |
560 | 563 |
561 // Methods used to indicate which source code is generated for. Source | 564 // Methods used to indicate which source code is generated for. Source |
562 // positions are collected by the assembler and emitted with the relocation | 565 // positions are collected by the assembler and emitted with the relocation |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
608 friend class FullCodeGenerator; | 611 friend class FullCodeGenerator; |
609 friend class FullCodeGenSyntaxChecker; | 612 friend class FullCodeGenSyntaxChecker; |
610 | 613 |
611 DISALLOW_COPY_AND_ASSIGN(CodeGenerator); | 614 DISALLOW_COPY_AND_ASSIGN(CodeGenerator); |
612 }; | 615 }; |
613 | 616 |
614 | 617 |
615 } } // namespace v8::internal | 618 } } // namespace v8::internal |
616 | 619 |
617 #endif // V8_ARM_CODEGEN_ARM_H_ | 620 #endif // V8_ARM_CODEGEN_ARM_H_ |
OLD | NEW |