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 380 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
391 | 391 |
392 // Fast support for SubString. | 392 // Fast support for SubString. |
393 void GenerateSubString(ZoneList<Expression*>* args); | 393 void GenerateSubString(ZoneList<Expression*>* args); |
394 | 394 |
395 // Fast support for StringCompare. | 395 // Fast support for StringCompare. |
396 void GenerateStringCompare(ZoneList<Expression*>* args); | 396 void GenerateStringCompare(ZoneList<Expression*>* args); |
397 | 397 |
398 // Support for direct calls from JavaScript to native RegExp code. | 398 // Support for direct calls from JavaScript to native RegExp code. |
399 void GenerateRegExpExec(ZoneList<Expression*>* args); | 399 void GenerateRegExpExec(ZoneList<Expression*>* args); |
400 | 400 |
| 401 // Fast support for number to string. |
| 402 void GenerateNumberToString(ZoneList<Expression*>* args); |
| 403 |
401 // Simple condition analysis. | 404 // Simple condition analysis. |
402 enum ConditionAnalysis { | 405 enum ConditionAnalysis { |
403 ALWAYS_TRUE, | 406 ALWAYS_TRUE, |
404 ALWAYS_FALSE, | 407 ALWAYS_FALSE, |
405 DONT_KNOW | 408 DONT_KNOW |
406 }; | 409 }; |
407 ConditionAnalysis AnalyzeCondition(Expression* cond); | 410 ConditionAnalysis AnalyzeCondition(Expression* cond); |
408 | 411 |
409 // Methods used to indicate which source code is generated for. Source | 412 // Methods used to indicate which source code is generated for. Source |
410 // positions are collected by the assembler and emitted with the relocation | 413 // positions are collected by the assembler and emitted with the relocation |
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
617 Major MajorKey() { return StringCompare; } | 620 Major MajorKey() { return StringCompare; } |
618 int MinorKey() { return 0; } | 621 int MinorKey() { return 0; } |
619 | 622 |
620 void Generate(MacroAssembler* masm); | 623 void Generate(MacroAssembler* masm); |
621 }; | 624 }; |
622 | 625 |
623 | 626 |
624 } } // namespace v8::internal | 627 } } // namespace v8::internal |
625 | 628 |
626 #endif // V8_ARM_CODEGEN_ARM_H_ | 629 #endif // V8_ARM_CODEGEN_ARM_H_ |
OLD | NEW |