Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 0 additions & 13 deletions docs/not_impl/not_impl12.ts

This file was deleted.

8 changes: 0 additions & 8 deletions docs/not_impl/not_impl13.ts

This file was deleted.

22 changes: 0 additions & 22 deletions docs/not_impl/not_impl15.ts

This file was deleted.

125 changes: 0 additions & 125 deletions docs/not_impl/not_impl27.ts

This file was deleted.

43 changes: 0 additions & 43 deletions docs/not_impl/not_impl28.ts

This file was deleted.

69 changes: 0 additions & 69 deletions docs/not_impl/not_impl30.ts

This file was deleted.

13 changes: 0 additions & 13 deletions docs/not_impl/not_impl5.ts

This file was deleted.

26 changes: 0 additions & 26 deletions docs/not_impl/not_impl7.ts

This file was deleted.

8 changes: 0 additions & 8 deletions docs/not_impl/not_impl9.ts

This file was deleted.

6 changes: 6 additions & 0 deletions tslang/include/TypeScript/Defines.h
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,12 @@
// closure) is filled the same way, with a thunk calling the field; its cell is always present and
// is not written through.
#define INTERFACE_METHOD_CELL_TAG 1
// A field (not optional, not function-typed) a class fills with accessors (`get prop()`, `set prop(v)`) has no
// storage in the object: its slot is instead the address of a global cell {getter, setter}, either null where
// the class has none, plus this bit - the sign bit, which an offset never has (a symbol plus a constant, so it
// is relocated as any address). A load through it calls the getter with `this`, and a store the setter
// (LoadOpLowering, StoreOpLowering). On a 32-bit target this holds for a cell below 2 GB.
#define INTERFACE_ACCESSOR_CELL_TAG(sizeBits) (1ULL << ((sizeBits) - 1))
// on an InterfaceSymbolRefOp of a `v?: T` field that is stored to: true sets the flag of a tagged slot's
// field, false (a store of undefined) clears it
#define INTERFACE_OPTIONAL_WRITE_ATTR "__optional_write"
Expand Down
Loading
Loading