Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(106)

Unified Diff: src/compiler/js-native-context-specialization.cc

Issue 2255973004: [turbofan] Give different functions different names. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/compiler/js-native-context-specialization.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 6293c49ad359e901e2868e91fbb5696bc30c4a1a..b501b7ac2505223f1ec8327602010e7a24b9660a 100644
--- a/src/compiler/js-native-context-specialization.cc
+++ b/src/compiler/js-native-context-specialization.cc
@@ -319,7 +319,7 @@ Reduction JSNativeContextSpecialization::ReduceNamedAccess(
return Replace(value);
}
-Reduction JSNativeContextSpecialization::ReduceNamedAccess(
+Reduction JSNativeContextSpecialization::ReduceNamedAccessFromNexus(
Node* node, Node* value, FeedbackNexus const& nexus, Handle<Name> name,
AccessMode access_mode, LanguageMode language_mode) {
DCHECK(node->opcode() == IrOpcode::kJSLoadNamed ||
@@ -393,8 +393,8 @@ Reduction JSNativeContextSpecialization::ReduceJSLoadNamed(Node* node) {
LoadICNexus nexus(p.feedback().vector(), p.feedback().slot());
// Try to lower the named access based on the {receiver_maps}.
- return ReduceNamedAccess(node, value, nexus, p.name(), AccessMode::kLoad,
- p.language_mode());
+ return ReduceNamedAccessFromNexus(node, value, nexus, p.name(),
+ AccessMode::kLoad, p.language_mode());
}
@@ -408,8 +408,8 @@ Reduction JSNativeContextSpecialization::ReduceJSStoreNamed(Node* node) {
StoreICNexus nexus(p.feedback().vector(), p.feedback().slot());
// Try to lower the named access based on the {receiver_maps}.
- return ReduceNamedAccess(node, value, nexus, p.name(), AccessMode::kStore,
- p.language_mode());
+ return ReduceNamedAccessFromNexus(node, value, nexus, p.name(),
+ AccessMode::kStore, p.language_mode());
}
« no previous file with comments | « src/compiler/js-native-context-specialization.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698