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

Side by Side Diff: src/compiler/verifier.cc

Issue 2301833004: [wasm] Trap handling: ProtectedLoad instruction (Closed)
Patch Set: Add VisitProtectedLoad stubs for other architectures Created 4 years, 3 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/s390/instruction-selector-s390.cc ('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 1081 matching lines...) Expand 10 before | Expand all | Expand 10 after
1092 CheckValueInputIs(node, 0, Type::Number()); 1092 CheckValueInputIs(node, 0, Type::Number());
1093 CheckTypeIs(node, Type::Number()); 1093 CheckTypeIs(node, Type::Number());
1094 break; 1094 break;
1095 case IrOpcode::kTypeGuard: 1095 case IrOpcode::kTypeGuard:
1096 CheckTypeIs(node, TypeGuardTypeOf(node->op())); 1096 CheckTypeIs(node, TypeGuardTypeOf(node->op()));
1097 break; 1097 break;
1098 1098
1099 // Machine operators 1099 // Machine operators
1100 // ----------------------- 1100 // -----------------------
1101 case IrOpcode::kLoad: 1101 case IrOpcode::kLoad:
1102 case IrOpcode::kProtectedLoad:
1102 case IrOpcode::kStore: 1103 case IrOpcode::kStore:
1103 case IrOpcode::kStackSlot: 1104 case IrOpcode::kStackSlot:
1104 case IrOpcode::kWord32And: 1105 case IrOpcode::kWord32And:
1105 case IrOpcode::kWord32Or: 1106 case IrOpcode::kWord32Or:
1106 case IrOpcode::kWord32Xor: 1107 case IrOpcode::kWord32Xor:
1107 case IrOpcode::kWord32Shl: 1108 case IrOpcode::kWord32Shl:
1108 case IrOpcode::kWord32Shr: 1109 case IrOpcode::kWord32Shr:
1109 case IrOpcode::kWord32Sar: 1110 case IrOpcode::kWord32Sar:
1110 case IrOpcode::kWord32Ror: 1111 case IrOpcode::kWord32Ror:
1111 case IrOpcode::kWord32Equal: 1112 case IrOpcode::kWord32Equal:
(...skipping 474 matching lines...) Expand 10 before | Expand all | Expand 10 after
1586 replacement->op()->EffectOutputCount() > 0); 1587 replacement->op()->EffectOutputCount() > 0);
1587 DCHECK(!NodeProperties::IsFrameStateEdge(edge) || 1588 DCHECK(!NodeProperties::IsFrameStateEdge(edge) ||
1588 replacement->opcode() == IrOpcode::kFrameState); 1589 replacement->opcode() == IrOpcode::kFrameState);
1589 } 1590 }
1590 1591
1591 #endif // DEBUG 1592 #endif // DEBUG
1592 1593
1593 } // namespace compiler 1594 } // namespace compiler
1594 } // namespace internal 1595 } // namespace internal
1595 } // namespace v8 1596 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/s390/instruction-selector-s390.cc ('k') | src/compiler/wasm-compiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698