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

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

Issue 1563005: Introduce fast native caches and use it in String.search. (Closed)
Patch Set: Last round :) Created 10 years, 8 months 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
« no previous file with comments | « src/string.js ('k') | src/x64/codegen-x64.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 566 matching lines...) Expand 10 before | Expand all | Expand 10 after
577 void GenerateSubString(ZoneList<Expression*>* args); 577 void GenerateSubString(ZoneList<Expression*>* args);
578 578
579 // Fast support for StringCompare. 579 // Fast support for StringCompare.
580 void GenerateStringCompare(ZoneList<Expression*>* args); 580 void GenerateStringCompare(ZoneList<Expression*>* args);
581 581
582 // Support for direct calls from JavaScript to native RegExp code. 582 // Support for direct calls from JavaScript to native RegExp code.
583 void GenerateRegExpExec(ZoneList<Expression*>* args); 583 void GenerateRegExpExec(ZoneList<Expression*>* args);
584 584
585 void GenerateRegExpConstructResult(ZoneList<Expression*>* args); 585 void GenerateRegExpConstructResult(ZoneList<Expression*>* args);
586 586
587 // Support for fast native caches.
588 void GenerateGetFromCache(ZoneList<Expression*>* args);
589
587 // Fast support for number to string. 590 // Fast support for number to string.
588 void GenerateNumberToString(ZoneList<Expression*>* args); 591 void GenerateNumberToString(ZoneList<Expression*>* args);
589 592
590 // Fast call for custom callbacks. 593 // Fast call for custom callbacks.
591 void GenerateCallFunction(ZoneList<Expression*>* args); 594 void GenerateCallFunction(ZoneList<Expression*>* args);
592 595
593 // Fast call to math functions. 596 // Fast call to math functions.
594 void GenerateMathPow(ZoneList<Expression*>* args); 597 void GenerateMathPow(ZoneList<Expression*>* args);
595 void GenerateMathSin(ZoneList<Expression*>* args); 598 void GenerateMathSin(ZoneList<Expression*>* args);
596 void GenerateMathCos(ZoneList<Expression*>* args); 599 void GenerateMathCos(ZoneList<Expression*>* args);
(...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after
947 void Print() { 950 void Print() {
948 PrintF("NumberToStringStub\n"); 951 PrintF("NumberToStringStub\n");
949 } 952 }
950 #endif 953 #endif
951 }; 954 };
952 955
953 956
954 } } // namespace v8::internal 957 } } // namespace v8::internal
955 958
956 #endif // V8_X64_CODEGEN_X64_H_ 959 #endif // V8_X64_CODEGEN_X64_H_
OLDNEW
« no previous file with comments | « src/string.js ('k') | src/x64/codegen-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698