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

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

Issue 1891033002: [Atomics] Remove Atomics code stubs; use TF ops (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: remove s390 code stub Created 4 years, 8 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/instruction-scheduler.cc ('k') | src/compiler/machine-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/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 1162 matching lines...) Expand 10 before | Expand all | Expand 10 after
1173 MarkAsWord32(NodeProperties::FindProjection(node, 1)); 1173 MarkAsWord32(NodeProperties::FindProjection(node, 1));
1174 return VisitWord32PairShl(node); 1174 return VisitWord32PairShl(node);
1175 case IrOpcode::kWord32PairShr: 1175 case IrOpcode::kWord32PairShr:
1176 MarkAsWord32(NodeProperties::FindProjection(node, 0)); 1176 MarkAsWord32(NodeProperties::FindProjection(node, 0));
1177 MarkAsWord32(NodeProperties::FindProjection(node, 1)); 1177 MarkAsWord32(NodeProperties::FindProjection(node, 1));
1178 return VisitWord32PairShr(node); 1178 return VisitWord32PairShr(node);
1179 case IrOpcode::kWord32PairSar: 1179 case IrOpcode::kWord32PairSar:
1180 MarkAsWord32(NodeProperties::FindProjection(node, 0)); 1180 MarkAsWord32(NodeProperties::FindProjection(node, 0));
1181 MarkAsWord32(NodeProperties::FindProjection(node, 1)); 1181 MarkAsWord32(NodeProperties::FindProjection(node, 1));
1182 return VisitWord32PairSar(node); 1182 return VisitWord32PairSar(node);
1183 case IrOpcode::kAtomicLoad: {
1184 LoadRepresentation type = LoadRepresentationOf(node->op());
1185 MarkAsRepresentation(type.representation(), node);
1186 return VisitAtomicLoad(node);
1187 }
1183 default: 1188 default:
1184 V8_Fatal(__FILE__, __LINE__, "Unexpected operator #%d:%s @ node #%d", 1189 V8_Fatal(__FILE__, __LINE__, "Unexpected operator #%d:%s @ node #%d",
1185 node->opcode(), node->op()->mnemonic(), node->id()); 1190 node->opcode(), node->op()->mnemonic(), node->id());
1186 break; 1191 break;
1187 } 1192 }
1188 } 1193 }
1189 1194
1190 1195
1191 void InstructionSelector::VisitLoadStackPointer(Node* node) { 1196 void InstructionSelector::VisitLoadStackPointer(Node* node) {
1192 OperandGenerator g(this); 1197 OperandGenerator g(this);
(...skipping 609 matching lines...) Expand 10 before | Expand all | Expand 10 after
1802 return new (instruction_zone()) FrameStateDescriptor( 1807 return new (instruction_zone()) FrameStateDescriptor(
1803 instruction_zone(), state_info.type(), state_info.bailout_id(), 1808 instruction_zone(), state_info.type(), state_info.bailout_id(),
1804 state_info.state_combine(), parameters, locals, stack, 1809 state_info.state_combine(), parameters, locals, stack,
1805 state_info.shared_info(), outer_state); 1810 state_info.shared_info(), outer_state);
1806 } 1811 }
1807 1812
1808 1813
1809 } // namespace compiler 1814 } // namespace compiler
1810 } // namespace internal 1815 } // namespace internal
1811 } // namespace v8 1816 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/instruction-scheduler.cc ('k') | src/compiler/machine-operator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698