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

Unified Diff: src/ic/ic-inl.h

Issue 1219943002: Expose SIMD.Float32x4 type to Javascript. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 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 side-by-side diff with in-line comments
Download patch
Index: src/ic/ic-inl.h
diff --git a/src/ic/ic-inl.h b/src/ic/ic-inl.h
index b6ee6b13e53a812ddc0626cecf2604cbe90848d7..68288de3145f161fedafae69a7c1755392e3fcca 100644
--- a/src/ic/ic-inl.h
+++ b/src/ic/ic-inl.h
@@ -177,6 +177,8 @@ JSFunction* IC::GetRootConstructor(Map* receiver_map, Context* native_context) {
return native_context->string_function();
} else if (receiver_map->instance_type() == SYMBOL_TYPE) {
return native_context->symbol_function();
+ } else if (receiver_map->instance_type() == FLOAT32X4_TYPE) {
+ return native_context->float32x4_function();
} else {
return NULL;
}

Powered by Google App Engine
This is Rietveld 408576698