OLD | NEW |
1 // Copyright 2016 the V8 project authors. All rights reserved. | 1 // Copyright 2016 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 #include "src/external-reference-table.h" | 5 #include "src/external-reference-table.h" |
6 | 6 |
7 #include "src/accessors.h" | 7 #include "src/accessors.h" |
8 #include "src/assembler.h" | 8 #include "src/assembler.h" |
9 #include "src/builtins/builtins.h" | 9 #include "src/builtins/builtins.h" |
10 #include "src/counters.h" | 10 #include "src/counters.h" |
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 "date_cache_stamp"); | 128 "date_cache_stamp"); |
129 Add(ExternalReference::address_of_pending_message_obj(isolate).address(), | 129 Add(ExternalReference::address_of_pending_message_obj(isolate).address(), |
130 "address_of_pending_message_obj"); | 130 "address_of_pending_message_obj"); |
131 Add(ExternalReference::get_make_code_young_function(isolate).address(), | 131 Add(ExternalReference::get_make_code_young_function(isolate).address(), |
132 "Code::MakeCodeYoung"); | 132 "Code::MakeCodeYoung"); |
133 Add(ExternalReference::cpu_features().address(), "cpu_features"); | 133 Add(ExternalReference::cpu_features().address(), "cpu_features"); |
134 Add(ExternalReference::old_space_allocation_top_address(isolate).address(), | 134 Add(ExternalReference::old_space_allocation_top_address(isolate).address(), |
135 "Heap::OldSpaceAllocationTopAddress"); | 135 "Heap::OldSpaceAllocationTopAddress"); |
136 Add(ExternalReference::old_space_allocation_limit_address(isolate).address(), | 136 Add(ExternalReference::old_space_allocation_limit_address(isolate).address(), |
137 "Heap::OldSpaceAllocationLimitAddress"); | 137 "Heap::OldSpaceAllocationLimitAddress"); |
| 138 Add(ExternalReference::native_contexts_list_address(isolate).address(), |
| 139 "Heap::native_contexts_list_address()"); |
138 Add(ExternalReference::allocation_sites_list_address(isolate).address(), | 140 Add(ExternalReference::allocation_sites_list_address(isolate).address(), |
139 "Heap::allocation_sites_list_address()"); | 141 "Heap::allocation_sites_list_address()"); |
140 Add(ExternalReference::address_of_uint32_bias().address(), "uint32_bias"); | 142 Add(ExternalReference::address_of_uint32_bias().address(), "uint32_bias"); |
141 Add(ExternalReference::get_mark_code_as_executed_function(isolate).address(), | 143 Add(ExternalReference::get_mark_code_as_executed_function(isolate).address(), |
142 "Code::MarkCodeAsExecuted"); | 144 "Code::MarkCodeAsExecuted"); |
143 Add(ExternalReference::is_profiling_address(isolate).address(), | 145 Add(ExternalReference::is_profiling_address(isolate).address(), |
144 "Isolate::is_profiling"); | 146 "Isolate::is_profiling"); |
145 Add(ExternalReference::scheduled_exception_address(isolate).address(), | 147 Add(ExternalReference::scheduled_exception_address(isolate).address(), |
146 "Isolate::scheduled_exception"); | 148 "Isolate::scheduled_exception"); |
147 Add(ExternalReference::invoke_function_callback(isolate).address(), | 149 Add(ExternalReference::invoke_function_callback(isolate).address(), |
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
440 if (api_external_references != nullptr) { | 442 if (api_external_references != nullptr) { |
441 while (*api_external_references != 0) { | 443 while (*api_external_references != 0) { |
442 Add(reinterpret_cast<Address>(*api_external_references), "<embedder>"); | 444 Add(reinterpret_cast<Address>(*api_external_references), "<embedder>"); |
443 api_external_references++; | 445 api_external_references++; |
444 } | 446 } |
445 } | 447 } |
446 } | 448 } |
447 | 449 |
448 } // namespace internal | 450 } // namespace internal |
449 } // namespace v8 | 451 } // namespace v8 |
OLD | NEW |