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

Side by Side Diff: src/contexts.h

Issue 1294513004: [simd.js] Update to spec version 0.8.2. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Latest SIMD.js Spec. 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 unified diff | Download patch
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_CONTEXTS_H_ 5 #ifndef V8_CONTEXTS_H_
6 #define V8_CONTEXTS_H_ 6 #define V8_CONTEXTS_H_
7 7
8 #include "src/heap/heap.h" 8 #include "src/heap/heap.h"
9 #include "src/objects.h" 9 #include "src/objects.h"
10 10
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 #define NATIVE_CONTEXT_FIELDS(V) \ 76 #define NATIVE_CONTEXT_FIELDS(V) \
77 V(GLOBAL_PROXY_INDEX, JSObject, global_proxy_object) \ 77 V(GLOBAL_PROXY_INDEX, JSObject, global_proxy_object) \
78 V(SECURITY_TOKEN_INDEX, Object, security_token) \ 78 V(SECURITY_TOKEN_INDEX, Object, security_token) \
79 V(BOOLEAN_FUNCTION_INDEX, JSFunction, boolean_function) \ 79 V(BOOLEAN_FUNCTION_INDEX, JSFunction, boolean_function) \
80 V(NUMBER_FUNCTION_INDEX, JSFunction, number_function) \ 80 V(NUMBER_FUNCTION_INDEX, JSFunction, number_function) \
81 V(STRING_FUNCTION_INDEX, JSFunction, string_function) \ 81 V(STRING_FUNCTION_INDEX, JSFunction, string_function) \
82 V(STRING_FUNCTION_PROTOTYPE_MAP_INDEX, Map, string_function_prototype_map) \ 82 V(STRING_FUNCTION_PROTOTYPE_MAP_INDEX, Map, string_function_prototype_map) \
83 V(SYMBOL_FUNCTION_INDEX, JSFunction, symbol_function) \ 83 V(SYMBOL_FUNCTION_INDEX, JSFunction, symbol_function) \
84 V(FLOAT32X4_FUNCTION_INDEX, JSFunction, float32x4_function) \ 84 V(FLOAT32X4_FUNCTION_INDEX, JSFunction, float32x4_function) \
85 V(INT32X4_FUNCTION_INDEX, JSFunction, int32x4_function) \ 85 V(INT32X4_FUNCTION_INDEX, JSFunction, int32x4_function) \
86 V(UINT32X4_FUNCTION_INDEX, JSFunction, uint32x4_function) \
86 V(BOOL32X4_FUNCTION_INDEX, JSFunction, bool32x4_function) \ 87 V(BOOL32X4_FUNCTION_INDEX, JSFunction, bool32x4_function) \
87 V(INT16X8_FUNCTION_INDEX, JSFunction, int16x8_function) \ 88 V(INT16X8_FUNCTION_INDEX, JSFunction, int16x8_function) \
89 V(UINT16X8_FUNCTION_INDEX, JSFunction, uint16x8_function) \
88 V(BOOL16X8_FUNCTION_INDEX, JSFunction, bool16x8_function) \ 90 V(BOOL16X8_FUNCTION_INDEX, JSFunction, bool16x8_function) \
89 V(INT8X16_FUNCTION_INDEX, JSFunction, int8x16_function) \ 91 V(INT8X16_FUNCTION_INDEX, JSFunction, int8x16_function) \
92 V(UINT8X16_FUNCTION_INDEX, JSFunction, uint8x16_function) \
90 V(BOOL8X16_FUNCTION_INDEX, JSFunction, bool8x16_function) \ 93 V(BOOL8X16_FUNCTION_INDEX, JSFunction, bool8x16_function) \
91 V(OBJECT_FUNCTION_INDEX, JSFunction, object_function) \ 94 V(OBJECT_FUNCTION_INDEX, JSFunction, object_function) \
92 V(JS_OBJECT_STRONG_MAP_INDEX, Map, js_object_strong_map) \ 95 V(JS_OBJECT_STRONG_MAP_INDEX, Map, js_object_strong_map) \
93 V(INTERNAL_ARRAY_FUNCTION_INDEX, JSFunction, internal_array_function) \ 96 V(INTERNAL_ARRAY_FUNCTION_INDEX, JSFunction, internal_array_function) \
94 V(ARRAY_FUNCTION_INDEX, JSFunction, array_function) \ 97 V(ARRAY_FUNCTION_INDEX, JSFunction, array_function) \
95 V(JS_ARRAY_MAPS_INDEX, Object, js_array_maps) \ 98 V(JS_ARRAY_MAPS_INDEX, Object, js_array_maps) \
96 V(JS_ARRAY_STRONG_MAPS_INDEX, Object, js_array_strong_maps) \ 99 V(JS_ARRAY_STRONG_MAPS_INDEX, Object, js_array_strong_maps) \
97 V(REGEXP_FUNCTION_INDEX, JSFunction, regexp_function) \ 100 V(REGEXP_FUNCTION_INDEX, JSFunction, regexp_function) \
98 V(INITIAL_OBJECT_PROTOTYPE_INDEX, JSObject, initial_object_prototype) \ 101 V(INITIAL_OBJECT_PROTOTYPE_INDEX, JSObject, initial_object_prototype) \
99 V(INITIAL_ARRAY_PROTOTYPE_INDEX, JSObject, initial_array_prototype) \ 102 V(INITIAL_ARRAY_PROTOTYPE_INDEX, JSObject, initial_array_prototype) \
(...skipping 451 matching lines...) Expand 10 before | Expand all | Expand 10 after
551 static bool IsBootstrappingOrGlobalObject(Isolate* isolate, Object* object); 554 static bool IsBootstrappingOrGlobalObject(Isolate* isolate, Object* object);
552 #endif 555 #endif
553 556
554 STATIC_ASSERT(kHeaderSize == Internals::kContextHeaderSize); 557 STATIC_ASSERT(kHeaderSize == Internals::kContextHeaderSize);
555 STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex); 558 STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex);
556 }; 559 };
557 560
558 } } // namespace v8::internal 561 } } // namespace v8::internal
559 562
560 #endif // V8_CONTEXTS_H_ 563 #endif // V8_CONTEXTS_H_
OLDNEW
« no previous file with comments | « include/v8.h ('k') | src/harmony-simd.js » ('j') | test/simdjs/testcfg.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698