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

Side by Side Diff: src/compiler/simplified-lowering.cc

Issue 2064163002: Revert of [turbofan] Introduce a dedicated CheckBounds operator. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 6 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/opcodes.h ('k') | src/compiler/simplified-operator.h » ('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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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/simplified-lowering.h" 5 #include "src/compiler/simplified-lowering.h"
6 6
7 #include <limits> 7 #include <limits>
8 8
9 #include "src/address-map.h" 9 #include "src/address-map.h"
10 #include "src/base/bits.h" 10 #include "src/base/bits.h"
(...skipping 1522 matching lines...) Expand 10 before | Expand all | Expand 10 after
1533 flags, properties); 1533 flags, properties);
1534 node->InsertInput(jsgraph_->zone(), 0, 1534 node->InsertInput(jsgraph_->zone(), 0,
1535 jsgraph_->HeapConstant(callable.code())); 1535 jsgraph_->HeapConstant(callable.code()));
1536 node->AppendInput(jsgraph_->zone(), jsgraph_->NoContextConstant()); 1536 node->AppendInput(jsgraph_->zone(), jsgraph_->NoContextConstant());
1537 node->AppendInput(jsgraph_->zone(), jsgraph_->graph()->start()); 1537 node->AppendInput(jsgraph_->zone(), jsgraph_->graph()->start());
1538 node->AppendInput(jsgraph_->zone(), jsgraph_->graph()->start()); 1538 node->AppendInput(jsgraph_->zone(), jsgraph_->graph()->start());
1539 NodeProperties::ChangeOp(node, jsgraph_->common()->Call(desc)); 1539 NodeProperties::ChangeOp(node, jsgraph_->common()->Call(desc));
1540 } 1540 }
1541 return; 1541 return;
1542 } 1542 }
1543
1544 case IrOpcode::kCheckBounds: {
1545 VisitBinop(node, UseInfo::CheckedSigned32AsWord32(),
1546 UseInfo::TruncatingWord32(), MachineRepresentation::kWord32);
1547 return;
1548 }
1549
1550 case IrOpcode::kAllocate: { 1543 case IrOpcode::kAllocate: {
1551 ProcessInput(node, 0, UseInfo::TruncatingWord32()); 1544 ProcessInput(node, 0, UseInfo::TruncatingWord32());
1552 ProcessRemainingInputs(node, 1); 1545 ProcessRemainingInputs(node, 1);
1553 SetOutput(node, MachineRepresentation::kTagged); 1546 SetOutput(node, MachineRepresentation::kTagged);
1554 return; 1547 return;
1555 } 1548 }
1556 case IrOpcode::kLoadField: { 1549 case IrOpcode::kLoadField: {
1557 FieldAccess access = FieldAccessOf(node->op()); 1550 FieldAccess access = FieldAccessOf(node->op());
1558 ProcessInput(node, 0, UseInfoForBasePointer(access)); 1551 ProcessInput(node, 0, UseInfoForBasePointer(access));
1559 ProcessRemainingInputs(node, 1); 1552 ProcessRemainingInputs(node, 1);
(...skipping 1294 matching lines...) Expand 10 before | Expand all | Expand 10 after
2854 isolate(), graph()->zone(), callable.descriptor(), 0, flags, 2847 isolate(), graph()->zone(), callable.descriptor(), 0, flags,
2855 Operator::kNoProperties); 2848 Operator::kNoProperties);
2856 to_number_operator_.set(common()->Call(desc)); 2849 to_number_operator_.set(common()->Call(desc));
2857 } 2850 }
2858 return to_number_operator_.get(); 2851 return to_number_operator_.get();
2859 } 2852 }
2860 2853
2861 } // namespace compiler 2854 } // namespace compiler
2862 } // namespace internal 2855 } // namespace internal
2863 } // namespace v8 2856 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/opcodes.h ('k') | src/compiler/simplified-operator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698