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 523 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
534 void GenerateLog(ZoneList<Expression*>* args); | 534 void GenerateLog(ZoneList<Expression*>* args); |
535 | 535 |
536 void GenerateGetFramePointer(ZoneList<Expression*>* args); | 536 void GenerateGetFramePointer(ZoneList<Expression*>* args); |
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 // Support for direct calls from JavaScript to native RegExp code. |
| 545 void GenerateRegExpExec(ZoneList<Expression*>* args); |
| 546 |
544 // Simple condition analysis. | 547 // Simple condition analysis. |
545 enum ConditionAnalysis { | 548 enum ConditionAnalysis { |
546 ALWAYS_TRUE, | 549 ALWAYS_TRUE, |
547 ALWAYS_FALSE, | 550 ALWAYS_FALSE, |
548 DONT_KNOW | 551 DONT_KNOW |
549 }; | 552 }; |
550 ConditionAnalysis AnalyzeCondition(Expression* cond); | 553 ConditionAnalysis AnalyzeCondition(Expression* cond); |
551 | 554 |
552 // Methods used to indicate which source code is generated for. Source | 555 // Methods used to indicate which source code is generated for. Source |
553 // positions are collected by the assembler and emitted with the relocation | 556 // positions are collected by the assembler and emitted with the relocation |
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
767 bool ascii); | 770 bool ascii); |
768 | 771 |
769 // Should the stub check whether arguments are strings? | 772 // Should the stub check whether arguments are strings? |
770 bool string_check_; | 773 bool string_check_; |
771 }; | 774 }; |
772 | 775 |
773 | 776 |
774 } } // namespace v8::internal | 777 } } // namespace v8::internal |
775 | 778 |
776 #endif // V8_X64_CODEGEN_X64_H_ | 779 #endif // V8_X64_CODEGEN_X64_H_ |
OLD | NEW |