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

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

Issue 2080113002: [turbofan] Introduce CheckUnless. (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 1174 matching lines...) Expand 10 before | Expand all | Expand 10 after
1185 return VisitLeaf(node, MachineRepresentation::kFloat32); 1185 return VisitLeaf(node, MachineRepresentation::kFloat32);
1186 case IrOpcode::kFloat64Constant: 1186 case IrOpcode::kFloat64Constant:
1187 return VisitLeaf(node, MachineRepresentation::kFloat64); 1187 return VisitLeaf(node, MachineRepresentation::kFloat64);
1188 case IrOpcode::kExternalConstant: 1188 case IrOpcode::kExternalConstant:
1189 return VisitLeaf(node, MachineType::PointerRepresentation()); 1189 return VisitLeaf(node, MachineType::PointerRepresentation());
1190 case IrOpcode::kNumberConstant: 1190 case IrOpcode::kNumberConstant:
1191 return VisitLeaf(node, MachineRepresentation::kTagged); 1191 return VisitLeaf(node, MachineRepresentation::kTagged);
1192 case IrOpcode::kHeapConstant: 1192 case IrOpcode::kHeapConstant:
1193 return VisitLeaf(node, MachineRepresentation::kTagged); 1193 return VisitLeaf(node, MachineRepresentation::kTagged);
1194 1194
1195 case IrOpcode::kCheckIf:
1196 case IrOpcode::kCheckUnless:
1197 ProcessInput(node, 0, UseInfo::Bool());
1198 ProcessRemainingInputs(node, 1);
1199 return;
1195 case IrOpcode::kDeoptimizeIf: 1200 case IrOpcode::kDeoptimizeIf:
1196 case IrOpcode::kDeoptimizeUnless: 1201 case IrOpcode::kDeoptimizeUnless:
1197 ProcessInput(node, 0, UseInfo::Bool()); 1202 ProcessInput(node, 0, UseInfo::Bool());
1198 ProcessInput(node, 1, UseInfo::AnyTagged()); 1203 ProcessInput(node, 1, UseInfo::AnyTagged());
1199 ProcessRemainingInputs(node, 2); 1204 ProcessRemainingInputs(node, 2);
1200 return; 1205 return;
1201 case IrOpcode::kBranch: 1206 case IrOpcode::kBranch:
1202 ProcessInput(node, 0, UseInfo::Bool()); 1207 ProcessInput(node, 0, UseInfo::Bool());
1203 EnqueueInput(node, NodeProperties::FirstControlIndex(node)); 1208 EnqueueInput(node, NodeProperties::FirstControlIndex(node));
1204 return; 1209 return;
(...skipping 1823 matching lines...) Expand 10 before | Expand all | Expand 10 after
3028 isolate(), graph()->zone(), callable.descriptor(), 0, flags, 3033 isolate(), graph()->zone(), callable.descriptor(), 0, flags,
3029 Operator::kNoProperties); 3034 Operator::kNoProperties);
3030 to_number_operator_.set(common()->Call(desc)); 3035 to_number_operator_.set(common()->Call(desc));
3031 } 3036 }
3032 return to_number_operator_.get(); 3037 return to_number_operator_.get();
3033 } 3038 }
3034 3039
3035 } // namespace compiler 3040 } // namespace compiler
3036 } // namespace internal 3041 } // namespace internal
3037 } // namespace v8 3042 } // 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