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 567 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
578 | 578 |
579 // Fast support for StringCompare. | 579 // Fast support for StringCompare. |
580 void GenerateStringCompare(ZoneList<Expression*>* args); | 580 void GenerateStringCompare(ZoneList<Expression*>* args); |
581 | 581 |
582 // Support for direct calls from JavaScript to native RegExp code. | 582 // Support for direct calls from JavaScript to native RegExp code. |
583 void GenerateRegExpExec(ZoneList<Expression*>* args); | 583 void GenerateRegExpExec(ZoneList<Expression*>* args); |
584 | 584 |
585 // Fast support for number to string. | 585 // Fast support for number to string. |
586 void GenerateNumberToString(ZoneList<Expression*>* args); | 586 void GenerateNumberToString(ZoneList<Expression*>* args); |
587 | 587 |
| 588 // Fast call for custom callbacks. |
| 589 void GenerateCallFunction(ZoneList<Expression*>* args); |
| 590 |
588 // Fast call to math functions. | 591 // Fast call to math functions. |
589 void GenerateMathPow(ZoneList<Expression*>* args); | 592 void GenerateMathPow(ZoneList<Expression*>* args); |
590 void GenerateMathSin(ZoneList<Expression*>* args); | 593 void GenerateMathSin(ZoneList<Expression*>* args); |
591 void GenerateMathCos(ZoneList<Expression*>* args); | 594 void GenerateMathCos(ZoneList<Expression*>* args); |
592 void GenerateMathSqrt(ZoneList<Expression*>* args); | 595 void GenerateMathSqrt(ZoneList<Expression*>* args); |
593 | 596 |
594 // Simple condition analysis. | 597 // Simple condition analysis. |
595 enum ConditionAnalysis { | 598 enum ConditionAnalysis { |
596 ALWAYS_TRUE, | 599 ALWAYS_TRUE, |
597 ALWAYS_FALSE, | 600 ALWAYS_FALSE, |
(...skipping 342 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
940 void Print() { | 943 void Print() { |
941 PrintF("NumberToStringStub\n"); | 944 PrintF("NumberToStringStub\n"); |
942 } | 945 } |
943 #endif | 946 #endif |
944 }; | 947 }; |
945 | 948 |
946 | 949 |
947 } } // namespace v8::internal | 950 } } // namespace v8::internal |
948 | 951 |
949 #endif // V8_X64_CODEGEN_X64_H_ | 952 #endif // V8_X64_CODEGEN_X64_H_ |
OLD | NEW |