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

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

Issue 2221043002: [turbofan] Remove unused Type parameter from ReferenceEqual. (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-global-object-specialization.cc ('k') | src/compiler/js-typed-lowering.cc » ('j') | 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 061f1642bef674731c747d6447c0104b23cfc834..f7b044785f28dd5c92f9212c791dd8b376538115 100644
--- a/src/compiler/js-native-context-specialization.cc
+++ b/src/compiler/js-native-context-specialization.cc
@@ -148,8 +148,8 @@ Reduction JSNativeContextSpecialization::ReduceNamedAccess(
// Ensure that {index} matches the specified {name} (if {index} is given).
if (index != nullptr) {
- Node* check = graph()->NewNode(simplified()->ReferenceEqual(Type::Name()),
- index, jsgraph()->HeapConstant(name));
+ Node* check = graph()->NewNode(simplified()->ReferenceEqual(), index,
+ jsgraph()->HeapConstant(name));
effect = graph()->NewNode(simplified()->CheckIf(), check, effect, control);
}
@@ -233,8 +233,8 @@ Reduction JSNativeContextSpecialization::ReduceNamedAccess(
for (auto map : receiver_maps) {
DCHECK_LT(0u, num_classes);
Node* check =
- graph()->NewNode(simplified()->ReferenceEqual(Type::Internal()),
- receiver_map, jsgraph()->Constant(map));
+ graph()->NewNode(simplified()->ReferenceEqual(), receiver_map,
+ jsgraph()->Constant(map));
if (--num_classes == 0 && j == access_infos.size() - 1) {
check = graph()->NewNode(simplified()->CheckIf(), check,
this_effect, fallthrough_control);
@@ -531,8 +531,8 @@ Reduction JSNativeContextSpecialization::ReduceElementAccess(
for (Handle<Map> map : receiver_maps) {
DCHECK_LT(0u, num_classes);
Node* check =
- graph()->NewNode(simplified()->ReferenceEqual(Type::Any()),
- receiver_map, jsgraph()->Constant(map));
+ graph()->NewNode(simplified()->ReferenceEqual(), receiver_map,
+ jsgraph()->Constant(map));
if (--num_classes == 0 && j == access_infos.size() - 1) {
// Last map check on the fallthrough control path, do a conditional
// eager deoptimization exit here.
@@ -753,8 +753,8 @@ JSNativeContextSpecialization::BuildPropertyAccess(
} else if (access_info.IsDataConstant()) {
value = jsgraph()->Constant(access_info.constant());
if (access_mode == AccessMode::kStore) {
- Node* check = graph()->NewNode(
- simplified()->ReferenceEqual(Type::Tagged()), value, value);
+ Node* check =
+ graph()->NewNode(simplified()->ReferenceEqual(), value, value);
effect =
graph()->NewNode(simplified()->CheckIf(), check, effect, control);
}
« no previous file with comments | « src/compiler/js-global-object-specialization.cc ('k') | src/compiler/js-typed-lowering.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698