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

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

Issue 2516413003: [wasm] Add ProtectedStore instruction (Closed)
Patch Set: Formatting Created 4 years 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
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 1123 matching lines...) Expand 10 before | Expand all | Expand 10 after
1134 CheckTypeIs(node, Type::Number()); 1134 CheckTypeIs(node, Type::Number());
1135 break; 1135 break;
1136 case IrOpcode::kTypeGuard: 1136 case IrOpcode::kTypeGuard:
1137 CheckTypeIs(node, TypeGuardTypeOf(node->op())); 1137 CheckTypeIs(node, TypeGuardTypeOf(node->op()));
1138 break; 1138 break;
1139 1139
1140 // Machine operators 1140 // Machine operators
1141 // ----------------------- 1141 // -----------------------
1142 case IrOpcode::kLoad: 1142 case IrOpcode::kLoad:
1143 case IrOpcode::kProtectedLoad: 1143 case IrOpcode::kProtectedLoad:
1144 case IrOpcode::kProtectedStore:
1144 case IrOpcode::kStore: 1145 case IrOpcode::kStore:
1145 case IrOpcode::kStackSlot: 1146 case IrOpcode::kStackSlot:
1146 case IrOpcode::kWord32And: 1147 case IrOpcode::kWord32And:
1147 case IrOpcode::kWord32Or: 1148 case IrOpcode::kWord32Or:
1148 case IrOpcode::kWord32Xor: 1149 case IrOpcode::kWord32Xor:
1149 case IrOpcode::kWord32Shl: 1150 case IrOpcode::kWord32Shl:
1150 case IrOpcode::kWord32Shr: 1151 case IrOpcode::kWord32Shr:
1151 case IrOpcode::kWord32Sar: 1152 case IrOpcode::kWord32Sar:
1152 case IrOpcode::kWord32Ror: 1153 case IrOpcode::kWord32Ror:
1153 case IrOpcode::kWord32Equal: 1154 case IrOpcode::kWord32Equal:
(...skipping 476 matching lines...) Expand 10 before | Expand all | Expand 10 after
1630 replacement->op()->EffectOutputCount() > 0); 1631 replacement->op()->EffectOutputCount() > 0);
1631 DCHECK(!NodeProperties::IsFrameStateEdge(edge) || 1632 DCHECK(!NodeProperties::IsFrameStateEdge(edge) ||
1632 replacement->opcode() == IrOpcode::kFrameState); 1633 replacement->opcode() == IrOpcode::kFrameState);
1633 } 1634 }
1634 1635
1635 #endif // DEBUG 1636 #endif // DEBUG
1636 1637
1637 } // namespace compiler 1638 } // namespace compiler
1638 } // namespace internal 1639 } // namespace internal
1639 } // namespace v8 1640 } // namespace v8
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698