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

Side by Side Diff: src/contexts.h

Issue 2206573002: Move NoSideEffectToString to C++ (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Address comments Created 4 years, 4 months 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/builtins/builtins-error.cc ('k') | src/factory.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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 V(ARRAY_POP_INDEX, JSFunction, array_pop) \ 94 V(ARRAY_POP_INDEX, JSFunction, array_pop) \
95 V(ARRAY_PUSH_INDEX, JSFunction, array_push) \ 95 V(ARRAY_PUSH_INDEX, JSFunction, array_push) \
96 V(ARRAY_SHIFT_INDEX, JSFunction, array_shift) \ 96 V(ARRAY_SHIFT_INDEX, JSFunction, array_shift) \
97 V(ARRAY_SPLICE_INDEX, JSFunction, array_splice) \ 97 V(ARRAY_SPLICE_INDEX, JSFunction, array_splice) \
98 V(ARRAY_SLICE_INDEX, JSFunction, array_slice) \ 98 V(ARRAY_SLICE_INDEX, JSFunction, array_slice) \
99 V(ARRAY_UNSHIFT_INDEX, JSFunction, array_unshift) \ 99 V(ARRAY_UNSHIFT_INDEX, JSFunction, array_unshift) \
100 V(ARRAY_VALUES_ITERATOR_INDEX, JSFunction, array_values_iterator) \ 100 V(ARRAY_VALUES_ITERATOR_INDEX, JSFunction, array_values_iterator) \
101 V(ASYNC_FUNCTION_AWAIT_INDEX, JSFunction, async_function_await) \ 101 V(ASYNC_FUNCTION_AWAIT_INDEX, JSFunction, async_function_await) \
102 V(DERIVED_GET_TRAP_INDEX, JSFunction, derived_get_trap) \ 102 V(DERIVED_GET_TRAP_INDEX, JSFunction, derived_get_trap) \
103 V(ERROR_FUNCTION_INDEX, JSFunction, error_function) \ 103 V(ERROR_FUNCTION_INDEX, JSFunction, error_function) \
104 V(ERROR_TO_STRING, JSFunction, error_to_string) \
104 V(EVAL_ERROR_FUNCTION_INDEX, JSFunction, eval_error_function) \ 105 V(EVAL_ERROR_FUNCTION_INDEX, JSFunction, eval_error_function) \
105 V(GLOBAL_EVAL_FUN_INDEX, JSFunction, global_eval_fun) \ 106 V(GLOBAL_EVAL_FUN_INDEX, JSFunction, global_eval_fun) \
106 V(MAKE_ERROR_FUNCTION_INDEX, JSFunction, make_error_function) \
107 V(MAP_DELETE_METHOD_INDEX, JSFunction, map_delete) \ 107 V(MAP_DELETE_METHOD_INDEX, JSFunction, map_delete) \
108 V(MAP_GET_METHOD_INDEX, JSFunction, map_get) \ 108 V(MAP_GET_METHOD_INDEX, JSFunction, map_get) \
109 V(MAP_HAS_METHOD_INDEX, JSFunction, map_has) \ 109 V(MAP_HAS_METHOD_INDEX, JSFunction, map_has) \
110 V(MAP_SET_METHOD_INDEX, JSFunction, map_set) \ 110 V(MAP_SET_METHOD_INDEX, JSFunction, map_set) \
111 V(MESSAGE_GET_COLUMN_NUMBER_INDEX, JSFunction, message_get_column_number) \ 111 V(MESSAGE_GET_COLUMN_NUMBER_INDEX, JSFunction, message_get_column_number) \
112 V(MESSAGE_GET_LINE_NUMBER_INDEX, JSFunction, message_get_line_number) \ 112 V(MESSAGE_GET_LINE_NUMBER_INDEX, JSFunction, message_get_line_number) \
113 V(MESSAGE_GET_SOURCE_LINE_INDEX, JSFunction, message_get_source_line) \ 113 V(MESSAGE_GET_SOURCE_LINE_INDEX, JSFunction, message_get_source_line) \
114 V(NO_SIDE_EFFECTS_TO_STRING_FUN_INDEX, JSFunction, \
115 no_side_effects_to_string_fun) \
116 V(OBJECT_VALUE_OF, JSFunction, object_value_of) \ 114 V(OBJECT_VALUE_OF, JSFunction, object_value_of) \
117 V(OBJECT_TO_STRING, JSFunction, object_to_string) \ 115 V(OBJECT_TO_STRING, JSFunction, object_to_string) \
118 V(PROMISE_CATCH_INDEX, JSFunction, promise_catch) \ 116 V(PROMISE_CATCH_INDEX, JSFunction, promise_catch) \
119 V(PROMISE_CHAIN_INDEX, JSFunction, promise_chain) \ 117 V(PROMISE_CHAIN_INDEX, JSFunction, promise_chain) \
120 V(PROMISE_CREATE_INDEX, JSFunction, promise_create) \ 118 V(PROMISE_CREATE_INDEX, JSFunction, promise_create) \
121 V(PROMISE_FUNCTION_INDEX, JSFunction, promise_function) \ 119 V(PROMISE_FUNCTION_INDEX, JSFunction, promise_function) \
122 V(PROMISE_HAS_USER_DEFINED_REJECT_HANDLER_INDEX, JSFunction, \ 120 V(PROMISE_HAS_USER_DEFINED_REJECT_HANDLER_INDEX, JSFunction, \
123 promise_has_user_defined_reject_handler) \ 121 promise_has_user_defined_reject_handler) \
124 V(PROMISE_REJECT_INDEX, JSFunction, promise_reject) \ 122 V(PROMISE_REJECT_INDEX, JSFunction, promise_reject) \
125 V(PROMISE_RESOLVE_INDEX, JSFunction, promise_resolve) \ 123 V(PROMISE_RESOLVE_INDEX, JSFunction, promise_resolve) \
(...skipping 441 matching lines...) Expand 10 before | Expand all | Expand 10 after
567 #endif 565 #endif
568 566
569 STATIC_ASSERT(kHeaderSize == Internals::kContextHeaderSize); 567 STATIC_ASSERT(kHeaderSize == Internals::kContextHeaderSize);
570 STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex); 568 STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex);
571 }; 569 };
572 570
573 } // namespace internal 571 } // namespace internal
574 } // namespace v8 572 } // namespace v8
575 573
576 #endif // V8_CONTEXTS_H_ 574 #endif // V8_CONTEXTS_H_
OLDNEW
« no previous file with comments | « src/builtins/builtins-error.cc ('k') | src/factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698