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

Unified Diff: src/contexts.h

Issue 1250733005: SIMD.js Add the other SIMD Phase 1 types. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: 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
Index: src/contexts.h
diff --git a/src/contexts.h b/src/contexts.h
index 37fc31565c1937a172f2cd174ea50e694e9a7172..af32a0951d42f762475b9b3fd0c995803c496adc 100644
--- a/src/contexts.h
+++ b/src/contexts.h
@@ -82,6 +82,12 @@ enum BindingFlags {
V(STRING_FUNCTION_PROTOTYPE_MAP_INDEX, Map, string_function_prototype_map) \
V(SYMBOL_FUNCTION_INDEX, JSFunction, symbol_function) \
V(FLOAT32X4_FUNCTION_INDEX, JSFunction, float32x4_function) \
+ V(INT32X4_FUNCTION_INDEX, JSFunction, int32x4_function) \
+ V(BOOL32X4_FUNCTION_INDEX, JSFunction, bool32x4_function) \
+ V(INT16X8_FUNCTION_INDEX, JSFunction, int16x8_function) \
+ V(BOOL16X8_FUNCTION_INDEX, JSFunction, bool16x8_function) \
+ V(INT8X16_FUNCTION_INDEX, JSFunction, int8x16_function) \
+ V(BOOL8X16_FUNCTION_INDEX, JSFunction, bool8x16_function) \
V(OBJECT_FUNCTION_INDEX, JSFunction, object_function) \
V(JS_OBJECT_STRONG_MAP_INDEX, Map, js_object_strong_map) \
V(INTERNAL_ARRAY_FUNCTION_INDEX, JSFunction, internal_array_function) \
@@ -350,6 +356,12 @@ class Context: public FixedArray {
STRING_FUNCTION_PROTOTYPE_MAP_INDEX,
SYMBOL_FUNCTION_INDEX,
FLOAT32X4_FUNCTION_INDEX,
+ INT32X4_FUNCTION_INDEX,
+ BOOL32X4_FUNCTION_INDEX,
+ INT16X8_FUNCTION_INDEX,
+ BOOL16X8_FUNCTION_INDEX,
+ INT8X16_FUNCTION_INDEX,
+ BOOL8X16_FUNCTION_INDEX,
OBJECT_FUNCTION_INDEX,
JS_OBJECT_STRONG_MAP_INDEX,
INTERNAL_ARRAY_FUNCTION_INDEX,
« no previous file with comments | « src/code-stubs-hydrogen.cc ('k') | src/factory.h » ('j') | src/harmony-simd.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698