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 526 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
537 | 537 |
538 // Fast call for custom callbacks. | 538 // Fast call for custom callbacks. |
539 void GenerateCallFunction(ZoneList<Expression*>* args); | 539 void GenerateCallFunction(ZoneList<Expression*>* args); |
540 | 540 |
541 // Fast call to math functions. | 541 // Fast call to math functions. |
542 void GenerateMathPow(ZoneList<Expression*>* args); | 542 void GenerateMathPow(ZoneList<Expression*>* args); |
543 void GenerateMathSin(ZoneList<Expression*>* args); | 543 void GenerateMathSin(ZoneList<Expression*>* args); |
544 void GenerateMathCos(ZoneList<Expression*>* args); | 544 void GenerateMathCos(ZoneList<Expression*>* args); |
545 void GenerateMathSqrt(ZoneList<Expression*>* args); | 545 void GenerateMathSqrt(ZoneList<Expression*>* args); |
546 | 546 |
| 547 void GenerateIsRegExpEquivalent(ZoneList<Expression*>* args); |
| 548 |
547 // Simple condition analysis. | 549 // Simple condition analysis. |
548 enum ConditionAnalysis { | 550 enum ConditionAnalysis { |
549 ALWAYS_TRUE, | 551 ALWAYS_TRUE, |
550 ALWAYS_FALSE, | 552 ALWAYS_FALSE, |
551 DONT_KNOW | 553 DONT_KNOW |
552 }; | 554 }; |
553 ConditionAnalysis AnalyzeCondition(Expression* cond); | 555 ConditionAnalysis AnalyzeCondition(Expression* cond); |
554 | 556 |
555 // Methods used to indicate which source code is generated for. Source | 557 // Methods used to indicate which source code is generated for. Source |
556 // positions are collected by the assembler and emitted with the relocation | 558 // positions are collected by the assembler and emitted with the relocation |
(...skipping 536 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1093 return ObjectBits::encode(object_.code()) | | 1095 return ObjectBits::encode(object_.code()) | |
1094 OffsetBits::encode(offset_.code()) | | 1096 OffsetBits::encode(offset_.code()) | |
1095 ScratchBits::encode(scratch_.code()); | 1097 ScratchBits::encode(scratch_.code()); |
1096 } | 1098 } |
1097 }; | 1099 }; |
1098 | 1100 |
1099 | 1101 |
1100 } } // namespace v8::internal | 1102 } } // namespace v8::internal |
1101 | 1103 |
1102 #endif // V8_ARM_CODEGEN_ARM_H_ | 1104 #endif // V8_ARM_CODEGEN_ARM_H_ |
OLD | NEW |