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

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

Issue 2148743004: WIP: wasm oob trap handling experiments (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Undoing spurious changes Created 3 years, 11 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/assembler.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 1273 matching lines...) Expand 10 before | Expand all | Expand 10 after
1284 MarkAsWord32(NodeProperties::FindProjection(node, 0)); 1284 MarkAsWord32(NodeProperties::FindProjection(node, 0));
1285 MarkAsWord32(NodeProperties::FindProjection(node, 1)); 1285 MarkAsWord32(NodeProperties::FindProjection(node, 1));
1286 return VisitWord32PairSar(node); 1286 return VisitWord32PairSar(node);
1287 case IrOpcode::kAtomicLoad: { 1287 case IrOpcode::kAtomicLoad: {
1288 LoadRepresentation type = LoadRepresentationOf(node->op()); 1288 LoadRepresentation type = LoadRepresentationOf(node->op());
1289 MarkAsRepresentation(type.representation(), node); 1289 MarkAsRepresentation(type.representation(), node);
1290 return VisitAtomicLoad(node); 1290 return VisitAtomicLoad(node);
1291 } 1291 }
1292 case IrOpcode::kAtomicStore: 1292 case IrOpcode::kAtomicStore:
1293 return VisitAtomicStore(node); 1293 return VisitAtomicStore(node);
1294 case IrOpcode::kTrapableLoad:
1295 return VisitTrapableLoad(node);
1294 case IrOpcode::kUnsafePointerAdd: 1296 case IrOpcode::kUnsafePointerAdd:
1295 MarkAsRepresentation(MachineType::PointerRepresentation(), node); 1297 MarkAsRepresentation(MachineType::PointerRepresentation(), node);
1296 return VisitUnsafePointerAdd(node); 1298 return VisitUnsafePointerAdd(node);
1297 case IrOpcode::kCreateInt32x4: 1299 case IrOpcode::kCreateInt32x4:
1298 return MarkAsSimd128(node), VisitCreateInt32x4(node); 1300 return MarkAsSimd128(node), VisitCreateInt32x4(node);
1299 case IrOpcode::kInt32x4ExtractLane: 1301 case IrOpcode::kInt32x4ExtractLane:
1300 return MarkAsWord32(node), VisitInt32x4ExtractLane(node); 1302 return MarkAsWord32(node), VisitInt32x4ExtractLane(node);
1301 default: 1303 default:
1302 V8_Fatal(__FILE__, __LINE__, "Unexpected operator #%d:%s @ node #%d", 1304 V8_Fatal(__FILE__, __LINE__, "Unexpected operator #%d:%s @ node #%d",
1303 node->opcode(), node->op()->mnemonic(), node->id()); 1305 node->opcode(), node->op()->mnemonic(), node->id());
(...skipping 726 matching lines...) Expand 10 before | Expand all | Expand 10 after
2030 return new (instruction_zone()) FrameStateDescriptor( 2032 return new (instruction_zone()) FrameStateDescriptor(
2031 instruction_zone(), state_info.type(), state_info.bailout_id(), 2033 instruction_zone(), state_info.type(), state_info.bailout_id(),
2032 state_info.state_combine(), parameters, locals, stack, 2034 state_info.state_combine(), parameters, locals, stack,
2033 state_info.shared_info(), outer_state); 2035 state_info.shared_info(), outer_state);
2034 } 2036 }
2035 2037
2036 2038
2037 } // namespace compiler 2039 } // namespace compiler
2038 } // namespace internal 2040 } // namespace internal
2039 } // namespace v8 2041 } // namespace v8
OLDNEW
« no previous file with comments | « src/assembler.cc ('k') | src/compiler/machine-operator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698