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

Side by Side Diff: src/compiler/js-create-lowering.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 unified diff | Download patch
« no previous file with comments | « src/compiler/js-call-reducer.cc ('k') | src/compiler/js-global-object-specialization.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 the V8 project authors. All rights reserved. 1 // Copyright 2016 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/compiler/js-create-lowering.h" 5 #include "src/compiler/js-create-lowering.h"
6 6
7 #include "src/allocation-site-scopes.h" 7 #include "src/allocation-site-scopes.h"
8 #include "src/code-factory.h" 8 #include "src/code-factory.h"
9 #include "src/compilation-dependencies.h" 9 #include "src/compilation-dependencies.h"
10 #include "src/compiler/access-builder.h" 10 #include "src/compiler/access-builder.h"
(...skipping 537 matching lines...) Expand 10 before | Expand all | Expand 10 after
548 node->InsertInput(graph()->zone(), 2, jsgraph()->HeapConstant(site)); 548 node->InsertInput(graph()->zone(), 2, jsgraph()->HeapConstant(site));
549 node->InsertInput(graph()->zone(), 3, jsgraph()->Int32Constant(1)); 549 node->InsertInput(graph()->zone(), 3, jsgraph()->Int32Constant(1));
550 node->InsertInput(graph()->zone(), 4, jsgraph()->UndefinedConstant()); 550 node->InsertInput(graph()->zone(), 4, jsgraph()->UndefinedConstant());
551 NodeProperties::ChangeOp(node, common()->Call(desc)); 551 NodeProperties::ChangeOp(node, common()->Call(desc));
552 return Changed(node); 552 return Changed(node);
553 } 553 }
554 554
555 Node* effect = NodeProperties::GetEffectInput(node); 555 Node* effect = NodeProperties::GetEffectInput(node);
556 Node* control = NodeProperties::GetControlInput(node); 556 Node* control = NodeProperties::GetControlInput(node);
557 Node* length = NodeProperties::GetValueInput(node, 2); 557 Node* length = NodeProperties::GetValueInput(node, 2);
558 Node* equal = graph()->NewNode(simplified()->ReferenceEqual(Type::Any()), 558 Node* equal = graph()->NewNode(simplified()->ReferenceEqual(), length,
559 length, jsgraph()->ZeroConstant()); 559 jsgraph()->ZeroConstant());
560 560
561 Node* branch = 561 Node* branch =
562 graph()->NewNode(common()->Branch(BranchHint::kFalse), equal, control); 562 graph()->NewNode(common()->Branch(BranchHint::kFalse), equal, control);
563 Node* call_holey; 563 Node* call_holey;
564 Node* call_packed; 564 Node* call_packed;
565 Node* if_success_packed; 565 Node* if_success_packed;
566 Node* if_success_holey; 566 Node* if_success_holey;
567 Node* context = NodeProperties::GetContextInput(node); 567 Node* context = NodeProperties::GetContextInput(node);
568 Node* frame_state = NodeProperties::GetFrameStateInput(node); 568 Node* frame_state = NodeProperties::GetFrameStateInput(node);
569 Node* if_equal = graph()->NewNode(common()->IfTrue(), branch); 569 Node* if_equal = graph()->NewNode(common()->IfTrue(), branch);
(...skipping 692 matching lines...) Expand 10 before | Expand all | Expand 10 after
1262 return jsgraph()->simplified(); 1262 return jsgraph()->simplified();
1263 } 1263 }
1264 1264
1265 MachineOperatorBuilder* JSCreateLowering::machine() const { 1265 MachineOperatorBuilder* JSCreateLowering::machine() const {
1266 return jsgraph()->machine(); 1266 return jsgraph()->machine();
1267 } 1267 }
1268 1268
1269 } // namespace compiler 1269 } // namespace compiler
1270 } // namespace internal 1270 } // namespace internal
1271 } // namespace v8 1271 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/js-call-reducer.cc ('k') | src/compiler/js-global-object-specialization.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698