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

Side by Side Diff: src/codegen.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/bootstrapper.cc ('k') | src/contexts.h » ('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 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 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 F(Log, 3, 1) \ 117 F(Log, 3, 1) \
118 F(RandomHeapNumber, 0, 1) \ 118 F(RandomHeapNumber, 0, 1) \
119 F(IsObject, 1, 1) \ 119 F(IsObject, 1, 1) \
120 F(IsFunction, 1, 1) \ 120 F(IsFunction, 1, 1) \
121 F(IsUndetectableObject, 1, 1) \ 121 F(IsUndetectableObject, 1, 1) \
122 F(StringAdd, 2, 1) \ 122 F(StringAdd, 2, 1) \
123 F(SubString, 3, 1) \ 123 F(SubString, 3, 1) \
124 F(StringCompare, 2, 1) \ 124 F(StringCompare, 2, 1) \
125 F(RegExpExec, 4, 1) \ 125 F(RegExpExec, 4, 1) \
126 F(RegExpConstructResult, 3, 1) \ 126 F(RegExpConstructResult, 3, 1) \
127 F(GetFromCache, 2, 1) \
127 F(NumberToString, 1, 1) \ 128 F(NumberToString, 1, 1) \
128 F(MathPow, 2, 1) \ 129 F(MathPow, 2, 1) \
129 F(MathSin, 1, 1) \ 130 F(MathSin, 1, 1) \
130 F(MathCos, 1, 1) \ 131 F(MathCos, 1, 1) \
131 F(MathSqrt, 1, 1) 132 F(MathSqrt, 1, 1)
132 133
133 134
134 // Support for "structured" code comments. 135 // Support for "structured" code comments.
135 #ifdef DEBUG 136 #ifdef DEBUG
136 137
(...skipping 469 matching lines...) Expand 10 before | Expand all | Expand 10 after
606 private: 607 private:
607 Major MajorKey() { return ToBoolean; } 608 Major MajorKey() { return ToBoolean; }
608 int MinorKey() { return 0; } 609 int MinorKey() { return 0; }
609 }; 610 };
610 611
611 612
612 } // namespace internal 613 } // namespace internal
613 } // namespace v8 614 } // namespace v8
614 615
615 #endif // V8_CODEGEN_H_ 616 #endif // V8_CODEGEN_H_
OLDNEW
« no previous file with comments | « src/bootstrapper.cc ('k') | src/contexts.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698