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

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

Issue 2196653002: [turbofan] Introduce a dedicated CheckMaps simplified operator. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@TurboFan_JSNativeContextSpecialization_NonElementKeyedAccess
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
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 2208 matching lines...) Expand 10 before | Expand all | Expand 10 after
2219 ProcessRemainingInputs(node, 1); 2219 ProcessRemainingInputs(node, 1);
2220 SetOutput(node, MachineRepresentation::kWord32); 2220 SetOutput(node, MachineRepresentation::kWord32);
2221 if (lower()) DeferReplacement(node, node->InputAt(0)); 2221 if (lower()) DeferReplacement(node, node->InputAt(0));
2222 } else { 2222 } else {
2223 ProcessInput(node, 0, UseInfo::AnyTagged()); 2223 ProcessInput(node, 0, UseInfo::AnyTagged());
2224 ProcessRemainingInputs(node, 1); 2224 ProcessRemainingInputs(node, 1);
2225 SetOutput(node, MachineRepresentation::kTagged); 2225 SetOutput(node, MachineRepresentation::kTagged);
2226 } 2226 }
2227 return; 2227 return;
2228 } 2228 }
2229 case IrOpcode::kCheckMaps:
2229 case IrOpcode::kTransitionElementsKind: { 2230 case IrOpcode::kTransitionElementsKind: {
2230 VisitInputs(node); 2231 VisitInputs(node);
2231 return SetOutput(node, MachineRepresentation::kNone); 2232 return SetOutput(node, MachineRepresentation::kNone);
2232 } 2233 }
2233 2234
2234 //------------------------------------------------------------------ 2235 //------------------------------------------------------------------
2235 // Machine-level operators. 2236 // Machine-level operators.
2236 //------------------------------------------------------------------ 2237 //------------------------------------------------------------------
2237 case IrOpcode::kLoad: { 2238 case IrOpcode::kLoad: {
2238 // TODO(jarin) Eventually, we should get rid of all machine stores 2239 // TODO(jarin) Eventually, we should get rid of all machine stores
(...skipping 1274 matching lines...) Expand 10 before | Expand all | Expand 10 after
3513 isolate(), graph()->zone(), callable.descriptor(), 0, flags, 3514 isolate(), graph()->zone(), callable.descriptor(), 0, flags,
3514 Operator::kNoProperties); 3515 Operator::kNoProperties);
3515 to_number_operator_.set(common()->Call(desc)); 3516 to_number_operator_.set(common()->Call(desc));
3516 } 3517 }
3517 return to_number_operator_.get(); 3518 return to_number_operator_.get();
3518 } 3519 }
3519 3520
3520 } // namespace compiler 3521 } // namespace compiler
3521 } // namespace internal 3522 } // namespace internal
3522 } // namespace v8 3523 } // namespace v8
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698