[cleanup] Remove dead {native_function_map} context slot.
R=jkummerow@chromium.org
Change-Id: I961f77eb5e99a3d709aa5e948602a925f57ae090
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1617246
Reviewed-by: Jakob Kummerow <jkummerow@chromium.org>
Commit-Queue: Michael Starzinger <mstarzinger@chromium.org>
Cr-Commit-Position: refs/heads/master@{#61612}
diff --git a/src/contexts.h b/src/contexts.h
index 34e7a6a..cc59362 100644
--- a/src/contexts.h
+++ b/src/contexts.h
@@ -300,7 +300,6 @@
V(STRING_FUNCTION_INDEX, JSFunction, string_function) \
V(STRING_FUNCTION_PROTOTYPE_MAP_INDEX, Map, string_function_prototype_map) \
V(SYMBOL_FUNCTION_INDEX, JSFunction, symbol_function) \
- V(NATIVE_FUNCTION_MAP_INDEX, Map, native_function_map) \
V(WASM_EXCEPTION_CONSTRUCTOR_INDEX, JSFunction, wasm_exception_constructor) \
V(WASM_GLOBAL_CONSTRUCTOR_INDEX, JSFunction, wasm_global_constructor) \
V(WASM_INSTANCE_CONSTRUCTOR_INDEX, JSFunction, wasm_instance_constructor) \
diff --git a/src/heap/factory.cc b/src/heap/factory.cc
index 309b72b..1a60327 100644
--- a/src/heap/factory.cc
+++ b/src/heap/factory.cc
@@ -2436,8 +2436,7 @@
(*map == *isolate()->sloppy_function_without_prototype_map()) ||
(*map == *isolate()->sloppy_function_with_readonly_prototype_map()) ||
(*map == *isolate()->strict_function_map()) ||
- (*map == *isolate()->strict_function_without_prototype_map()) ||
- (*map == *isolate()->native_function_map()));
+ (*map == *isolate()->strict_function_without_prototype_map()));
}
#endif