OLD | NEW |
1 // Copyright 2006-2008 the V8 project authors. All rights reserved. | 1 // Copyright 2006-2008 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 void GenerateLog(ZoneList<Expression*>* args); | 537 void GenerateLog(ZoneList<Expression*>* args); |
538 | 538 |
539 void GenerateGetFramePointer(ZoneList<Expression*>* args); | 539 void GenerateGetFramePointer(ZoneList<Expression*>* args); |
540 | 540 |
541 // Fast support for Math.random(). | 541 // Fast support for Math.random(). |
542 void GenerateRandomPositiveSmi(ZoneList<Expression*>* args); | 542 void GenerateRandomPositiveSmi(ZoneList<Expression*>* args); |
543 | 543 |
544 // Fast support for StringAdd. | 544 // Fast support for StringAdd. |
545 void GenerateStringAdd(ZoneList<Expression*>* args); | 545 void GenerateStringAdd(ZoneList<Expression*>* args); |
546 | 546 |
| 547 // Support for direct calls from JavaScript to native RegExp code. |
| 548 void GenerateRegExpExec(ZoneList<Expression*>* args); |
| 549 |
547 // Simple condition analysis. | 550 // Simple condition analysis. |
548 enum ConditionAnalysis { | 551 enum ConditionAnalysis { |
549 ALWAYS_TRUE, | 552 ALWAYS_TRUE, |
550 ALWAYS_FALSE, | 553 ALWAYS_FALSE, |
551 DONT_KNOW | 554 DONT_KNOW |
552 }; | 555 }; |
553 ConditionAnalysis AnalyzeCondition(Expression* cond); | 556 ConditionAnalysis AnalyzeCondition(Expression* cond); |
554 | 557 |
555 // Methods used to indicate which source code is generated for. Source | 558 // Methods used to indicate which source code is generated for. Source |
556 // positions are collected by the assembler and emitted with the relocation | 559 // positions are collected by the assembler and emitted with the relocation |
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
764 bool ascii); | 767 bool ascii); |
765 | 768 |
766 // Should the stub check whether arguments are strings? | 769 // Should the stub check whether arguments are strings? |
767 bool string_check_; | 770 bool string_check_; |
768 }; | 771 }; |
769 | 772 |
770 | 773 |
771 } } // namespace v8::internal | 774 } } // namespace v8::internal |
772 | 775 |
773 #endif // V8_IA32_CODEGEN_IA32_H_ | 776 #endif // V8_IA32_CODEGEN_IA32_H_ |
OLD | NEW |