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

Side by Side Diff: src/ia32/codegen-ia32.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/heap.cc ('k') | src/ia32/codegen-ia32.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 612 matching lines...) Expand 10 before | Expand all | Expand 10 after
623 void GenerateSubString(ZoneList<Expression*>* args); 623 void GenerateSubString(ZoneList<Expression*>* args);
624 624
625 // Fast support for StringCompare. 625 // Fast support for StringCompare.
626 void GenerateStringCompare(ZoneList<Expression*>* args); 626 void GenerateStringCompare(ZoneList<Expression*>* args);
627 627
628 // Support for direct calls from JavaScript to native RegExp code. 628 // Support for direct calls from JavaScript to native RegExp code.
629 void GenerateRegExpExec(ZoneList<Expression*>* args); 629 void GenerateRegExpExec(ZoneList<Expression*>* args);
630 630
631 void GenerateRegExpConstructResult(ZoneList<Expression*>* args); 631 void GenerateRegExpConstructResult(ZoneList<Expression*>* args);
632 632
633 // Support for fast native caches.
634 void GenerateGetFromCache(ZoneList<Expression*>* args);
635
633 // Fast support for number to string. 636 // Fast support for number to string.
634 void GenerateNumberToString(ZoneList<Expression*>* args); 637 void GenerateNumberToString(ZoneList<Expression*>* args);
635 638
636 // Fast call for custom callbacks. 639 // Fast call for custom callbacks.
637 void GenerateCallFunction(ZoneList<Expression*>* args); 640 void GenerateCallFunction(ZoneList<Expression*>* args);
638 641
639 // Fast call to math functions. 642 // Fast call to math functions.
640 void GenerateMathPow(ZoneList<Expression*>* args); 643 void GenerateMathPow(ZoneList<Expression*>* args);
641 void GenerateMathSin(ZoneList<Expression*>* args); 644 void GenerateMathSin(ZoneList<Expression*>* args);
642 void GenerateMathCos(ZoneList<Expression*>* args); 645 void GenerateMathCos(ZoneList<Expression*>* args);
(...skipping 410 matching lines...) Expand 10 before | Expand all | Expand 10 after
1053 return ObjectBits::encode(object_.code()) | 1056 return ObjectBits::encode(object_.code()) |
1054 AddressBits::encode(addr_.code()) | 1057 AddressBits::encode(addr_.code()) |
1055 ScratchBits::encode(scratch_.code()); 1058 ScratchBits::encode(scratch_.code());
1056 } 1059 }
1057 }; 1060 };
1058 1061
1059 1062
1060 } } // namespace v8::internal 1063 } } // namespace v8::internal
1061 1064
1062 #endif // V8_IA32_CODEGEN_IA32_H_ 1065 #endif // V8_IA32_CODEGEN_IA32_H_
OLDNEW
« no previous file with comments | « src/heap.cc ('k') | src/ia32/codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698