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

Side by Side Diff: src/contexts.h

Issue 2571743002: [serializer] API to re-use global proxy in v8::Context::FromSnapshot. (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/snapshot/partial-serializer.cc » ('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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 async_function_await_uncaught) \ 84 async_function_await_uncaught) \
85 V(ASYNC_FUNCTION_PROMISE_CREATE_INDEX, JSFunction, \ 85 V(ASYNC_FUNCTION_PROMISE_CREATE_INDEX, JSFunction, \
86 async_function_promise_create) \ 86 async_function_promise_create) \
87 V(ASYNC_FUNCTION_PROMISE_RELEASE_INDEX, JSFunction, \ 87 V(ASYNC_FUNCTION_PROMISE_RELEASE_INDEX, JSFunction, \
88 async_function_promise_release) \ 88 async_function_promise_release) \
89 V(DERIVED_GET_TRAP_INDEX, JSFunction, derived_get_trap) \ 89 V(DERIVED_GET_TRAP_INDEX, JSFunction, derived_get_trap) \
90 V(ERROR_FUNCTION_INDEX, JSFunction, error_function) \ 90 V(ERROR_FUNCTION_INDEX, JSFunction, error_function) \
91 V(ERROR_TO_STRING, JSFunction, error_to_string) \ 91 V(ERROR_TO_STRING, JSFunction, error_to_string) \
92 V(EVAL_ERROR_FUNCTION_INDEX, JSFunction, eval_error_function) \ 92 V(EVAL_ERROR_FUNCTION_INDEX, JSFunction, eval_error_function) \
93 V(GLOBAL_EVAL_FUN_INDEX, JSFunction, global_eval_fun) \ 93 V(GLOBAL_EVAL_FUN_INDEX, JSFunction, global_eval_fun) \
94 V(GLOBAL_PROXY_FUNCTION_INDEX, JSFunction, global_proxy_function) \
94 V(MAP_DELETE_METHOD_INDEX, JSFunction, map_delete) \ 95 V(MAP_DELETE_METHOD_INDEX, JSFunction, map_delete) \
95 V(MAP_GET_METHOD_INDEX, JSFunction, map_get) \ 96 V(MAP_GET_METHOD_INDEX, JSFunction, map_get) \
96 V(MAP_HAS_METHOD_INDEX, JSFunction, map_has) \ 97 V(MAP_HAS_METHOD_INDEX, JSFunction, map_has) \
97 V(MAP_SET_METHOD_INDEX, JSFunction, map_set) \ 98 V(MAP_SET_METHOD_INDEX, JSFunction, map_set) \
98 V(FUNCTION_HAS_INSTANCE_INDEX, JSFunction, function_has_instance) \ 99 V(FUNCTION_HAS_INSTANCE_INDEX, JSFunction, function_has_instance) \
99 V(OBJECT_VALUE_OF, JSFunction, object_value_of) \ 100 V(OBJECT_VALUE_OF, JSFunction, object_value_of) \
100 V(OBJECT_TO_STRING, JSFunction, object_to_string) \ 101 V(OBJECT_TO_STRING, JSFunction, object_to_string) \
101 V(PROMISE_CATCH_INDEX, JSFunction, promise_catch) \ 102 V(PROMISE_CATCH_INDEX, JSFunction, promise_catch) \
102 V(PROMISE_CREATE_INDEX, JSFunction, promise_create) \ 103 V(PROMISE_CREATE_INDEX, JSFunction, promise_create) \
103 V(PROMISE_FUNCTION_INDEX, JSFunction, promise_function) \ 104 V(PROMISE_FUNCTION_INDEX, JSFunction, promise_function) \
(...skipping 587 matching lines...) Expand 10 before | Expand all | Expand 10 after
691 STATIC_ASSERT(kHeaderSize == Internals::kContextHeaderSize); 692 STATIC_ASSERT(kHeaderSize == Internals::kContextHeaderSize);
692 STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex); 693 STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex);
693 }; 694 };
694 695
695 typedef Context::Field ContextField; 696 typedef Context::Field ContextField;
696 697
697 } // namespace internal 698 } // namespace internal
698 } // namespace v8 699 } // namespace v8
699 700
700 #endif // V8_CONTEXTS_H_ 701 #endif // V8_CONTEXTS_H_
OLDNEW
« no previous file with comments | « src/bootstrapper.cc ('k') | src/snapshot/partial-serializer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698