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

Side by Side Diff: src/codegen.h

Issue 1709008: Introduce faster swapping primitives. (Closed)
Patch Set: Stub ports to x64 and ARM Created 10 years, 7 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/array.js ('k') | src/ia32/codegen-ia32.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 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
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(GetFromCache, 2, 1) \
128 F(NumberToString, 1, 1) \ 128 F(NumberToString, 1, 1) \
129 F(SwapElements, 3, 1) \
129 F(MathPow, 2, 1) \ 130 F(MathPow, 2, 1) \
130 F(MathSin, 1, 1) \ 131 F(MathSin, 1, 1) \
131 F(MathCos, 1, 1) \ 132 F(MathCos, 1, 1) \
132 F(MathSqrt, 1, 1) 133 F(MathSqrt, 1, 1)
133 134
134 135
135 // Support for "structured" code comments. 136 // Support for "structured" code comments.
136 #ifdef DEBUG 137 #ifdef DEBUG
137 138
138 class Comment BASE_EMBEDDED { 139 class Comment BASE_EMBEDDED {
(...skipping 472 matching lines...) Expand 10 before | Expand all | Expand 10 after
611 private: 612 private:
612 Major MajorKey() { return ToBoolean; } 613 Major MajorKey() { return ToBoolean; }
613 int MinorKey() { return 0; } 614 int MinorKey() { return 0; }
614 }; 615 };
615 616
616 617
617 } // namespace internal 618 } // namespace internal
618 } // namespace v8 619 } // namespace v8
619 620
620 #endif // V8_CODEGEN_H_ 621 #endif // V8_CODEGEN_H_
OLDNEW
« no previous file with comments | « src/array.js ('k') | src/ia32/codegen-ia32.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698