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

Side by Side Diff: src/objects.h

Issue 2296593002: [turbofan] Sanitize typing of Date builtins. (Closed)
Patch Set: Fix comment. 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 6852 matching lines...) Expand 10 before | Expand all | Expand 10 after
6863 // 6863 //
6864 // Installation of ids for the selected builtin functions is handled 6864 // Installation of ids for the selected builtin functions is handled
6865 // by the bootstrapper. 6865 // by the bootstrapper.
6866 #define FUNCTIONS_WITH_ID_LIST(V) \ 6866 #define FUNCTIONS_WITH_ID_LIST(V) \
6867 V(Array.prototype, indexOf, ArrayIndexOf) \ 6867 V(Array.prototype, indexOf, ArrayIndexOf) \
6868 V(Array.prototype, lastIndexOf, ArrayLastIndexOf) \ 6868 V(Array.prototype, lastIndexOf, ArrayLastIndexOf) \
6869 V(Array.prototype, push, ArrayPush) \ 6869 V(Array.prototype, push, ArrayPush) \
6870 V(Array.prototype, pop, ArrayPop) \ 6870 V(Array.prototype, pop, ArrayPop) \
6871 V(Array.prototype, shift, ArrayShift) \ 6871 V(Array.prototype, shift, ArrayShift) \
6872 V(Date.prototype, getDate, DateGetDate) \ 6872 V(Date.prototype, getDate, DateGetDate) \
6873 V(Date.prototype, getDay, DateGetDay) \
6873 V(Date.prototype, getFullYear, DateGetFullYear) \ 6874 V(Date.prototype, getFullYear, DateGetFullYear) \
6874 V(Date.prototype, getHours, DateGetHours) \ 6875 V(Date.prototype, getHours, DateGetHours) \
6875 V(Date.prototype, getMilliseconds, DateGetMilliseconds) \ 6876 V(Date.prototype, getMilliseconds, DateGetMilliseconds) \
6877 V(Date.prototype, getMinutes, DateGetMinutes) \
6876 V(Date.prototype, getMonth, DateGetMonth) \ 6878 V(Date.prototype, getMonth, DateGetMonth) \
6877 V(Date.prototype, getSeconds, DateGetSeconds) \ 6879 V(Date.prototype, getSeconds, DateGetSeconds) \
6878 V(Date.prototype, getTime, DateGetTime) \ 6880 V(Date.prototype, getTime, DateGetTime) \
6879 V(Function.prototype, apply, FunctionApply) \ 6881 V(Function.prototype, apply, FunctionApply) \
6880 V(Function.prototype, call, FunctionCall) \ 6882 V(Function.prototype, call, FunctionCall) \
6881 V(Object.prototype, hasOwnProperty, ObjectHasOwnProperty) \ 6883 V(Object.prototype, hasOwnProperty, ObjectHasOwnProperty) \
6882 V(String.prototype, charCodeAt, StringCharCodeAt) \ 6884 V(String.prototype, charCodeAt, StringCharCodeAt) \
6883 V(String.prototype, charAt, StringCharAt) \ 6885 V(String.prototype, charAt, StringCharAt) \
6884 V(String.prototype, concat, StringConcat) \ 6886 V(String.prototype, concat, StringConcat) \
6885 V(String.prototype, substr, StringSubstr) \ 6887 V(String.prototype, substr, StringSubstr) \
(...skipping 4285 matching lines...) Expand 10 before | Expand all | Expand 10 after
11171 } 11173 }
11172 return value; 11174 return value;
11173 } 11175 }
11174 }; 11176 };
11175 11177
11176 11178
11177 } // NOLINT, false-positive due to second-order macros. 11179 } // NOLINT, false-positive due to second-order macros.
11178 } // NOLINT, false-positive due to second-order macros. 11180 } // NOLINT, false-positive due to second-order macros.
11179 11181
11180 #endif // V8_OBJECTS_H_ 11182 #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