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

Side by Side Diff: src/compiler/verifier.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/compiler/opcodes.h ('k') | src/compiler/wasm-compiler.cc » ('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/verifier.h" 5 #include "src/compiler/verifier.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <deque> 8 #include <deque>
9 #include <queue> 9 #include <queue>
10 #include <sstream> 10 #include <sstream>
(...skipping 1076 matching lines...) Expand 10 before | Expand all | Expand 10 after
1087 CheckValueInputIs(node, 0, Type::Number()); 1087 CheckValueInputIs(node, 0, Type::Number());
1088 CheckTypeIs(node, Type::Number()); 1088 CheckTypeIs(node, Type::Number());
1089 break; 1089 break;
1090 case IrOpcode::kTypeGuard: 1090 case IrOpcode::kTypeGuard:
1091 CheckTypeIs(node, TypeGuardTypeOf(node->op())); 1091 CheckTypeIs(node, TypeGuardTypeOf(node->op()));
1092 break; 1092 break;
1093 1093
1094 // Machine operators 1094 // Machine operators
1095 // ----------------------- 1095 // -----------------------
1096 case IrOpcode::kLoad: 1096 case IrOpcode::kLoad:
1097 case IrOpcode::kTrapableLoad:
1097 case IrOpcode::kStore: 1098 case IrOpcode::kStore:
1098 case IrOpcode::kStackSlot: 1099 case IrOpcode::kStackSlot:
1099 case IrOpcode::kWord32And: 1100 case IrOpcode::kWord32And:
1100 case IrOpcode::kWord32Or: 1101 case IrOpcode::kWord32Or:
1101 case IrOpcode::kWord32Xor: 1102 case IrOpcode::kWord32Xor:
1102 case IrOpcode::kWord32Shl: 1103 case IrOpcode::kWord32Shl:
1103 case IrOpcode::kWord32Shr: 1104 case IrOpcode::kWord32Shr:
1104 case IrOpcode::kWord32Sar: 1105 case IrOpcode::kWord32Sar:
1105 case IrOpcode::kWord32Ror: 1106 case IrOpcode::kWord32Ror:
1106 case IrOpcode::kWord32Equal: 1107 case IrOpcode::kWord32Equal:
(...skipping 474 matching lines...) Expand 10 before | Expand all | Expand 10 after
1581 replacement->op()->EffectOutputCount() > 0); 1582 replacement->op()->EffectOutputCount() > 0);
1582 DCHECK(!NodeProperties::IsFrameStateEdge(edge) || 1583 DCHECK(!NodeProperties::IsFrameStateEdge(edge) ||
1583 replacement->opcode() == IrOpcode::kFrameState); 1584 replacement->opcode() == IrOpcode::kFrameState);
1584 } 1585 }
1585 1586
1586 #endif // DEBUG 1587 #endif // DEBUG
1587 1588
1588 } // namespace compiler 1589 } // namespace compiler
1589 } // namespace internal 1590 } // namespace internal
1590 } // namespace v8 1591 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/opcodes.h ('k') | src/compiler/wasm-compiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698