Skip to content

Commit de5f9ac

Browse files
verwaestvictorgomes
authored andcommitted
Reintroduce DEFAULT for migration
1 parent d5ca5cc commit de5f9ac

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/node_builtins.cc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ namespace node {
1111
namespace builtins {
1212

1313
using v8::Context;
14+
using v8::DEFAULT;
1415
using v8::EscapableHandleScope;
1516
using v8::Function;
1617
using v8::FunctionCallbackInfo;
@@ -683,13 +684,15 @@ void BuiltinLoader::CreatePerIsolateProperties(IsolateData* isolate_data,
683684
ConfigStringGetter,
684685
nullptr,
685686
Local<Value>(),
687+
DEFAULT,
686688
None,
687689
SideEffectType::kHasNoSideEffect);
688690

689691
target->SetNativeDataProperty(FIXED_ONE_BYTE_STRING(isolate, "builtinIds"),
690692
BuiltinIdsGetter,
691693
nullptr,
692694
Local<Value>(),
695+
DEFAULT,
693696
None,
694697
SideEffectType::kHasNoSideEffect);
695698

@@ -698,13 +701,15 @@ void BuiltinLoader::CreatePerIsolateProperties(IsolateData* isolate_data,
698701
GetBuiltinCategories,
699702
nullptr,
700703
Local<Value>(),
704+
DEFAULT,
701705
None,
702706
SideEffectType::kHasNoSideEffect);
703707

704708
target->SetNativeDataProperty(FIXED_ONE_BYTE_STRING(isolate, "natives"),
705709
GetNatives,
706710
nullptr,
707711
Local<Value>(),
712+
DEFAULT,
708713
None,
709714
SideEffectType::kHasNoSideEffect);
710715

0 commit comments

Comments
 (0)