Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(253)

Side by Side Diff: src/arm/codegen-arm.h

Issue 5122005: Add a fast case to Array.join when all the elements and the separator are fla... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 10 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | src/arm/codegen-arm.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 510 matching lines...) Expand 10 before | Expand all | Expand 10 after
521 // Fast call to math functions. 521 // Fast call to math functions.
522 void GenerateMathPow(ZoneList<Expression*>* args); 522 void GenerateMathPow(ZoneList<Expression*>* args);
523 void GenerateMathSin(ZoneList<Expression*>* args); 523 void GenerateMathSin(ZoneList<Expression*>* args);
524 void GenerateMathCos(ZoneList<Expression*>* args); 524 void GenerateMathCos(ZoneList<Expression*>* args);
525 void GenerateMathSqrt(ZoneList<Expression*>* args); 525 void GenerateMathSqrt(ZoneList<Expression*>* args);
526 526
527 void GenerateIsRegExpEquivalent(ZoneList<Expression*>* args); 527 void GenerateIsRegExpEquivalent(ZoneList<Expression*>* args);
528 528
529 void GenerateHasCachedArrayIndex(ZoneList<Expression*>* args); 529 void GenerateHasCachedArrayIndex(ZoneList<Expression*>* args);
530 void GenerateGetCachedArrayIndex(ZoneList<Expression*>* args); 530 void GenerateGetCachedArrayIndex(ZoneList<Expression*>* args);
531 void GenerateFastAsciiArrayJoin(ZoneList<Expression*>* args);
531 532
532 // Simple condition analysis. 533 // Simple condition analysis.
533 enum ConditionAnalysis { 534 enum ConditionAnalysis {
534 ALWAYS_TRUE, 535 ALWAYS_TRUE,
535 ALWAYS_FALSE, 536 ALWAYS_FALSE,
536 DONT_KNOW 537 DONT_KNOW
537 }; 538 };
538 ConditionAnalysis AnalyzeCondition(Expression* cond); 539 ConditionAnalysis AnalyzeCondition(Expression* cond);
539 540
540 // Methods used to indicate which source code is generated for. Source 541 // Methods used to indicate which source code is generated for. Source
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
585 friend class FullCodeGenerator; 586 friend class FullCodeGenerator;
586 friend class FullCodeGenSyntaxChecker; 587 friend class FullCodeGenSyntaxChecker;
587 588
588 DISALLOW_COPY_AND_ASSIGN(CodeGenerator); 589 DISALLOW_COPY_AND_ASSIGN(CodeGenerator);
589 }; 590 };
590 591
591 592
592 } } // namespace v8::internal 593 } } // namespace v8::internal
593 594
594 #endif // V8_ARM_CODEGEN_ARM_H_ 595 #endif // V8_ARM_CODEGEN_ARM_H_
OLDNEW
« no previous file with comments | « no previous file | src/arm/codegen-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698