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 call to sine function. |
| 397 void GenerateMathSin(ZoneList<Expression*>* args); |
| 398 void GenerateMathCos(ZoneList<Expression*>* args); |
| 399 |
396 // Simple condition analysis. | 400 // Simple condition analysis. |
397 enum ConditionAnalysis { | 401 enum ConditionAnalysis { |
398 ALWAYS_TRUE, | 402 ALWAYS_TRUE, |
399 ALWAYS_FALSE, | 403 ALWAYS_FALSE, |
400 DONT_KNOW | 404 DONT_KNOW |
401 }; | 405 }; |
402 ConditionAnalysis AnalyzeCondition(Expression* cond); | 406 ConditionAnalysis AnalyzeCondition(Expression* cond); |
403 | 407 |
404 // Methods used to indicate which source code is generated for. Source | 408 // Methods used to indicate which source code is generated for. Source |
405 // positions are collected by the assembler and emitted with the relocation | 409 // positions are collected by the assembler and emitted with the relocation |
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
612 Major MajorKey() { return StringCompare; } | 616 Major MajorKey() { return StringCompare; } |
613 int MinorKey() { return 0; } | 617 int MinorKey() { return 0; } |
614 | 618 |
615 void Generate(MacroAssembler* masm); | 619 void Generate(MacroAssembler* masm); |
616 }; | 620 }; |
617 | 621 |
618 | 622 |
619 } } // namespace v8::internal | 623 } } // namespace v8::internal |
620 | 624 |
621 #endif // V8_ARM_CODEGEN_ARM_H_ | 625 #endif // V8_ARM_CODEGEN_ARM_H_ |
OLD | NEW |