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

Side by Side Diff: src/codegen.h

Issue 1623004: Faster invocation of custom comparator function. (Closed)
Patch Set: Next 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/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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 97
98 namespace v8 { 98 namespace v8 {
99 namespace internal { 99 namespace internal {
100 100
101 101
102 #define INLINE_RUNTIME_FUNCTION_LIST(F) \ 102 #define INLINE_RUNTIME_FUNCTION_LIST(F) \
103 F(IsSmi, 1, 1) \ 103 F(IsSmi, 1, 1) \
104 F(IsNonNegativeSmi, 1, 1) \ 104 F(IsNonNegativeSmi, 1, 1) \
105 F(IsArray, 1, 1) \ 105 F(IsArray, 1, 1) \
106 F(IsRegExp, 1, 1) \ 106 F(IsRegExp, 1, 1) \
107 F(CallFunction, -1 /* receiver + n args + function */, 1) \
107 F(IsConstructCall, 0, 1) \ 108 F(IsConstructCall, 0, 1) \
108 F(ArgumentsLength, 0, 1) \ 109 F(ArgumentsLength, 0, 1) \
109 F(Arguments, 1, 1) \ 110 F(Arguments, 1, 1) \
110 F(ClassOf, 1, 1) \ 111 F(ClassOf, 1, 1) \
111 F(ValueOf, 1, 1) \ 112 F(ValueOf, 1, 1) \
112 F(SetValueOf, 2, 1) \ 113 F(SetValueOf, 2, 1) \
113 F(FastCharCodeAt, 2, 1) \ 114 F(FastCharCodeAt, 2, 1) \
114 F(CharFromCode, 1, 1) \ 115 F(CharFromCode, 1, 1) \
115 F(ObjectEquals, 2, 1) \ 116 F(ObjectEquals, 2, 1) \
116 F(Log, 3, 1) \ 117 F(Log, 3, 1) \
(...skipping 482 matching lines...) Expand 10 before | Expand all | Expand 10 after
599 private: 600 private:
600 Major MajorKey() { return ToBoolean; } 601 Major MajorKey() { return ToBoolean; }
601 int MinorKey() { return 0; } 602 int MinorKey() { return 0; }
602 }; 603 };
603 604
604 605
605 } // namespace internal 606 } // namespace internal
606 } // namespace v8 607 } // namespace v8
607 608
608 #endif // V8_CODEGEN_H_ 609 #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