| OLD | NEW |
| 1 // Copyright 2009 the V8 project authors. All rights reserved. | 1 // Copyright 2009 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 526 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 537 | 537 |
| 538 // Fast support for Math.random(). | 538 // Fast support for Math.random(). |
| 539 void GenerateRandomPositiveSmi(ZoneList<Expression*>* args); | 539 void GenerateRandomPositiveSmi(ZoneList<Expression*>* args); |
| 540 | 540 |
| 541 // Fast support for StringAdd. | 541 // Fast support for StringAdd. |
| 542 void GenerateStringAdd(ZoneList<Expression*>* args); | 542 void GenerateStringAdd(ZoneList<Expression*>* args); |
| 543 | 543 |
| 544 // Fast support for SubString. | 544 // Fast support for SubString. |
| 545 void GenerateSubString(ZoneList<Expression*>* args); | 545 void GenerateSubString(ZoneList<Expression*>* args); |
| 546 | 546 |
| 547 // Fast support for StringCompare. |
| 548 void GenerateStringCompare(ZoneList<Expression*>* args); |
| 549 |
| 547 // Support for direct calls from JavaScript to native RegExp code. | 550 // Support for direct calls from JavaScript to native RegExp code. |
| 548 void GenerateRegExpExec(ZoneList<Expression*>* args); | 551 void GenerateRegExpExec(ZoneList<Expression*>* args); |
| 549 | 552 |
| 550 // Simple condition analysis. | 553 // Simple condition analysis. |
| 551 enum ConditionAnalysis { | 554 enum ConditionAnalysis { |
| 552 ALWAYS_TRUE, | 555 ALWAYS_TRUE, |
| 553 ALWAYS_FALSE, | 556 ALWAYS_FALSE, |
| 554 DONT_KNOW | 557 DONT_KNOW |
| 555 }; | 558 }; |
| 556 ConditionAnalysis AnalyzeCondition(Expression* cond); | 559 ConditionAnalysis AnalyzeCondition(Expression* cond); |
| (...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 773 bool ascii); | 776 bool ascii); |
| 774 | 777 |
| 775 // Should the stub check whether arguments are strings? | 778 // Should the stub check whether arguments are strings? |
| 776 bool string_check_; | 779 bool string_check_; |
| 777 }; | 780 }; |
| 778 | 781 |
| 779 | 782 |
| 780 } } // namespace v8::internal | 783 } } // namespace v8::internal |
| 781 | 784 |
| 782 #endif // V8_X64_CODEGEN_X64_H_ | 785 #endif // V8_X64_CODEGEN_X64_H_ |
| OLD | NEW |