summaryrefslogtreecommitdiff
path: root/deps/v8/src/objects/contexts.h
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/objects/contexts.h')
-rw-r--r--deps/v8/src/objects/contexts.h21
1 files changed, 9 insertions, 12 deletions
diff --git a/deps/v8/src/objects/contexts.h b/deps/v8/src/objects/contexts.h
index 7e1e715038..0b4760e1a4 100644
--- a/deps/v8/src/objects/contexts.h
+++ b/deps/v8/src/objects/contexts.h
@@ -169,6 +169,12 @@ enum ContextLookupFlags {
V(INTL_SEGMENTER_FUNCTION_INDEX, JSFunction, intl_segmenter_function) \
V(INTL_SEGMENTS_MAP_INDEX, Map, intl_segments_map) \
V(INTL_SEGMENT_ITERATOR_MAP_INDEX, Map, intl_segment_iterator_map) \
+ V(ITERATOR_FILTER_HELPER_MAP_INDEX, Map, iterator_filter_helper_map) \
+ V(ITERATOR_MAP_HELPER_MAP_INDEX, Map, iterator_map_helper_map) \
+ V(ITERATOR_TAKE_HELPER_MAP_INDEX, Map, iterator_take_helper_map) \
+ V(ITERATOR_DROP_HELPER_MAP_INDEX, Map, iterator_drop_helper_map) \
+ V(ITERATOR_FUNCTION_INDEX, JSFunction, iterator_function) \
+ V(VALID_ITERATOR_WRAPPER_MAP_INDEX, Map, valid_iterator_wrapper_map) \
V(ITERATOR_RESULT_MAP_INDEX, Map, iterator_result_map) \
V(JS_ARRAY_PACKED_SMI_ELEMENTS_MAP_INDEX, Map, \
js_array_packed_smi_elements_map) \
@@ -230,6 +236,7 @@ enum ContextLookupFlags {
V(CATCH_CONTEXT_MAP_INDEX, Map, catch_context_map) \
V(WITH_CONTEXT_MAP_INDEX, Map, with_context_map) \
V(DEBUG_EVALUATE_CONTEXT_MAP_INDEX, Map, debug_evaluate_context_map) \
+ V(JS_RAB_GSAB_DATA_VIEW_MAP_INDEX, Map, js_rab_gsab_data_view_map) \
V(MAP_CACHE_INDEX, Object, map_cache) \
V(MAP_KEY_ITERATOR_MAP_INDEX, Map, map_key_iterator_map) \
V(MAP_KEY_VALUE_ITERATOR_MAP_INDEX, Map, map_key_value_iterator_map) \
@@ -549,13 +556,11 @@ class Context : public TorqueGeneratedContext<Context, HeapObject> {
// Properties from here are treated as weak references by the full GC.
// Scavenge treats them as strong references.
- OPTIMIZED_CODE_LIST, // Weak.
- DEOPTIMIZED_CODE_LIST, // Weak.
- NEXT_CONTEXT_LINK, // Weak.
+ NEXT_CONTEXT_LINK, // Weak.
// Total number of slots.
NATIVE_CONTEXT_SLOTS,
- FIRST_WEAK_SLOT = OPTIMIZED_CODE_LIST,
+ FIRST_WEAK_SLOT = NEXT_CONTEXT_LINK,
FIRST_JS_ARRAY_MAP_SLOT = JS_ARRAY_PACKED_SMI_ELEMENTS_MAP_INDEX,
// TODO(shell): Remove, once it becomes zero
@@ -780,14 +785,6 @@ class NativeContext : public Context {
class BodyDescriptor;
- // The native context stores a list of all optimized code and a list of all
- // deoptimized code, which are needed by the deoptimizer.
- V8_EXPORT_PRIVATE void AddOptimizedCode(CodeT code);
- inline void SetOptimizedCodeListHead(Object head);
- inline Object OptimizedCodeListHead();
- inline void SetDeoptimizedCodeListHead(Object head);
- inline Object DeoptimizedCodeListHead();
-
void ResetErrorsThrown();
void IncrementErrorsThrown();
int GetErrorsThrown();