| 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 618 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 629 void GenerateRegExpExec(ZoneList<Expression*>* args); | 629 void GenerateRegExpExec(ZoneList<Expression*>* args); |
| 630 | 630 |
| 631 void GenerateRegExpConstructResult(ZoneList<Expression*>* args); | 631 void GenerateRegExpConstructResult(ZoneList<Expression*>* args); |
| 632 | 632 |
| 633 // Support for fast native caches. | 633 // Support for fast native caches. |
| 634 void GenerateGetFromCache(ZoneList<Expression*>* args); | 634 void GenerateGetFromCache(ZoneList<Expression*>* args); |
| 635 | 635 |
| 636 // Fast support for number to string. | 636 // Fast support for number to string. |
| 637 void GenerateNumberToString(ZoneList<Expression*>* args); | 637 void GenerateNumberToString(ZoneList<Expression*>* args); |
| 638 | 638 |
| 639 // Fast swapping of elements. | 639 // Fast swapping of elements. Takes three expressions, the object and two |
| 640 // indices. This should only be used if the indices are known to be |
| 641 // non-negative and within bounds of the elements array at the call site. |
| 640 void GenerateSwapElements(ZoneList<Expression*>* args); | 642 void GenerateSwapElements(ZoneList<Expression*>* args); |
| 641 | 643 |
| 642 // Fast call for custom callbacks. | 644 // Fast call for custom callbacks. |
| 643 void GenerateCallFunction(ZoneList<Expression*>* args); | 645 void GenerateCallFunction(ZoneList<Expression*>* args); |
| 644 | 646 |
| 645 // Fast call to math functions. | 647 // Fast call to math functions. |
| 646 void GenerateMathPow(ZoneList<Expression*>* args); | 648 void GenerateMathPow(ZoneList<Expression*>* args); |
| 647 void GenerateMathSin(ZoneList<Expression*>* args); | 649 void GenerateMathSin(ZoneList<Expression*>* args); |
| 648 void GenerateMathCos(ZoneList<Expression*>* args); | 650 void GenerateMathCos(ZoneList<Expression*>* args); |
| 649 void GenerateMathSqrt(ZoneList<Expression*>* args); | 651 void GenerateMathSqrt(ZoneList<Expression*>* args); |
| (...skipping 443 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1093 return ObjectBits::encode(object_.code()) | | 1095 return ObjectBits::encode(object_.code()) | |
| 1094 AddressBits::encode(addr_.code()) | | 1096 AddressBits::encode(addr_.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_IA32_CODEGEN_IA32_H_ | 1104 #endif // V8_IA32_CODEGEN_IA32_H_ |
| OLD | NEW |