Commit f8771dac authored by Michael Starzinger's avatar Michael Starzinger Committed by Commit Bot

[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/+/1617246Reviewed-by: 's avatarJakob Kummerow <jkummerow@chromium.org>
Commit-Queue: Michael Starzinger <mstarzinger@chromium.org>
Cr-Commit-Position: refs/heads/master@{#61612}
parent 429ee454
......@@ -300,7 +300,6 @@ enum ContextLookupFlags {
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) \
......
......@@ -2436,8 +2436,7 @@ Handle<JSFunction> Factory::NewFunction(const NewFunctionArgs& args) {
(*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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment