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

Side by Side Diff: src/contexts.h

Issue 1257223002: Revert of Remove ExternalArray, derived types, and element kinds (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: 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
« no previous file with comments | « src/compiler/js-typed-lowering.cc ('k') | src/elements.cc » ('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 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 V(ARRAY_BUFFER_MAP_INDEX, Map, array_buffer_map) \ 108 V(ARRAY_BUFFER_MAP_INDEX, Map, array_buffer_map) \
109 V(UINT8_ARRAY_FUN_INDEX, JSFunction, uint8_array_fun) \ 109 V(UINT8_ARRAY_FUN_INDEX, JSFunction, uint8_array_fun) \
110 V(INT8_ARRAY_FUN_INDEX, JSFunction, int8_array_fun) \ 110 V(INT8_ARRAY_FUN_INDEX, JSFunction, int8_array_fun) \
111 V(UINT16_ARRAY_FUN_INDEX, JSFunction, uint16_array_fun) \ 111 V(UINT16_ARRAY_FUN_INDEX, JSFunction, uint16_array_fun) \
112 V(INT16_ARRAY_FUN_INDEX, JSFunction, int16_array_fun) \ 112 V(INT16_ARRAY_FUN_INDEX, JSFunction, int16_array_fun) \
113 V(UINT32_ARRAY_FUN_INDEX, JSFunction, uint32_array_fun) \ 113 V(UINT32_ARRAY_FUN_INDEX, JSFunction, uint32_array_fun) \
114 V(INT32_ARRAY_FUN_INDEX, JSFunction, int32_array_fun) \ 114 V(INT32_ARRAY_FUN_INDEX, JSFunction, int32_array_fun) \
115 V(FLOAT32_ARRAY_FUN_INDEX, JSFunction, float32_array_fun) \ 115 V(FLOAT32_ARRAY_FUN_INDEX, JSFunction, float32_array_fun) \
116 V(FLOAT64_ARRAY_FUN_INDEX, JSFunction, float64_array_fun) \ 116 V(FLOAT64_ARRAY_FUN_INDEX, JSFunction, float64_array_fun) \
117 V(UINT8_CLAMPED_ARRAY_FUN_INDEX, JSFunction, uint8_clamped_array_fun) \ 117 V(UINT8_CLAMPED_ARRAY_FUN_INDEX, JSFunction, uint8_clamped_array_fun) \
118 V(INT8_ARRAY_EXTERNAL_MAP_INDEX, Map, int8_array_external_map) \
119 V(UINT8_ARRAY_EXTERNAL_MAP_INDEX, Map, uint8_array_external_map) \
120 V(INT16_ARRAY_EXTERNAL_MAP_INDEX, Map, int16_array_external_map) \
121 V(UINT16_ARRAY_EXTERNAL_MAP_INDEX, Map, uint16_array_external_map) \
122 V(INT32_ARRAY_EXTERNAL_MAP_INDEX, Map, int32_array_external_map) \
123 V(UINT32_ARRAY_EXTERNAL_MAP_INDEX, Map, uint32_array_external_map) \
124 V(FLOAT32_ARRAY_EXTERNAL_MAP_INDEX, Map, float32_array_external_map) \
125 V(FLOAT64_ARRAY_EXTERNAL_MAP_INDEX, Map, float64_array_external_map) \
126 V(UINT8_CLAMPED_ARRAY_EXTERNAL_MAP_INDEX, Map, \
127 uint8_clamped_array_external_map) \
118 V(DATA_VIEW_FUN_INDEX, JSFunction, data_view_fun) \ 128 V(DATA_VIEW_FUN_INDEX, JSFunction, data_view_fun) \
119 V(SLOPPY_FUNCTION_MAP_INDEX, Map, sloppy_function_map) \ 129 V(SLOPPY_FUNCTION_MAP_INDEX, Map, sloppy_function_map) \
120 V(SLOPPY_FUNCTION_WITH_READONLY_PROTOTYPE_MAP_INDEX, Map, \ 130 V(SLOPPY_FUNCTION_WITH_READONLY_PROTOTYPE_MAP_INDEX, Map, \
121 sloppy_function_with_readonly_prototype_map) \ 131 sloppy_function_with_readonly_prototype_map) \
122 V(STRICT_FUNCTION_MAP_INDEX, Map, strict_function_map) \ 132 V(STRICT_FUNCTION_MAP_INDEX, Map, strict_function_map) \
123 V(STRONG_FUNCTION_MAP_INDEX, Map, strong_function_map) \ 133 V(STRONG_FUNCTION_MAP_INDEX, Map, strong_function_map) \
124 V(SLOPPY_FUNCTION_WITHOUT_PROTOTYPE_MAP_INDEX, Map, \ 134 V(SLOPPY_FUNCTION_WITHOUT_PROTOTYPE_MAP_INDEX, Map, \
125 sloppy_function_without_prototype_map) \ 135 sloppy_function_without_prototype_map) \
126 V(STRICT_FUNCTION_WITHOUT_PROTOTYPE_MAP_INDEX, Map, \ 136 V(STRICT_FUNCTION_WITHOUT_PROTOTYPE_MAP_INDEX, Map, \
127 strict_function_without_prototype_map) \ 137 strict_function_without_prototype_map) \
(...skipping 533 matching lines...) Expand 10 before | Expand all | Expand 10 after
661 static bool IsBootstrappingOrGlobalObject(Isolate* isolate, Object* object); 671 static bool IsBootstrappingOrGlobalObject(Isolate* isolate, Object* object);
662 #endif 672 #endif
663 673
664 STATIC_ASSERT(kHeaderSize == Internals::kContextHeaderSize); 674 STATIC_ASSERT(kHeaderSize == Internals::kContextHeaderSize);
665 STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex); 675 STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex);
666 }; 676 };
667 677
668 } } // namespace v8::internal 678 } } // namespace v8::internal
669 679
670 #endif // V8_CONTEXTS_H_ 680 #endif // V8_CONTEXTS_H_
OLDNEW
« no previous file with comments | « src/compiler/js-typed-lowering.cc ('k') | src/elements.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698