| 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 613 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 624 | 624 |
| 625 // Fast support for StringCompare. | 625 // Fast support for StringCompare. |
| 626 void GenerateStringCompare(ZoneList<Expression*>* args); | 626 void GenerateStringCompare(ZoneList<Expression*>* args); |
| 627 | 627 |
| 628 // Support for direct calls from JavaScript to native RegExp code. | 628 // Support for direct calls from JavaScript to native RegExp code. |
| 629 void GenerateRegExpExec(ZoneList<Expression*>* args); | 629 void GenerateRegExpExec(ZoneList<Expression*>* args); |
| 630 | 630 |
| 631 // Fast support for number to string. | 631 // Fast support for number to string. |
| 632 void GenerateNumberToString(ZoneList<Expression*>* args); | 632 void GenerateNumberToString(ZoneList<Expression*>* args); |
| 633 | 633 |
| 634 // Fast call for custom callbacks. |
| 635 void GenerateCallFunction(ZoneList<Expression*>* args); |
| 636 |
| 634 // Fast call to math functions. | 637 // Fast call to math functions. |
| 635 void GenerateMathPow(ZoneList<Expression*>* args); | 638 void GenerateMathPow(ZoneList<Expression*>* args); |
| 636 void GenerateMathSin(ZoneList<Expression*>* args); | 639 void GenerateMathSin(ZoneList<Expression*>* args); |
| 637 void GenerateMathCos(ZoneList<Expression*>* args); | 640 void GenerateMathCos(ZoneList<Expression*>* args); |
| 638 void GenerateMathSqrt(ZoneList<Expression*>* args); | 641 void GenerateMathSqrt(ZoneList<Expression*>* args); |
| 639 | 642 |
| 640 // Simple condition analysis. | 643 // Simple condition analysis. |
| 641 enum ConditionAnalysis { | 644 enum ConditionAnalysis { |
| 642 ALWAYS_TRUE, | 645 ALWAYS_TRUE, |
| 643 ALWAYS_FALSE, | 646 ALWAYS_FALSE, |
| (...skipping 404 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1048 return ObjectBits::encode(object_.code()) | | 1051 return ObjectBits::encode(object_.code()) | |
| 1049 AddressBits::encode(addr_.code()) | | 1052 AddressBits::encode(addr_.code()) | |
| 1050 ScratchBits::encode(scratch_.code()); | 1053 ScratchBits::encode(scratch_.code()); |
| 1051 } | 1054 } |
| 1052 }; | 1055 }; |
| 1053 | 1056 |
| 1054 | 1057 |
| 1055 } } // namespace v8::internal | 1058 } } // namespace v8::internal |
| 1056 | 1059 |
| 1057 #endif // V8_IA32_CODEGEN_IA32_H_ | 1060 #endif // V8_IA32_CODEGEN_IA32_H_ |
| OLD | NEW |