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

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

Issue 2516413003: [wasm] Add ProtectedStore instruction (Closed)
Patch Set: Merging with master 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
« 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 1145 matching lines...) Expand 10 before | Expand all | Expand 10 after
1156 CheckTypeIs(node, Type::Number()); 1156 CheckTypeIs(node, Type::Number());
1157 break; 1157 break;
1158 case IrOpcode::kTypeGuard: 1158 case IrOpcode::kTypeGuard:
1159 CheckTypeIs(node, TypeGuardTypeOf(node->op())); 1159 CheckTypeIs(node, TypeGuardTypeOf(node->op()));
1160 break; 1160 break;
1161 1161
1162 // Machine operators 1162 // Machine operators
1163 // ----------------------- 1163 // -----------------------
1164 case IrOpcode::kLoad: 1164 case IrOpcode::kLoad:
1165 case IrOpcode::kProtectedLoad: 1165 case IrOpcode::kProtectedLoad:
1166 case IrOpcode::kProtectedStore:
1166 case IrOpcode::kStore: 1167 case IrOpcode::kStore:
1167 case IrOpcode::kStackSlot: 1168 case IrOpcode::kStackSlot:
1168 case IrOpcode::kWord32And: 1169 case IrOpcode::kWord32And:
1169 case IrOpcode::kWord32Or: 1170 case IrOpcode::kWord32Or:
1170 case IrOpcode::kWord32Xor: 1171 case IrOpcode::kWord32Xor:
1171 case IrOpcode::kWord32Shl: 1172 case IrOpcode::kWord32Shl:
1172 case IrOpcode::kWord32Shr: 1173 case IrOpcode::kWord32Shr:
1173 case IrOpcode::kWord32Sar: 1174 case IrOpcode::kWord32Sar:
1174 case IrOpcode::kWord32Ror: 1175 case IrOpcode::kWord32Ror:
1175 case IrOpcode::kWord32Equal: 1176 case IrOpcode::kWord32Equal:
(...skipping 476 matching lines...) Expand 10 before | Expand all | Expand 10 after
1652 replacement->op()->EffectOutputCount() > 0); 1653 replacement->op()->EffectOutputCount() > 0);
1653 DCHECK(!NodeProperties::IsFrameStateEdge(edge) || 1654 DCHECK(!NodeProperties::IsFrameStateEdge(edge) ||
1654 replacement->opcode() == IrOpcode::kFrameState); 1655 replacement->opcode() == IrOpcode::kFrameState);
1655 } 1656 }
1656 1657
1657 #endif // DEBUG 1658 #endif // DEBUG
1658 1659
1659 } // namespace compiler 1660 } // namespace compiler
1660 } // namespace internal 1661 } // namespace internal
1661 } // namespace v8 1662 } // 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