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

Side by Side Diff: src/wasm/function-body-decoder-impl.h

Issue 2919203002: [WASM] Eliminate SIMD boolean vector types. (Closed)
Patch Set: Restore DCHECKs in AssembleMove/Swap now that we're back to 1 SIMD representation. Created 3 years, 6 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/wasm/function-body-decoder.cc ('k') | src/wasm/module-decoder.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 2017 the V8 project authors. All rights reserved. 1 // Copyright 2017 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 #ifndef V8_WASM_FUNCTION_BODY_DECODER_IMPL_H_ 5 #ifndef V8_WASM_FUNCTION_BODY_DECODER_IMPL_H_
6 #define V8_WASM_FUNCTION_BODY_DECODER_IMPL_H_ 6 #define V8_WASM_FUNCTION_BODY_DECODER_IMPL_H_
7 7
8 #include "src/wasm/decoder.h" 8 #include "src/wasm/decoder.h"
9 #include "src/wasm/wasm-opcodes.h" 9 #include "src/wasm/wasm-opcodes.h"
10 10
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 return true; 145 return true;
146 case kLocalF32: 146 case kLocalF32:
147 *result = kWasmF32; 147 *result = kWasmF32;
148 return true; 148 return true;
149 case kLocalF64: 149 case kLocalF64:
150 *result = kWasmF64; 150 *result = kWasmF64;
151 return true; 151 return true;
152 case kLocalS128: 152 case kLocalS128:
153 *result = kWasmS128; 153 *result = kWasmS128;
154 return true; 154 return true;
155 case kLocalS1x4:
156 *result = kWasmS1x4;
157 return true;
158 case kLocalS1x8:
159 *result = kWasmS1x8;
160 return true;
161 case kLocalS1x16:
162 *result = kWasmS1x16;
163 return true;
164 default: 155 default:
165 *result = kWasmStmt; 156 *result = kWasmStmt;
166 return false; 157 return false;
167 } 158 }
168 } 159 }
169 ValueType read_entry(unsigned index) { 160 ValueType read_entry(unsigned index) {
170 DCHECK_LT(index, arity); 161 DCHECK_LT(index, arity);
171 ValueType result; 162 ValueType result;
172 CHECK(decode_local_type(types[index], &result)); 163 CHECK(decode_local_type(types[index], &result));
173 return result; 164 return result;
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
336 } 327 }
337 }; 328 };
338 329
339 #undef CHECKED_COND 330 #undef CHECKED_COND
340 331
341 } // namespace wasm 332 } // namespace wasm
342 } // namespace internal 333 } // namespace internal
343 } // namespace v8 334 } // namespace v8
344 335
345 #endif // V8_WASM_FUNCTION_BODY_DECODER_IMPL_H_ 336 #endif // V8_WASM_FUNCTION_BODY_DECODER_IMPL_H_
OLDNEW
« no previous file with comments | « src/wasm/function-body-decoder.cc ('k') | src/wasm/module-decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698