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

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: Back out changes to include/v8.h Created 5 years, 5 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/ic/handler-compiler.cc ('k') | src/macros.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ic/ic-inl.h
diff --git a/src/ic/ic-inl.h b/src/ic/ic-inl.h
index a6970934b861f3050f43bc2fa4be29afd06eac14..85c6edb13f8bc90171f92cefca2509350ecafd74 100644
--- a/src/ic/ic-inl.h
+++ b/src/ic/ic-inl.h
@@ -136,6 +136,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;
}
« no previous file with comments | « src/ic/handler-compiler.cc ('k') | src/macros.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698