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 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
223 Add(ExternalReference::wasm_word64_popcnt(isolate).address(), | 223 Add(ExternalReference::wasm_word64_popcnt(isolate).address(), |
224 "wasm::word64_popcnt"); | 224 "wasm::word64_popcnt"); |
225 Add(ExternalReference::f64_acos_wrapper_function(isolate).address(), | 225 Add(ExternalReference::f64_acos_wrapper_function(isolate).address(), |
226 "f64_acos_wrapper"); | 226 "f64_acos_wrapper"); |
227 Add(ExternalReference::f64_asin_wrapper_function(isolate).address(), | 227 Add(ExternalReference::f64_asin_wrapper_function(isolate).address(), |
228 "f64_asin_wrapper"); | 228 "f64_asin_wrapper"); |
229 Add(ExternalReference::f64_mod_wrapper_function(isolate).address(), | 229 Add(ExternalReference::f64_mod_wrapper_function(isolate).address(), |
230 "f64_mod_wrapper"); | 230 "f64_mod_wrapper"); |
231 Add(ExternalReference::wasm_call_trap_callback_for_testing(isolate).address(), | 231 Add(ExternalReference::wasm_call_trap_callback_for_testing(isolate).address(), |
232 "wasm::call_trap_callback_for_testing"); | 232 "wasm::call_trap_callback_for_testing"); |
| 233 Add(ExternalReference::libc_memchr_function(isolate).address(), |
| 234 "libc_memchr"); |
233 Add(ExternalReference::log_enter_external_function(isolate).address(), | 235 Add(ExternalReference::log_enter_external_function(isolate).address(), |
234 "Logger::EnterExternal"); | 236 "Logger::EnterExternal"); |
235 Add(ExternalReference::log_leave_external_function(isolate).address(), | 237 Add(ExternalReference::log_leave_external_function(isolate).address(), |
236 "Logger::LeaveExternal"); | 238 "Logger::LeaveExternal"); |
237 Add(ExternalReference::address_of_minus_one_half().address(), | 239 Add(ExternalReference::address_of_minus_one_half().address(), |
238 "double_constants.minus_one_half"); | 240 "double_constants.minus_one_half"); |
239 Add(ExternalReference::stress_deopt_count(isolate).address(), | 241 Add(ExternalReference::stress_deopt_count(isolate).address(), |
240 "Isolate::stress_deopt_count_address()"); | 242 "Isolate::stress_deopt_count_address()"); |
241 Add(ExternalReference::runtime_function_table_address(isolate).address(), | 243 Add(ExternalReference::runtime_function_table_address(isolate).address(), |
242 "Runtime::runtime_function_table_address()"); | 244 "Runtime::runtime_function_table_address()"); |
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
443 while (*api_external_references != 0) { | 445 while (*api_external_references != 0) { |
444 Address address = reinterpret_cast<Address>(*api_external_references); | 446 Address address = reinterpret_cast<Address>(*api_external_references); |
445 Add(address, ResolveSymbol(address)); | 447 Add(address, ResolveSymbol(address)); |
446 api_external_references++; | 448 api_external_references++; |
447 } | 449 } |
448 } | 450 } |
449 } | 451 } |
450 | 452 |
451 } // namespace internal | 453 } // namespace internal |
452 } // namespace v8 | 454 } // namespace v8 |
OLD | NEW |