-
Notifications
You must be signed in to change notification settings - Fork 5
/
todo.txt
36 lines (29 loc) · 1.26 KB
/
todo.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# InstanceTypes to add
ODDBALL_TYPE = 0n67
SCOPE_INFO_TYPE = 0n132
NATIVE_CONTEXT_TYPE = 0n141
FEEDBACK_CELL_TYPE = 0n150
CODE_TYPE = 0n69
- Handle v8::internal::Handle<*> & v8::internal::MaybeHandle<*>
- Handle is just an alias for Local and is deprecated.
- Handle v8::Context and v8::Script
- Try to handle JSObject and JSArray with an enumerator
- Abstract away Address manipulation to handle pointer compression
- Handle memory read failures
- Support Linq expressions on object collections (e.g. heap enumeration)
V8::Context::Scope has one data member of Local<Context> context_;
v8::internal::Context is derived from HeapObject
#define TORQUE_GENERATED_CONTEXT_FIELDS(V) \
V(kLengthOffset, kTaggedSize) \
V(kScopeInfoOffset, kTaggedSize) \
V(kPreviousOffset, kTaggedSize) \
V(kExtensionOffset, kTaggedSize) \
V(kNativeContextOffset, kTaggedSize) \
Script:: methods are in objects.cc starting at line 4552, e.g.
Note: Also has a script iterator for the isolate at object.cc@4800
Script::Iterator::Iterator(Isolate* isolate)
: iterator_(isolate->heap()->script_list()) {}
# Misc
- Figure out the best way to model the object hierarchy.
- Create an 'enumerable' type on the map to show the slots on an object.
- Is it of use to show map transitions in some way?