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 2584843002: Implement LinkError; import tweaks (Closed)
Patch Set: 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 | « src/bootstrapper.cc ('k') | src/factory.h » ('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 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 reject_promise_no_debug_event) \ 119 reject_promise_no_debug_event) \
120 V(REFERENCE_ERROR_FUNCTION_INDEX, JSFunction, reference_error_function) \ 120 V(REFERENCE_ERROR_FUNCTION_INDEX, JSFunction, reference_error_function) \
121 V(SET_ADD_METHOD_INDEX, JSFunction, set_add) \ 121 V(SET_ADD_METHOD_INDEX, JSFunction, set_add) \
122 V(SET_DELETE_METHOD_INDEX, JSFunction, set_delete) \ 122 V(SET_DELETE_METHOD_INDEX, JSFunction, set_delete) \
123 V(SET_HAS_METHOD_INDEX, JSFunction, set_has) \ 123 V(SET_HAS_METHOD_INDEX, JSFunction, set_has) \
124 V(SYNTAX_ERROR_FUNCTION_INDEX, JSFunction, syntax_error_function) \ 124 V(SYNTAX_ERROR_FUNCTION_INDEX, JSFunction, syntax_error_function) \
125 V(TYPE_ERROR_FUNCTION_INDEX, JSFunction, type_error_function) \ 125 V(TYPE_ERROR_FUNCTION_INDEX, JSFunction, type_error_function) \
126 V(URI_ERROR_FUNCTION_INDEX, JSFunction, uri_error_function) \ 126 V(URI_ERROR_FUNCTION_INDEX, JSFunction, uri_error_function) \
127 V(WASM_COMPILE_ERROR_FUNCTION_INDEX, JSFunction, \ 127 V(WASM_COMPILE_ERROR_FUNCTION_INDEX, JSFunction, \
128 wasm_compile_error_function) \ 128 wasm_compile_error_function) \
129 V(WASM_LINK_ERROR_FUNCTION_INDEX, JSFunction, wasm_link_error_function) \
129 V(WASM_RUNTIME_ERROR_FUNCTION_INDEX, JSFunction, wasm_runtime_error_function) 130 V(WASM_RUNTIME_ERROR_FUNCTION_INDEX, JSFunction, wasm_runtime_error_function)
130 131
131 #define NATIVE_CONTEXT_JS_ARRAY_ITERATOR_MAPS(V) \ 132 #define NATIVE_CONTEXT_JS_ARRAY_ITERATOR_MAPS(V) \
132 V(TYPED_ARRAY_KEY_ITERATOR_MAP_INDEX, Map, typed_array_key_iterator_map) \ 133 V(TYPED_ARRAY_KEY_ITERATOR_MAP_INDEX, Map, typed_array_key_iterator_map) \
133 V(FAST_ARRAY_KEY_ITERATOR_MAP_INDEX, Map, fast_array_key_iterator_map) \ 134 V(FAST_ARRAY_KEY_ITERATOR_MAP_INDEX, Map, fast_array_key_iterator_map) \
134 V(GENERIC_ARRAY_KEY_ITERATOR_MAP_INDEX, Map, array_key_iterator_map) \ 135 V(GENERIC_ARRAY_KEY_ITERATOR_MAP_INDEX, Map, array_key_iterator_map) \
135 \ 136 \
136 V(UINT8_ARRAY_KEY_VALUE_ITERATOR_MAP_INDEX, Map, \ 137 V(UINT8_ARRAY_KEY_VALUE_ITERATOR_MAP_INDEX, Map, \
137 uint8_array_key_value_iterator_map) \ 138 uint8_array_key_value_iterator_map) \
138 V(INT8_ARRAY_KEY_VALUE_ITERATOR_MAP_INDEX, Map, \ 139 V(INT8_ARRAY_KEY_VALUE_ITERATOR_MAP_INDEX, Map, \
(...skipping 554 matching lines...) Expand 10 before | Expand all | Expand 10 after
693 STATIC_ASSERT(kHeaderSize == Internals::kContextHeaderSize); 694 STATIC_ASSERT(kHeaderSize == Internals::kContextHeaderSize);
694 STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex); 695 STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex);
695 }; 696 };
696 697
697 typedef Context::Field ContextField; 698 typedef Context::Field ContextField;
698 699
699 } // namespace internal 700 } // namespace internal
700 } // namespace v8 701 } // namespace v8
701 702
702 #endif // V8_CONTEXTS_H_ 703 #endif // V8_CONTEXTS_H_
OLDNEW
« no previous file with comments | « src/bootstrapper.cc ('k') | src/factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698