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

Unified Diff: test/cctest/ast-types-fuzz.h

Issue 2684313003: Remove SIMD.js from V8. (Closed)
Patch Set: Rebase. Created 3 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/cctest/BUILD.gn ('k') | test/cctest/cctest.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/ast-types-fuzz.h
diff --git a/test/cctest/ast-types-fuzz.h b/test/cctest/ast-types-fuzz.h
index ba6286d54a3fabd3c4918e3eaa3a43b79ef2d396..c156ec5c75a423b9b3060ad7d4e851369222ed66 100644
--- a/test/cctest/ast-types-fuzz.h
+++ b/test/cctest/ast-types-fuzz.h
@@ -116,6 +116,7 @@ class AstTypes {
for (int i = 0; i < 30; ++i) {
types.push_back(Fuzz());
}
+ USE(isolate_); // Currently unused.
}
Handle<i::Map> object_map;
@@ -287,19 +288,6 @@ class AstTypes {
}
return type;
}
- case 8: { // simd
- static const int num_simd_types =
-#define COUNT_SIMD_TYPE(NAME, Name, name, lane_count, lane_type) +1
- SIMD128_TYPES(COUNT_SIMD_TYPE);
-#undef COUNT_SIMD_TYPE
- AstType* (*simd_constructors[num_simd_types])(Isolate*, Zone*) = {
-#define COUNT_SIMD_TYPE(NAME, Name, name, lane_count, lane_type) &AstType::Name,
- SIMD128_TYPES(COUNT_SIMD_TYPE)
-#undef COUNT_SIMD_TYPE
- };
- return simd_constructors[rng_->NextInt(num_simd_types)](isolate_,
- zone_);
- }
default: { // union
int n = rng_->NextInt(10);
AstType* type = None;
« no previous file with comments | « test/cctest/BUILD.gn ('k') | test/cctest/cctest.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698