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 375 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
386 | 386 |
387 // Fast support for StringCompare. | 387 // Fast support for StringCompare. |
388 void GenerateStringCompare(ZoneList<Expression*>* args); | 388 void GenerateStringCompare(ZoneList<Expression*>* args); |
389 | 389 |
390 // Support for direct calls from JavaScript to native RegExp code. | 390 // Support for direct calls from JavaScript to native RegExp code. |
391 void GenerateRegExpExec(ZoneList<Expression*>* args); | 391 void GenerateRegExpExec(ZoneList<Expression*>* args); |
392 | 392 |
393 // Fast support for number to string. | 393 // Fast support for number to string. |
394 void GenerateNumberToString(ZoneList<Expression*>* args); | 394 void GenerateNumberToString(ZoneList<Expression*>* args); |
395 | 395 |
| 396 // Fast support for Math.pow(). |
| 397 void GeneratePow(ZoneList<Expression*>* args); |
| 398 |
396 // Fast call to sine function. | 399 // Fast call to sine function. |
397 void GenerateMathSin(ZoneList<Expression*>* args); | 400 void GenerateMathSin(ZoneList<Expression*>* args); |
398 void GenerateMathCos(ZoneList<Expression*>* args); | 401 void GenerateMathCos(ZoneList<Expression*>* args); |
399 | 402 |
400 // Simple condition analysis. | 403 // Simple condition analysis. |
401 enum ConditionAnalysis { | 404 enum ConditionAnalysis { |
402 ALWAYS_TRUE, | 405 ALWAYS_TRUE, |
403 ALWAYS_FALSE, | 406 ALWAYS_FALSE, |
404 DONT_KNOW | 407 DONT_KNOW |
405 }; | 408 }; |
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
616 Major MajorKey() { return StringCompare; } | 619 Major MajorKey() { return StringCompare; } |
617 int MinorKey() { return 0; } | 620 int MinorKey() { return 0; } |
618 | 621 |
619 void Generate(MacroAssembler* masm); | 622 void Generate(MacroAssembler* masm); |
620 }; | 623 }; |
621 | 624 |
622 | 625 |
623 } } // namespace v8::internal | 626 } } // namespace v8::internal |
624 | 627 |
625 #endif // V8_ARM_CODEGEN_ARM_H_ | 628 #endif // V8_ARM_CODEGEN_ARM_H_ |
OLD | NEW |