Vadim Gorbachev (bmsdave)
7315d7b3d7
Preparing v8 to use with python3 /tools
...
There are now less that 400 days until the end of life
of Python 2(aka _legacy_ Python) https://pythonclock.org/ .
The code compatibility check for python2 and python3
used the following tools: futurize, flake8
You can see the reports here: https://travis-ci.com/bmsdave/v8/builds
This CL was uploaded by git cl split.
Bug: v8:8594
Change-Id: I661c52a70527e8ddde841fee6d4dcba282b4a938
Reviewed-on: https://chromium-review.googlesource.com/c/1470123
Commit-Queue: Sergiy Belozorov <sergiyb@chromium.org>
Reviewed-by: Sergiy Belozorov <sergiyb@chromium.org>
Cr-Commit-Position: refs/heads/master@{#59675}
2019-02-19 09:12:07 +00:00
Yang Guo
49dd27b0cf
Introduce script to collect deprecation statistics
...
Example:
~/v8$ tools/deprecation_stats.py include/v8.h --before=2018-10-01
Marked as V8_DEPRECATE_SOON: 21
556 : 2017-11-15 11:00:49 : V8_INLINE void MarkIndependent()
568 : 2017-11-15 11:00:49 : V8_INLINE bool IsIndependent() const
2404 : 2018-09-24 13:05:31 : V8_WARN_UNUSED_RESULT MaybeLocal<Boolean> ToBoolean(Local<Context> context) const
2421 : 2015-03-09 10:49:09 : Local<Number> ToNumber(Isolate* isolate) const
2423 : 2015-03-09 10:49:09 : Local<String> ToString(Isolate* isolate) const
<...>
3416 : 2015-03-09 10:49:09 : Local<Array> GetOwnPropertyNames()
3516 : 2015-03-09 10:49:09 : bool HasRealNamedProperty(Local<String> key)
3533 : 2015-03-09 10:49:09 : bool HasRealIndexedProperty(uint32_t index)
3537 : 2015-03-09 10:49:09 : bool HasRealNamedCallbackProperty(Local<String> key)
Marked as V8_DEPRECATED: 9
1395 : 2018-09-21 23:40:51 : const CachedData* GetCachedData() const
1853 : 2018-09-20 11:46:49 : MaybeLocal<Value> Parse(Isolate* isolate, Local<String> json_string)
1953 : 2018-09-20 11:46:49 : std::vector<uint8_t> ReleaseBuffer()
1977 : 2018-09-20 11:46:49 : void TransferSharedArrayBuffer(uint32_t transfer_id, Local<SharedArrayBuffer> shared_array_buffer)
5093 : 2018-09-20 11:46:49 : Local<Value> New(Isolate* isolate, double time)
6355 : 2018-09-20 11:46:49 : size_t max_semi_space_size()
6361 : 2018-09-20 11:46:49 : void set_max_semi_space_size(size_t limit_in_mb)
6380 : 2018-09-20 11:46:49 : size_t max_executable_size() const
6384 : 2018-09-20 11:46:49 : void set_max_executable_size(size_t limit_in_mb)
R=delphick@chromium.org
Change-Id: I723055d30457a4061cdc589a4be09c0279fd5923
Reviewed-on: https://chromium-review.googlesource.com/c/1352307
Commit-Queue: Dan Elphick <delphick@chromium.org>
Commit-Queue: Yang Guo <yangguo@chromium.org>
Reviewed-by: Dan Elphick <delphick@chromium.org>
Cr-Commit-Position: refs/heads/master@{#57906}
2018-11-28 15:02:24 +00:00