Index: src/compiler/js-native-context-specialization.cc |
diff --git a/src/compiler/js-native-context-specialization.cc b/src/compiler/js-native-context-specialization.cc |
index bfd8994d287c0c307b4b1c1e3e064aee12420c89..e96f4c11dd371e4589dc4a7241a85a29b8d37f13 100644 |
--- a/src/compiler/js-native-context-specialization.cc |
+++ b/src/compiler/js-native-context-specialization.cc |
@@ -1194,10 +1194,6 @@ |
jsgraph()->UndefinedConstant(), effect); |
} |
} |
- } else if (access_info.IsFunctionPrototype()) { |
- DCHECK_EQ(AccessMode::kLoad, access_mode); |
- value = effect = graph()->NewNode(simplified()->LoadFunctionPrototype(), |
- receiver, effect, control); |
} else { |
DCHECK(access_info.IsGeneric()); |
DCHECK_EQ(AccessMode::kStore, access_mode); |