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

Side by Side Diff: src/compiler/instruction-selector.cc

Issue 1124813005: WIP Atomics (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fix AtomicsLoad type in typer.cc Created 5 years, 7 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/bootstrapper.cc ('k') | src/compiler/js-builtin-reducer.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/instruction-selector.h" 5 #include "src/compiler/instruction-selector.h"
6 6
7 #include <limits> 7 #include <limits>
8 8
9 #include "src/base/adapters.h" 9 #include "src/base/adapters.h"
10 #include "src/compiler/instruction-selector-impl.h" 10 #include "src/compiler/instruction-selector-impl.h"
(...skipping 575 matching lines...) Expand 10 before | Expand all | Expand 10 after
586 case IrOpcode::kCall: 586 case IrOpcode::kCall:
587 return VisitCall(node); 587 return VisitCall(node);
588 case IrOpcode::kFrameState: 588 case IrOpcode::kFrameState:
589 case IrOpcode::kStateValues: 589 case IrOpcode::kStateValues:
590 return; 590 return;
591 case IrOpcode::kLoad: { 591 case IrOpcode::kLoad: {
592 LoadRepresentation rep = OpParameter<LoadRepresentation>(node); 592 LoadRepresentation rep = OpParameter<LoadRepresentation>(node);
593 MarkAsRepresentation(rep, node); 593 MarkAsRepresentation(rep, node);
594 return VisitLoad(node); 594 return VisitLoad(node);
595 } 595 }
596 case IrOpcode::kLoadAtomic: {
597 LoadRepresentation rep = OpParameter<LoadRepresentation>(node);
598 MarkAsRepresentation(rep, node);
599 return VisitLoadAtomic(node);
600 }
596 case IrOpcode::kStore: 601 case IrOpcode::kStore:
597 return VisitStore(node); 602 return VisitStore(node);
598 case IrOpcode::kWord32And: 603 case IrOpcode::kWord32And:
599 return MarkAsWord32(node), VisitWord32And(node); 604 return MarkAsWord32(node), VisitWord32And(node);
600 case IrOpcode::kWord32Or: 605 case IrOpcode::kWord32Or:
601 return MarkAsWord32(node), VisitWord32Or(node); 606 return MarkAsWord32(node), VisitWord32Or(node);
602 case IrOpcode::kWord32Xor: 607 case IrOpcode::kWord32Xor:
603 return MarkAsWord32(node), VisitWord32Xor(node); 608 return MarkAsWord32(node), VisitWord32Xor(node);
604 case IrOpcode::kWord32Shl: 609 case IrOpcode::kWord32Shl:
605 return MarkAsWord32(node), VisitWord32Shl(node); 610 return MarkAsWord32(node), VisitWord32Shl(node);
(...skipping 541 matching lines...) Expand 10 before | Expand all | Expand 10 after
1147 MachineOperatorBuilder::Flags 1152 MachineOperatorBuilder::Flags
1148 InstructionSelector::SupportedMachineOperatorFlags() { 1153 InstructionSelector::SupportedMachineOperatorFlags() {
1149 return MachineOperatorBuilder::Flag::kNoFlags; 1154 return MachineOperatorBuilder::Flag::kNoFlags;
1150 } 1155 }
1151 1156
1152 #endif // !V8_TURBOFAN_BACKEND 1157 #endif // !V8_TURBOFAN_BACKEND
1153 1158
1154 } // namespace compiler 1159 } // namespace compiler
1155 } // namespace internal 1160 } // namespace internal
1156 } // namespace v8 1161 } // namespace v8
OLDNEW
« no previous file with comments | « src/bootstrapper.cc ('k') | src/compiler/js-builtin-reducer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698