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 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
232 Add(ExternalReference::wasm_call_trap_callback_for_testing(isolate).address(), | 232 Add(ExternalReference::wasm_call_trap_callback_for_testing(isolate).address(), |
233 "wasm::call_trap_callback_for_testing"); | 233 "wasm::call_trap_callback_for_testing"); |
234 Add(ExternalReference::libc_memchr_function(isolate).address(), | 234 Add(ExternalReference::libc_memchr_function(isolate).address(), |
235 "libc_memchr"); | 235 "libc_memchr"); |
236 Add(ExternalReference::libc_memcpy_function(isolate).address(), | 236 Add(ExternalReference::libc_memcpy_function(isolate).address(), |
237 "libc_memcpy"); | 237 "libc_memcpy"); |
238 Add(ExternalReference::libc_memset_function(isolate).address(), | 238 Add(ExternalReference::libc_memset_function(isolate).address(), |
239 "libc_memset"); | 239 "libc_memset"); |
240 Add(ExternalReference::try_internalize_string_function(isolate).address(), | 240 Add(ExternalReference::try_internalize_string_function(isolate).address(), |
241 "try_internalize_string_function"); | 241 "try_internalize_string_function"); |
| 242 Add(ExternalReference::search_string_raw<const uint8_t, const uint8_t>( |
| 243 isolate) |
| 244 .address(), |
| 245 "search_string_raw<1-byte, 1-byte>"); |
| 246 Add(ExternalReference::search_string_raw<const uint8_t, const uc16>(isolate) |
| 247 .address(), |
| 248 "search_string_raw<1-byte, 2-byte>"); |
| 249 Add(ExternalReference::search_string_raw<const uc16, const uint8_t>(isolate) |
| 250 .address(), |
| 251 "search_string_raw<2-byte, 1-byte>"); |
| 252 Add(ExternalReference::search_string_raw<const uc16, const uc16>(isolate) |
| 253 .address(), |
| 254 "search_string_raw<1-byte, 2-byte>"); |
242 Add(ExternalReference::log_enter_external_function(isolate).address(), | 255 Add(ExternalReference::log_enter_external_function(isolate).address(), |
243 "Logger::EnterExternal"); | 256 "Logger::EnterExternal"); |
244 Add(ExternalReference::log_leave_external_function(isolate).address(), | 257 Add(ExternalReference::log_leave_external_function(isolate).address(), |
245 "Logger::LeaveExternal"); | 258 "Logger::LeaveExternal"); |
246 Add(ExternalReference::address_of_minus_one_half().address(), | 259 Add(ExternalReference::address_of_minus_one_half().address(), |
247 "double_constants.minus_one_half"); | 260 "double_constants.minus_one_half"); |
248 Add(ExternalReference::stress_deopt_count(isolate).address(), | 261 Add(ExternalReference::stress_deopt_count(isolate).address(), |
249 "Isolate::stress_deopt_count_address()"); | 262 "Isolate::stress_deopt_count_address()"); |
250 Add(ExternalReference::runtime_function_table_address(isolate).address(), | 263 Add(ExternalReference::runtime_function_table_address(isolate).address(), |
251 "Runtime::runtime_function_table_address()"); | 264 "Runtime::runtime_function_table_address()"); |
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
446 while (*api_external_references != 0) { | 459 while (*api_external_references != 0) { |
447 Address address = reinterpret_cast<Address>(*api_external_references); | 460 Address address = reinterpret_cast<Address>(*api_external_references); |
448 Add(address, ResolveSymbol(address)); | 461 Add(address, ResolveSymbol(address)); |
449 api_external_references++; | 462 api_external_references++; |
450 } | 463 } |
451 } | 464 } |
452 } | 465 } |
453 | 466 |
454 } // namespace internal | 467 } // namespace internal |
455 } // namespace v8 | 468 } // namespace v8 |
OLD | NEW |