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

Side by Side Diff: src/objects.h

Issue 2528853003: [turbofan] Infer proper type for calls to Date.now. (Closed)
Patch Set: Created 4 years 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 7219 matching lines...) Expand 10 before | Expand all | Expand 10 after
7230 // on the object (the one the id is set for), and a label. 7230 // on the object (the one the id is set for), and a label.
7231 // 7231 //
7232 // Installation of ids for the selected builtin functions is handled 7232 // Installation of ids for the selected builtin functions is handled
7233 // by the bootstrapper. 7233 // by the bootstrapper.
7234 #define FUNCTIONS_WITH_ID_LIST(V) \ 7234 #define FUNCTIONS_WITH_ID_LIST(V) \
7235 V(Array.prototype, indexOf, ArrayIndexOf) \ 7235 V(Array.prototype, indexOf, ArrayIndexOf) \
7236 V(Array.prototype, lastIndexOf, ArrayLastIndexOf) \ 7236 V(Array.prototype, lastIndexOf, ArrayLastIndexOf) \
7237 V(Array.prototype, push, ArrayPush) \ 7237 V(Array.prototype, push, ArrayPush) \
7238 V(Array.prototype, pop, ArrayPop) \ 7238 V(Array.prototype, pop, ArrayPop) \
7239 V(Array.prototype, shift, ArrayShift) \ 7239 V(Array.prototype, shift, ArrayShift) \
7240 V(Date, now, DateNow) \
7240 V(Date.prototype, getDate, DateGetDate) \ 7241 V(Date.prototype, getDate, DateGetDate) \
7241 V(Date.prototype, getDay, DateGetDay) \ 7242 V(Date.prototype, getDay, DateGetDay) \
7242 V(Date.prototype, getFullYear, DateGetFullYear) \ 7243 V(Date.prototype, getFullYear, DateGetFullYear) \
7243 V(Date.prototype, getHours, DateGetHours) \ 7244 V(Date.prototype, getHours, DateGetHours) \
7244 V(Date.prototype, getMilliseconds, DateGetMilliseconds) \ 7245 V(Date.prototype, getMilliseconds, DateGetMilliseconds) \
7245 V(Date.prototype, getMinutes, DateGetMinutes) \ 7246 V(Date.prototype, getMinutes, DateGetMinutes) \
7246 V(Date.prototype, getMonth, DateGetMonth) \ 7247 V(Date.prototype, getMonth, DateGetMonth) \
7247 V(Date.prototype, getSeconds, DateGetSeconds) \ 7248 V(Date.prototype, getSeconds, DateGetSeconds) \
7248 V(Date.prototype, getTime, DateGetTime) \ 7249 V(Date.prototype, getTime, DateGetTime) \
7249 V(Function.prototype, apply, FunctionApply) \ 7250 V(Function.prototype, apply, FunctionApply) \
(...skipping 4630 matching lines...) Expand 10 before | Expand all | Expand 10 after
11880 } 11881 }
11881 return value; 11882 return value;
11882 } 11883 }
11883 }; 11884 };
11884 11885
11885 11886
11886 } // NOLINT, false-positive due to second-order macros. 11887 } // NOLINT, false-positive due to second-order macros.
11887 } // NOLINT, false-positive due to second-order macros. 11888 } // NOLINT, false-positive due to second-order macros.
11888 11889
11889 #endif // V8_OBJECTS_H_ 11890 #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