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

Unified Diff: src/ic/handler-compiler.cc

Issue 1250733005: SIMD.js Add the other SIMD Phase 1 types. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Don't run downloaded SIMD value type tests. Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/ia32/lithium-codegen-ia32.cc ('k') | src/ic/ic-inl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ic/handler-compiler.cc
diff --git a/src/ic/handler-compiler.cc b/src/ic/handler-compiler.cc
index c7220afe1a4611e0a73b0d6b1cd97722f85b1f88..c37df961d6446a508ee15416666beb3dddbce97b 100644
--- a/src/ic/handler-compiler.cc
+++ b/src/ic/handler-compiler.cc
@@ -109,6 +109,18 @@ Register NamedLoadHandlerCompiler::FrontendHeader(Register object_reg,
function_index = Context::NUMBER_FUNCTION_INDEX;
} else if (map()->instance_type() == FLOAT32X4_TYPE) {
function_index = Context::FLOAT32X4_FUNCTION_INDEX;
+ } else if (map()->instance_type() == INT32X4_TYPE) {
+ function_index = Context::INT32X4_FUNCTION_INDEX;
+ } else if (map()->instance_type() == BOOL32X4_TYPE) {
+ function_index = Context::BOOL32X4_FUNCTION_INDEX;
+ } else if (map()->instance_type() == INT16X8_TYPE) {
+ function_index = Context::INT16X8_FUNCTION_INDEX;
+ } else if (map()->instance_type() == BOOL16X8_TYPE) {
+ function_index = Context::BOOL16X8_FUNCTION_INDEX;
+ } else if (map()->instance_type() == INT8X16_TYPE) {
+ function_index = Context::INT8X16_FUNCTION_INDEX;
+ } else if (map()->instance_type() == BOOL8X16_TYPE) {
+ function_index = Context::BOOL8X16_FUNCTION_INDEX;
} else if (*map() == isolate()->heap()->boolean_map()) {
function_index = Context::BOOLEAN_FUNCTION_INDEX;
} else {
« no previous file with comments | « src/ia32/lithium-codegen-ia32.cc ('k') | src/ic/ic-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698