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

Side by Side Diff: src/contexts.h

Issue 1977983002: Revert "Fix TypedArray Property optimizations", add regression test and eliminate dead code (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Address review comments Created 4 years, 7 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/bootstrapper.cc ('k') | src/js/array-iterator.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 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 V(SLOPPY_GENERATOR_FUNCTION_MAP_INDEX, Map, sloppy_generator_function_map) \ 237 V(SLOPPY_GENERATOR_FUNCTION_MAP_INDEX, Map, sloppy_generator_function_map) \
238 V(SLOW_ALIASED_ARGUMENTS_MAP_INDEX, Map, slow_aliased_arguments_map) \ 238 V(SLOW_ALIASED_ARGUMENTS_MAP_INDEX, Map, slow_aliased_arguments_map) \
239 V(STRICT_ARGUMENTS_MAP_INDEX, Map, strict_arguments_map) \ 239 V(STRICT_ARGUMENTS_MAP_INDEX, Map, strict_arguments_map) \
240 V(STRICT_FUNCTION_MAP_INDEX, Map, strict_function_map) \ 240 V(STRICT_FUNCTION_MAP_INDEX, Map, strict_function_map) \
241 V(STRICT_FUNCTION_WITHOUT_PROTOTYPE_MAP_INDEX, Map, \ 241 V(STRICT_FUNCTION_WITHOUT_PROTOTYPE_MAP_INDEX, Map, \
242 strict_function_without_prototype_map) \ 242 strict_function_without_prototype_map) \
243 V(STRICT_GENERATOR_FUNCTION_MAP_INDEX, Map, strict_generator_function_map) \ 243 V(STRICT_GENERATOR_FUNCTION_MAP_INDEX, Map, strict_generator_function_map) \
244 V(STRING_FUNCTION_INDEX, JSFunction, string_function) \ 244 V(STRING_FUNCTION_INDEX, JSFunction, string_function) \
245 V(STRING_FUNCTION_PROTOTYPE_MAP_INDEX, Map, string_function_prototype_map) \ 245 V(STRING_FUNCTION_PROTOTYPE_MAP_INDEX, Map, string_function_prototype_map) \
246 V(SYMBOL_FUNCTION_INDEX, JSFunction, symbol_function) \ 246 V(SYMBOL_FUNCTION_INDEX, JSFunction, symbol_function) \
247 V(TYPED_ARRAY_FUN_INDEX, JSFunction, typed_array_function) \
248 V(TYPED_ARRAY_PROTOTYPE_INDEX, JSObject, typed_array_prototype) \
249 V(UINT16_ARRAY_FUN_INDEX, JSFunction, uint16_array_fun) \ 247 V(UINT16_ARRAY_FUN_INDEX, JSFunction, uint16_array_fun) \
250 V(UINT16X8_FUNCTION_INDEX, JSFunction, uint16x8_function) \ 248 V(UINT16X8_FUNCTION_INDEX, JSFunction, uint16x8_function) \
251 V(UINT32_ARRAY_FUN_INDEX, JSFunction, uint32_array_fun) \ 249 V(UINT32_ARRAY_FUN_INDEX, JSFunction, uint32_array_fun) \
252 V(UINT32X4_FUNCTION_INDEX, JSFunction, uint32x4_function) \ 250 V(UINT32X4_FUNCTION_INDEX, JSFunction, uint32x4_function) \
253 V(UINT8_ARRAY_FUN_INDEX, JSFunction, uint8_array_fun) \ 251 V(UINT8_ARRAY_FUN_INDEX, JSFunction, uint8_array_fun) \
254 V(UINT8_CLAMPED_ARRAY_FUN_INDEX, JSFunction, uint8_clamped_array_fun) \ 252 V(UINT8_CLAMPED_ARRAY_FUN_INDEX, JSFunction, uint8_clamped_array_fun) \
255 V(UINT8X16_FUNCTION_INDEX, JSFunction, uint8x16_function) \ 253 V(UINT8X16_FUNCTION_INDEX, JSFunction, uint8x16_function) \
256 NATIVE_CONTEXT_INTRINSIC_FUNCTIONS(V) \ 254 NATIVE_CONTEXT_INTRINSIC_FUNCTIONS(V) \
257 NATIVE_CONTEXT_IMPORTED_FIELDS(V) 255 NATIVE_CONTEXT_IMPORTED_FIELDS(V)
258 256
(...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after
559 #endif 557 #endif
560 558
561 STATIC_ASSERT(kHeaderSize == Internals::kContextHeaderSize); 559 STATIC_ASSERT(kHeaderSize == Internals::kContextHeaderSize);
562 STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex); 560 STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex);
563 }; 561 };
564 562
565 } // namespace internal 563 } // namespace internal
566 } // namespace v8 564 } // namespace v8
567 565
568 #endif // V8_CONTEXTS_H_ 566 #endif // V8_CONTEXTS_H_
OLDNEW
« no previous file with comments | « src/bootstrapper.cc ('k') | src/js/array-iterator.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698