Skip to content

Commit f683281

Browse files
authored
Remove writes to deprecated v8::Isolate fields (#232)
1 parent 8a71a35 commit f683281

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/api/environment.cc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,8 +218,6 @@ void SetIsolateCreateParamsForNode(Isolate::CreateParams* params) {
218218
// heap based on the actual physical memory.
219219
params->constraints.ConfigureDefaults(total_memory, 0);
220220
}
221-
params->embedder_wrapper_object_index = BaseObject::InternalFields::kSlot;
222-
params->embedder_wrapper_type_index = std::numeric_limits<int>::max();
223221

224222
#ifdef NODE_ENABLE_VTUNE_PROFILING
225223
params->code_event_handler = vTune::GetVtuneCodeEventHandler();

0 commit comments

Comments
 (0)