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

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

Issue 2045943002: [compiler] [wasm] Introduce Word32/64ReverseBytes as TF Optional Opcode (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix according to titzer Created 4 years, 4 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/typer.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 1061 matching lines...) Expand 10 before | Expand all | Expand 10 after
1072 case IrOpcode::kWord32Or: 1072 case IrOpcode::kWord32Or:
1073 case IrOpcode::kWord32Xor: 1073 case IrOpcode::kWord32Xor:
1074 case IrOpcode::kWord32Shl: 1074 case IrOpcode::kWord32Shl:
1075 case IrOpcode::kWord32Shr: 1075 case IrOpcode::kWord32Shr:
1076 case IrOpcode::kWord32Sar: 1076 case IrOpcode::kWord32Sar:
1077 case IrOpcode::kWord32Ror: 1077 case IrOpcode::kWord32Ror:
1078 case IrOpcode::kWord32Equal: 1078 case IrOpcode::kWord32Equal:
1079 case IrOpcode::kWord32Clz: 1079 case IrOpcode::kWord32Clz:
1080 case IrOpcode::kWord32Ctz: 1080 case IrOpcode::kWord32Ctz:
1081 case IrOpcode::kWord32ReverseBits: 1081 case IrOpcode::kWord32ReverseBits:
1082 case IrOpcode::kWord32ReverseBytes:
1082 case IrOpcode::kWord32Popcnt: 1083 case IrOpcode::kWord32Popcnt:
1083 case IrOpcode::kWord64And: 1084 case IrOpcode::kWord64And:
1084 case IrOpcode::kWord64Or: 1085 case IrOpcode::kWord64Or:
1085 case IrOpcode::kWord64Xor: 1086 case IrOpcode::kWord64Xor:
1086 case IrOpcode::kWord64Shl: 1087 case IrOpcode::kWord64Shl:
1087 case IrOpcode::kWord64Shr: 1088 case IrOpcode::kWord64Shr:
1088 case IrOpcode::kWord64Sar: 1089 case IrOpcode::kWord64Sar:
1089 case IrOpcode::kWord64Ror: 1090 case IrOpcode::kWord64Ror:
1090 case IrOpcode::kWord64Clz: 1091 case IrOpcode::kWord64Clz:
1091 case IrOpcode::kWord64Popcnt: 1092 case IrOpcode::kWord64Popcnt:
1092 case IrOpcode::kWord64Ctz: 1093 case IrOpcode::kWord64Ctz:
1093 case IrOpcode::kWord64ReverseBits: 1094 case IrOpcode::kWord64ReverseBits:
1095 case IrOpcode::kWord64ReverseBytes:
1094 case IrOpcode::kWord64Equal: 1096 case IrOpcode::kWord64Equal:
1095 case IrOpcode::kInt32Add: 1097 case IrOpcode::kInt32Add:
1096 case IrOpcode::kInt32AddWithOverflow: 1098 case IrOpcode::kInt32AddWithOverflow:
1097 case IrOpcode::kInt32Sub: 1099 case IrOpcode::kInt32Sub:
1098 case IrOpcode::kInt32SubWithOverflow: 1100 case IrOpcode::kInt32SubWithOverflow:
1099 case IrOpcode::kInt32Mul: 1101 case IrOpcode::kInt32Mul:
1100 case IrOpcode::kInt32MulWithOverflow: 1102 case IrOpcode::kInt32MulWithOverflow:
1101 case IrOpcode::kInt32MulHigh: 1103 case IrOpcode::kInt32MulHigh:
1102 case IrOpcode::kInt32Div: 1104 case IrOpcode::kInt32Div:
1103 case IrOpcode::kInt32Mod: 1105 case IrOpcode::kInt32Mod:
(...skipping 448 matching lines...) Expand 10 before | Expand all | Expand 10 after
1552 replacement->op()->EffectOutputCount() > 0); 1554 replacement->op()->EffectOutputCount() > 0);
1553 DCHECK(!NodeProperties::IsFrameStateEdge(edge) || 1555 DCHECK(!NodeProperties::IsFrameStateEdge(edge) ||
1554 replacement->opcode() == IrOpcode::kFrameState); 1556 replacement->opcode() == IrOpcode::kFrameState);
1555 } 1557 }
1556 1558
1557 #endif // DEBUG 1559 #endif // DEBUG
1558 1560
1559 } // namespace compiler 1561 } // namespace compiler
1560 } // namespace internal 1562 } // namespace internal
1561 } // namespace v8 1563 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/typer.cc ('k') | src/compiler/wasm-compiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698