GeezerVison is showing github.com — deps: backport v8 5f90cfd7 · nodejs/node@dd5da30
File treeExpand file treeCollapse file tree Open diff view settings Expand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboardExpand all lines: common.gypi +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
| 36 | 36 |
| 37 | 37 | # Reset this number to 0 on major V8 upgrades. | 38 | 38 | # Increment by one for each non-official patch applied to deps/v8. | 39 | | - 'v8_embedder_string': '-node.27', | | 39 | + 'v8_embedder_string': '-node.28', | 40 | 40 |
| 41 | 41 | ##### V8 defaults for Node.js ##### | 42 | 42 |
| |
Collapse file Copy file name to clipboardExpand all lines: deps/v8/src/objects/module-inl.h +3-2Lines changed: 3 additions & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -36,8 +36,9 @@ ACCESSORS(Module, exception, Object, kExceptionOffset) | 36 | 36 | SMI_ACCESSORS(Module, status, kStatusOffset) | 37 | 37 | SMI_ACCESSORS(Module, hash, kHashOffset) | 38 | 38 |
| 39 | | -BOOL_ACCESSORS(SourceTextModule, flags, async, kAsyncBit) | 40 | | -BOOL_ACCESSORS(SourceTextModule, flags, async_evaluating, kAsyncEvaluatingBit) | | 39 | +BOOL_ACCESSORS(SourceTextModule, flags, async, AsyncBit::kShift) | | 40 | +BOOL_ACCESSORS(SourceTextModule, flags, async_evaluating, | | 41 | + AsyncEvaluatingBit::kShift) | 41 | 42 | ACCESSORS(SourceTextModule, async_parent_modules, ArrayList, | 42 | 43 | kAsyncParentModulesOffset) | 43 | 44 | ACCESSORS(SourceTextModule, top_level_capability, HeapObject, | |
Collapse file Copy file name to clipboardExpand all lines: deps/v8/src/objects/source-text-module.h +2-2Lines changed: 2 additions & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 7 | 7 |
| 8 | 8 | #include "src/objects/module.h" | 9 | 9 | #include "src/objects/promise.h" | | 10 | +#include "torque-generated/bit-fields-tq.h" | 10 | 11 |
| 11 | 12 | // Has to be the last include (doesn't have include guards): | 12 | 13 | #include "src/objects/object-macros.h" | @@ -94,8 +95,7 @@ class SourceTextModule | 94 | 95 | inline void DecrementPendingAsyncDependencies(); | 95 | 96 |
| 96 | 97 | // Bits for flags. | 97 | | - static const int kAsyncBit = 0; | 98 | | - static const int kAsyncEvaluatingBit = 1; | | 98 | + DEFINE_TORQUE_GENERATED_SOURCE_TEXT_MODULE_FLAGS() | 99 | 99 |
| 100 | 100 | // async_evaluating, top_level_capability, pending_async_dependencies, and | 101 | 101 | // async_parent_modules are used exclusively during evaluation of async | |
Collapse file Copy file name to clipboardExpand all lines: deps/v8/src/objects/source-text-module.tq +6-1Lines changed: 6 additions & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
| 4 | 4 |
| 5 | 5 | type SourceTextModuleInfo extends FixedArray; | 6 | 6 |
| | 7 | +bitfield struct SourceTextModuleFlags extends uint31 { | | 8 | + async: bool: 1 bit; | | 9 | + async_evaluating: bool: 1 bit; | | 10 | +} | | 11 | + | 7 | 12 | @generateCppClass | 8 | 13 | extern class SourceTextModule extends Module { | 9 | 14 | // The code representing this module, or an abstraction thereof. | @@ -44,7 +49,7 @@ extern class SourceTextModule extends Module { | 44 | 49 | // The number of currently evaluating async dependencies of this module. | 45 | 50 | pending_async_dependencies: Smi; | 46 | 51 |
| 47 | | - flags: Smi; | | 52 | + flags: SmiTagged<SourceTextModuleFlags>; | 48 | 53 | } | 49 | 54 |
| 50 | 55 | @generateCppClass | |
|