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

Side by Side Diff: src/contexts.h

Issue 1482283002: [runtime] [proxy] implementing [[Get]] trap. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 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 | src/js/proxy.js » ('j') | src/objects.cc » ('J')
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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 #define NATIVE_CONTEXT_IMPORTED_FIELDS(V) \ 101 #define NATIVE_CONTEXT_IMPORTED_FIELDS(V) \
102 V(ARRAY_CONCAT_INDEX, JSFunction, array_concat) \ 102 V(ARRAY_CONCAT_INDEX, JSFunction, array_concat) \
103 V(ARRAY_POP_INDEX, JSFunction, array_pop) \ 103 V(ARRAY_POP_INDEX, JSFunction, array_pop) \
104 V(ARRAY_PUSH_INDEX, JSFunction, array_push) \ 104 V(ARRAY_PUSH_INDEX, JSFunction, array_push) \
105 V(ARRAY_SHIFT_INDEX, JSFunction, array_shift) \ 105 V(ARRAY_SHIFT_INDEX, JSFunction, array_shift) \
106 V(ARRAY_SPLICE_INDEX, JSFunction, array_splice) \ 106 V(ARRAY_SPLICE_INDEX, JSFunction, array_splice) \
107 V(ARRAY_SLICE_INDEX, JSFunction, array_slice) \ 107 V(ARRAY_SLICE_INDEX, JSFunction, array_slice) \
108 V(ARRAY_UNSHIFT_INDEX, JSFunction, array_unshift) \ 108 V(ARRAY_UNSHIFT_INDEX, JSFunction, array_unshift) \
109 V(ARRAY_VALUES_ITERATOR_INDEX, JSFunction, array_values_iterator) \ 109 V(ARRAY_VALUES_ITERATOR_INDEX, JSFunction, array_values_iterator) \
110 V(CREATE_DATE_FUN_INDEX, JSFunction, create_date_fun) \ 110 V(CREATE_DATE_FUN_INDEX, JSFunction, create_date_fun) \
111 V(DERIVED_GET_TRAP_INDEX, JSFunction, derived_get_trap) \
Jakob Kummerow 2015/11/30 12:56:10 I love it when this happens :-)
112 V(DERIVED_SET_TRAP_INDEX, JSFunction, derived_set_trap) \ 111 V(DERIVED_SET_TRAP_INDEX, JSFunction, derived_set_trap) \
113 V(ERROR_FUNCTION_INDEX, JSFunction, error_function) \ 112 V(ERROR_FUNCTION_INDEX, JSFunction, error_function) \
114 V(EVAL_ERROR_FUNCTION_INDEX, JSFunction, eval_error_function) \ 113 V(EVAL_ERROR_FUNCTION_INDEX, JSFunction, eval_error_function) \
115 V(GET_STACK_TRACE_LINE_INDEX, JSFunction, get_stack_trace_line_fun) \ 114 V(GET_STACK_TRACE_LINE_INDEX, JSFunction, get_stack_trace_line_fun) \
116 V(GLOBAL_EVAL_FUN_INDEX, JSFunction, global_eval_fun) \ 115 V(GLOBAL_EVAL_FUN_INDEX, JSFunction, global_eval_fun) \
117 V(JSON_SERIALIZE_ADAPTER_INDEX, JSFunction, json_serialize_adapter) \ 116 V(JSON_SERIALIZE_ADAPTER_INDEX, JSFunction, json_serialize_adapter) \
118 V(MAKE_ERROR_FUNCTION_INDEX, JSFunction, make_error_function) \ 117 V(MAKE_ERROR_FUNCTION_INDEX, JSFunction, make_error_function) \
119 V(MAP_DELETE_METHOD_INDEX, JSFunction, map_delete) \ 118 V(MAP_DELETE_METHOD_INDEX, JSFunction, map_delete) \
120 V(MAP_GET_METHOD_INDEX, JSFunction, map_get) \ 119 V(MAP_GET_METHOD_INDEX, JSFunction, map_get) \
121 V(MAP_HAS_METHOD_INDEX, JSFunction, map_has) \ 120 V(MAP_HAS_METHOD_INDEX, JSFunction, map_has) \
(...skipping 430 matching lines...) Expand 10 before | Expand all | Expand 10 after
552 #endif 551 #endif
553 552
554 STATIC_ASSERT(kHeaderSize == Internals::kContextHeaderSize); 553 STATIC_ASSERT(kHeaderSize == Internals::kContextHeaderSize);
555 STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex); 554 STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex);
556 }; 555 };
557 556
558 } // namespace internal 557 } // namespace internal
559 } // namespace v8 558 } // namespace v8
560 559
561 #endif // V8_CONTEXTS_H_ 560 #endif // V8_CONTEXTS_H_
OLDNEW
« no previous file with comments | « no previous file | src/js/proxy.js » ('j') | src/objects.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698