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 348 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
359 | 359 |
360 // Fast support for Math.random(). | 360 // Fast support for Math.random(). |
361 void GenerateRandomPositiveSmi(ZoneList<Expression*>* args); | 361 void GenerateRandomPositiveSmi(ZoneList<Expression*>* args); |
362 | 362 |
363 // Fast support for StringAdd. | 363 // Fast support for StringAdd. |
364 void GenerateStringAdd(ZoneList<Expression*>* args); | 364 void GenerateStringAdd(ZoneList<Expression*>* args); |
365 | 365 |
366 // Fast support for SubString. | 366 // Fast support for SubString. |
367 void GenerateSubString(ZoneList<Expression*>* args); | 367 void GenerateSubString(ZoneList<Expression*>* args); |
368 | 368 |
| 369 // Fast support for StringCompare. |
| 370 void GenerateStringCompare(ZoneList<Expression*>* args); |
| 371 |
369 // Support for direct calls from JavaScript to native RegExp code. | 372 // Support for direct calls from JavaScript to native RegExp code. |
370 void GenerateRegExpExec(ZoneList<Expression*>* args); | 373 void GenerateRegExpExec(ZoneList<Expression*>* args); |
371 | 374 |
372 // Simple condition analysis. | 375 // Simple condition analysis. |
373 enum ConditionAnalysis { | 376 enum ConditionAnalysis { |
374 ALWAYS_TRUE, | 377 ALWAYS_TRUE, |
375 ALWAYS_FALSE, | 378 ALWAYS_FALSE, |
376 DONT_KNOW | 379 DONT_KNOW |
377 }; | 380 }; |
378 ConditionAnalysis AnalyzeCondition(Expression* cond); | 381 ConditionAnalysis AnalyzeCondition(Expression* cond); |
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
520 constant_rhs_); | 523 constant_rhs_); |
521 } | 524 } |
522 } | 525 } |
523 #endif | 526 #endif |
524 }; | 527 }; |
525 | 528 |
526 | 529 |
527 } } // namespace v8::internal | 530 } } // namespace v8::internal |
528 | 531 |
529 #endif // V8_ARM_CODEGEN_ARM_H_ | 532 #endif // V8_ARM_CODEGEN_ARM_H_ |
OLD | NEW |