|
|
[api] Prototype WeakRef implementation
Creates WeakRef, WeakRef.prototype.value, WeakRef.prototype.clear
based on https://github.com/tc39/proposal-weakrefs/
Placed behind flag: --harmony-weakref
Executors are fired after end of microtask queue (still in debate)
BUG=
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+350 lines, -11 lines) |
Patch |
 |
M |
include/v8.h
|
View
|
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
src/api.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
src/ast/ast-types.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
src/bootstrapper.cc
|
View
|
|
1 chunk |
+10 lines, -0 lines |
0 comments
|
Download
|
 |
M |
src/compiler/types.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
src/contexts.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
src/deoptimizer.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
src/factory.h
|
View
|
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
src/factory.cc
|
View
|
|
1 chunk |
+26 lines, -0 lines |
0 comments
|
Download
|
 |
M |
src/flag-definitions.h
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
src/heap-symbols.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
src/heap/heap.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
src/heap/heap.cc
|
View
|
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
src/heap/object-stats.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
src/heap/object-stats.cc
|
View
|
|
1 chunk |
+14 lines, -0 lines |
0 comments
|
Download
|
 |
M |
src/heap/objects-visiting.h
|
View
|
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
src/heap/objects-visiting.cc
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
src/heap/objects-visiting-inl.h
|
View
|
|
2 chunks |
+31 lines, -0 lines |
0 comments
|
Download
|
 |
M |
src/heap/scavenger.cc
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
src/inspector/injected-script-source.js
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
src/inspector/js_protocol.json
|
View
|
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
src/inspector/v8-injected-script-host.cc
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
src/isolate.h
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
src/isolate.cc
|
View
|
|
3 chunks |
+30 lines, -2 lines |
0 comments
|
Download
|
 |
M |
src/js/macros.py
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
src/js/weak-collection.js
|
View
|
|
2 chunks |
+44 lines, -0 lines |
0 comments
|
Download
|
 |
M |
src/objects.h
|
View
|
|
6 chunks |
+48 lines, -1 line |
0 comments
|
Download
|
 |
M |
src/objects.cc
|
View
|
|
3 chunks |
+30 lines, -0 lines |
0 comments
|
Download
|
 |
M |
src/objects-body-descriptors-inl.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
src/objects-debug.cc
|
View
|
|
2 chunks |
+9 lines, -0 lines |
0 comments
|
Download
|
 |
M |
src/objects-inl.h
|
View
|
|
6 chunks |
+11 lines, -2 lines |
0 comments
|
Download
|
 |
M |
src/objects-printer.cc
|
View
|
|
2 chunks |
+10 lines, -0 lines |
0 comments
|
Download
|
 |
M |
src/profiler/heap-snapshot-generator.h
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
src/profiler/heap-snapshot-generator.cc
|
View
|
|
2 chunks |
+11 lines, -0 lines |
0 comments
|
Download
|
 |
M |
src/runtime/runtime.h
|
View
|
|
1 chunk |
+4 lines, -1 line |
0 comments
|
Download
|
 |
M |
src/runtime/runtime-collections.cc
|
View
|
|
1 chunk |
+28 lines, -0 lines |
0 comments
|
Download
|
|