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/objects.h

Issue 2285213002: [turbofan] Assign appropriate types to some Date builtins. (Closed)
Patch Set: Created 4 years, 3 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/compiler/typer.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_OBJECTS_H_ 5 #ifndef V8_OBJECTS_H_
6 #define V8_OBJECTS_H_ 6 #define V8_OBJECTS_H_
7 7
8 #include <iosfwd> 8 #include <iosfwd>
9 #include <memory> 9 #include <memory>
10 10
(...skipping 6864 matching lines...) Expand 10 before | Expand all | Expand 10 after
6875 // on the object (the one the id is set for), and a label. 6875 // on the object (the one the id is set for), and a label.
6876 // 6876 //
6877 // Installation of ids for the selected builtin functions is handled 6877 // Installation of ids for the selected builtin functions is handled
6878 // by the bootstrapper. 6878 // by the bootstrapper.
6879 #define FUNCTIONS_WITH_ID_LIST(V) \ 6879 #define FUNCTIONS_WITH_ID_LIST(V) \
6880 V(Array.prototype, indexOf, ArrayIndexOf) \ 6880 V(Array.prototype, indexOf, ArrayIndexOf) \
6881 V(Array.prototype, lastIndexOf, ArrayLastIndexOf) \ 6881 V(Array.prototype, lastIndexOf, ArrayLastIndexOf) \
6882 V(Array.prototype, push, ArrayPush) \ 6882 V(Array.prototype, push, ArrayPush) \
6883 V(Array.prototype, pop, ArrayPop) \ 6883 V(Array.prototype, pop, ArrayPop) \
6884 V(Array.prototype, shift, ArrayShift) \ 6884 V(Array.prototype, shift, ArrayShift) \
6885 V(Date.prototype, getDate, DateGetDate) \
6886 V(Date.prototype, getFullYear, DateGetFullYear) \
6887 V(Date.prototype, getHours, DateGetHours) \
6888 V(Date.prototype, getMilliseconds, DateGetMilliseconds) \
6889 V(Date.prototype, getMonth, DateGetMonth) \
6890 V(Date.prototype, getSeconds, DateGetSeconds) \
6891 V(Date.prototype, getTime, DateGetTime) \
6885 V(Function.prototype, apply, FunctionApply) \ 6892 V(Function.prototype, apply, FunctionApply) \
6886 V(Function.prototype, call, FunctionCall) \ 6893 V(Function.prototype, call, FunctionCall) \
6887 V(Object.prototype, hasOwnProperty, ObjectHasOwnProperty) \ 6894 V(Object.prototype, hasOwnProperty, ObjectHasOwnProperty) \
6888 V(String.prototype, charCodeAt, StringCharCodeAt) \ 6895 V(String.prototype, charCodeAt, StringCharCodeAt) \
6889 V(String.prototype, charAt, StringCharAt) \ 6896 V(String.prototype, charAt, StringCharAt) \
6890 V(String.prototype, concat, StringConcat) \ 6897 V(String.prototype, concat, StringConcat) \
6891 V(String.prototype, substr, StringSubstr) \ 6898 V(String.prototype, substr, StringSubstr) \
6892 V(String.prototype, toLowerCase, StringToLowerCase) \ 6899 V(String.prototype, toLowerCase, StringToLowerCase) \
6893 V(String.prototype, toUpperCase, StringToUpperCase) \ 6900 V(String.prototype, toUpperCase, StringToUpperCase) \
6894 V(String, fromCharCode, StringFromCharCode) \ 6901 V(String, fromCharCode, StringFromCharCode) \
(...skipping 4282 matching lines...) Expand 10 before | Expand all | Expand 10 after
11177 } 11184 }
11178 return value; 11185 return value;
11179 } 11186 }
11180 }; 11187 };
11181 11188
11182 11189
11183 } // NOLINT, false-positive due to second-order macros. 11190 } // NOLINT, false-positive due to second-order macros.
11184 } // NOLINT, false-positive due to second-order macros. 11191 } // NOLINT, false-positive due to second-order macros.
11185 11192
11186 #endif // V8_OBJECTS_H_ 11193 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/compiler/typer.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698