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

Side by Side Diff: src/contexts.h

Issue 2142933003: Move Error methods to C++ (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Handle exception in GetProperty Created 4 years, 5 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/heap-symbols.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 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_FORMAT_STACK_TRACE_INDEX, JSFunction, error_format_stack_trace) \
104 V(EVAL_ERROR_FUNCTION_INDEX, JSFunction, eval_error_function) \ 105 V(EVAL_ERROR_FUNCTION_INDEX, JSFunction, eval_error_function) \
105 V(GET_STACK_TRACE_LINE_INDEX, JSFunction, get_stack_trace_line_fun) \ 106 V(GET_STACK_TRACE_LINE_INDEX, JSFunction, get_stack_trace_line_fun) \
106 V(GLOBAL_EVAL_FUN_INDEX, JSFunction, global_eval_fun) \ 107 V(GLOBAL_EVAL_FUN_INDEX, JSFunction, global_eval_fun) \
107 V(MAKE_ERROR_FUNCTION_INDEX, JSFunction, make_error_function) \ 108 V(MAKE_ERROR_FUNCTION_INDEX, JSFunction, make_error_function) \
108 V(MAP_DELETE_METHOD_INDEX, JSFunction, map_delete) \ 109 V(MAP_DELETE_METHOD_INDEX, JSFunction, map_delete) \
109 V(MAP_GET_METHOD_INDEX, JSFunction, map_get) \ 110 V(MAP_GET_METHOD_INDEX, JSFunction, map_get) \
110 V(MAP_HAS_METHOD_INDEX, JSFunction, map_has) \ 111 V(MAP_HAS_METHOD_INDEX, JSFunction, map_has) \
111 V(MAP_SET_METHOD_INDEX, JSFunction, map_set) \ 112 V(MAP_SET_METHOD_INDEX, JSFunction, map_set) \
112 V(MESSAGE_GET_COLUMN_NUMBER_INDEX, JSFunction, message_get_column_number) \ 113 V(MESSAGE_GET_COLUMN_NUMBER_INDEX, JSFunction, message_get_column_number) \
113 V(MESSAGE_GET_LINE_NUMBER_INDEX, JSFunction, message_get_line_number) \ 114 V(MESSAGE_GET_LINE_NUMBER_INDEX, JSFunction, message_get_line_number) \
(...skipping 456 matching lines...) Expand 10 before | Expand all | Expand 10 after
570 #endif 571 #endif
571 572
572 STATIC_ASSERT(kHeaderSize == Internals::kContextHeaderSize); 573 STATIC_ASSERT(kHeaderSize == Internals::kContextHeaderSize);
573 STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex); 574 STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex);
574 }; 575 };
575 576
576 } // namespace internal 577 } // namespace internal
577 } // namespace v8 578 } // namespace v8
578 579
579 #endif // V8_CONTEXTS_H_ 580 #endif // V8_CONTEXTS_H_
OLDNEW
« no previous file with comments | « src/builtins/builtins-error.cc ('k') | src/heap-symbols.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698