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

Side by Side Diff: src/contexts.h

Issue 2550143004: Fix assertion failure in JSBuiltinReducer::ReduceArrayIterator. (Closed)
Patch Set: test case Created 4 years 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 | test/mjsunit/regress/regress-crbug-671576.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 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 V(SET_DELETE_METHOD_INDEX, JSFunction, set_delete) \ 113 V(SET_DELETE_METHOD_INDEX, JSFunction, set_delete) \
114 V(SET_HAS_METHOD_INDEX, JSFunction, set_has) \ 114 V(SET_HAS_METHOD_INDEX, JSFunction, set_has) \
115 V(SYNTAX_ERROR_FUNCTION_INDEX, JSFunction, syntax_error_function) \ 115 V(SYNTAX_ERROR_FUNCTION_INDEX, JSFunction, syntax_error_function) \
116 V(TYPE_ERROR_FUNCTION_INDEX, JSFunction, type_error_function) \ 116 V(TYPE_ERROR_FUNCTION_INDEX, JSFunction, type_error_function) \
117 V(URI_ERROR_FUNCTION_INDEX, JSFunction, uri_error_function) \ 117 V(URI_ERROR_FUNCTION_INDEX, JSFunction, uri_error_function) \
118 V(WASM_COMPILE_ERROR_FUNCTION_INDEX, JSFunction, \ 118 V(WASM_COMPILE_ERROR_FUNCTION_INDEX, JSFunction, \
119 wasm_compile_error_function) \ 119 wasm_compile_error_function) \
120 V(WASM_RUNTIME_ERROR_FUNCTION_INDEX, JSFunction, wasm_runtime_error_function) 120 V(WASM_RUNTIME_ERROR_FUNCTION_INDEX, JSFunction, wasm_runtime_error_function)
121 121
122 #define NATIVE_CONTEXT_JS_ARRAY_ITERATOR_MAPS(V) \ 122 #define NATIVE_CONTEXT_JS_ARRAY_ITERATOR_MAPS(V) \
123 V(TYPED_ARRAY_KEY_ITERATOR_MAP_INDEX, Map, typed_array_key_iterator_map) \
123 V(FAST_ARRAY_KEY_ITERATOR_MAP_INDEX, Map, fast_array_key_iterator_map) \ 124 V(FAST_ARRAY_KEY_ITERATOR_MAP_INDEX, Map, fast_array_key_iterator_map) \
124 V(GENERIC_ARRAY_KEY_ITERATOR_MAP_INDEX, Map, array_key_iterator_map) \ 125 V(GENERIC_ARRAY_KEY_ITERATOR_MAP_INDEX, Map, array_key_iterator_map) \
125 V(TYPED_ARRAY_KEY_ITERATOR_MAP_INDEX, Map, typed_array_key_iterator_map) \
126 \ 126 \
127 V(UINT8_ARRAY_KEY_VALUE_ITERATOR_MAP_INDEX, Map, \ 127 V(UINT8_ARRAY_KEY_VALUE_ITERATOR_MAP_INDEX, Map, \
128 uint8_array_key_value_iterator_map) \ 128 uint8_array_key_value_iterator_map) \
129 V(INT8_ARRAY_KEY_VALUE_ITERATOR_MAP_INDEX, Map, \ 129 V(INT8_ARRAY_KEY_VALUE_ITERATOR_MAP_INDEX, Map, \
130 int8_array_key_value_iterator_map) \ 130 int8_array_key_value_iterator_map) \
131 V(UINT16_ARRAY_KEY_VALUE_ITERATOR_MAP_INDEX, Map, \ 131 V(UINT16_ARRAY_KEY_VALUE_ITERATOR_MAP_INDEX, Map, \
132 uint16_array_key_value_iterator_map) \ 132 uint16_array_key_value_iterator_map) \
133 V(INT16_ARRAY_KEY_VALUE_ITERATOR_MAP_INDEX, Map, \ 133 V(INT16_ARRAY_KEY_VALUE_ITERATOR_MAP_INDEX, Map, \
134 int16_array_key_value_iterator_map) \ 134 int16_array_key_value_iterator_map) \
135 V(UINT32_ARRAY_KEY_VALUE_ITERATOR_MAP_INDEX, Map, \ 135 V(UINT32_ARRAY_KEY_VALUE_ITERATOR_MAP_INDEX, Map, \
(...skipping 521 matching lines...) Expand 10 before | Expand all | Expand 10 after
657 STATIC_ASSERT(kHeaderSize == Internals::kContextHeaderSize); 657 STATIC_ASSERT(kHeaderSize == Internals::kContextHeaderSize);
658 STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex); 658 STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex);
659 }; 659 };
660 660
661 typedef Context::Field ContextField; 661 typedef Context::Field ContextField;
662 662
663 } // namespace internal 663 } // namespace internal
664 } // namespace v8 664 } // namespace v8
665 665
666 #endif // V8_CONTEXTS_H_ 666 #endif // V8_CONTEXTS_H_
OLDNEW
« no previous file with comments | « no previous file | test/mjsunit/regress/regress-crbug-671576.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698