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

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: Rebase. Created 5 years, 3 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
« no previous file with comments | « no previous file | src/harmony-simd.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 strict_function_without_prototype_map) \ 209 strict_function_without_prototype_map) \
210 V(STRICT_GENERATOR_FUNCTION_MAP_INDEX, Map, strict_generator_function_map) \ 210 V(STRICT_GENERATOR_FUNCTION_MAP_INDEX, Map, strict_generator_function_map) \
211 V(STRING_FUNCTION_INDEX, JSFunction, string_function) \ 211 V(STRING_FUNCTION_INDEX, JSFunction, string_function) \
212 V(STRING_FUNCTION_PROTOTYPE_MAP_INDEX, Map, string_function_prototype_map) \ 212 V(STRING_FUNCTION_PROTOTYPE_MAP_INDEX, Map, string_function_prototype_map) \
213 V(STRONG_CONSTRUCTOR_MAP_INDEX, Map, strong_constructor_map) \ 213 V(STRONG_CONSTRUCTOR_MAP_INDEX, Map, strong_constructor_map) \
214 V(STRONG_FUNCTION_MAP_INDEX, Map, strong_function_map) \ 214 V(STRONG_FUNCTION_MAP_INDEX, Map, strong_function_map) \
215 V(STRONG_GENERATOR_FUNCTION_MAP_INDEX, Map, strong_generator_function_map) \ 215 V(STRONG_GENERATOR_FUNCTION_MAP_INDEX, Map, strong_generator_function_map) \
216 V(STRONG_MAP_CACHE_INDEX, Object, strong_map_cache) \ 216 V(STRONG_MAP_CACHE_INDEX, Object, strong_map_cache) \
217 V(SYMBOL_FUNCTION_INDEX, JSFunction, symbol_function) \ 217 V(SYMBOL_FUNCTION_INDEX, JSFunction, symbol_function) \
218 V(UINT16_ARRAY_FUN_INDEX, JSFunction, uint16_array_fun) \ 218 V(UINT16_ARRAY_FUN_INDEX, JSFunction, uint16_array_fun) \
219 V(UINT16X8_FUNCTION_INDEX, JSFunction, uint16x8_function) \
219 V(UINT32_ARRAY_FUN_INDEX, JSFunction, uint32_array_fun) \ 220 V(UINT32_ARRAY_FUN_INDEX, JSFunction, uint32_array_fun) \
221 V(UINT32X4_FUNCTION_INDEX, JSFunction, uint32x4_function) \
220 V(UINT8_ARRAY_FUN_INDEX, JSFunction, uint8_array_fun) \ 222 V(UINT8_ARRAY_FUN_INDEX, JSFunction, uint8_array_fun) \
221 V(UINT8_CLAMPED_ARRAY_FUN_INDEX, JSFunction, uint8_clamped_array_fun) \ 223 V(UINT8_CLAMPED_ARRAY_FUN_INDEX, JSFunction, uint8_clamped_array_fun) \
224 V(UINT8X16_FUNCTION_INDEX, JSFunction, uint8x16_function) \
222 NATIVE_CONTEXT_IMPORTED_FIELDS(V) \ 225 NATIVE_CONTEXT_IMPORTED_FIELDS(V) \
223 NATIVE_CONTEXT_IMPORTED_FIELDS_FOR_PROXY(V) 226 NATIVE_CONTEXT_IMPORTED_FIELDS_FOR_PROXY(V)
224 227
225 // A table of all script contexts. Every loaded top-level script with top-level 228 // A table of all script contexts. Every loaded top-level script with top-level
226 // lexical declarations contributes its ScriptContext into this table. 229 // lexical declarations contributes its ScriptContext into this table.
227 // 230 //
228 // The table is a fixed array, its first slot is the current used count and 231 // The table is a fixed array, its first slot is the current used count and
229 // the subsequent slots 1..used contain ScriptContexts. 232 // the subsequent slots 1..used contain ScriptContexts.
230 class ScriptContextTable : public FixedArray { 233 class ScriptContextTable : public FixedArray {
231 public: 234 public:
(...skipping 331 matching lines...) Expand 10 before | Expand all | Expand 10 after
563 static bool IsBootstrappingOrGlobalObject(Isolate* isolate, Object* object); 566 static bool IsBootstrappingOrGlobalObject(Isolate* isolate, Object* object);
564 #endif 567 #endif
565 568
566 STATIC_ASSERT(kHeaderSize == Internals::kContextHeaderSize); 569 STATIC_ASSERT(kHeaderSize == Internals::kContextHeaderSize);
567 STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex); 570 STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex);
568 }; 571 };
569 572
570 } } // namespace v8::internal 573 } } // namespace v8::internal
571 574
572 #endif // V8_CONTEXTS_H_ 575 #endif // V8_CONTEXTS_H_
OLDNEW
« no previous file with comments | « no previous file | src/harmony-simd.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698