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 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
243 Add(ExternalReference::wasm_call_trap_callback_for_testing(isolate).address(), | 243 Add(ExternalReference::wasm_call_trap_callback_for_testing(isolate).address(), |
244 "wasm::call_trap_callback_for_testing"); | 244 "wasm::call_trap_callback_for_testing"); |
245 Add(ExternalReference::libc_memchr_function(isolate).address(), | 245 Add(ExternalReference::libc_memchr_function(isolate).address(), |
246 "libc_memchr"); | 246 "libc_memchr"); |
247 Add(ExternalReference::libc_memcpy_function(isolate).address(), | 247 Add(ExternalReference::libc_memcpy_function(isolate).address(), |
248 "libc_memcpy"); | 248 "libc_memcpy"); |
249 Add(ExternalReference::libc_memset_function(isolate).address(), | 249 Add(ExternalReference::libc_memset_function(isolate).address(), |
250 "libc_memset"); | 250 "libc_memset"); |
251 Add(ExternalReference::try_internalize_string_function(isolate).address(), | 251 Add(ExternalReference::try_internalize_string_function(isolate).address(), |
252 "try_internalize_string_function"); | 252 "try_internalize_string_function"); |
| 253 #ifdef V8_INTL_SUPPORT |
| 254 Add(ExternalReference::intl_convert_one_byte_to_lower(isolate).address(), |
| 255 "intl_convert_one_byte_to_lower"); |
| 256 Add(ExternalReference::intl_to_latin1_lower_table(isolate).address(), |
| 257 "intl_to_latin1_lower_table"); |
| 258 #endif // V8_INTL_SUPPORT |
253 Add(ExternalReference::search_string_raw<const uint8_t, const uint8_t>( | 259 Add(ExternalReference::search_string_raw<const uint8_t, const uint8_t>( |
254 isolate) | 260 isolate) |
255 .address(), | 261 .address(), |
256 "search_string_raw<1-byte, 1-byte>"); | 262 "search_string_raw<1-byte, 1-byte>"); |
257 Add(ExternalReference::search_string_raw<const uint8_t, const uc16>(isolate) | 263 Add(ExternalReference::search_string_raw<const uint8_t, const uc16>(isolate) |
258 .address(), | 264 .address(), |
259 "search_string_raw<1-byte, 2-byte>"); | 265 "search_string_raw<1-byte, 2-byte>"); |
260 Add(ExternalReference::search_string_raw<const uc16, const uint8_t>(isolate) | 266 Add(ExternalReference::search_string_raw<const uc16, const uint8_t>(isolate) |
261 .address(), | 267 .address(), |
262 "search_string_raw<2-byte, 1-byte>"); | 268 "search_string_raw<2-byte, 1-byte>"); |
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
474 #else | 480 #else |
475 Add(address, ResolveSymbol(address)); | 481 Add(address, ResolveSymbol(address)); |
476 #endif | 482 #endif |
477 api_external_references++; | 483 api_external_references++; |
478 } | 484 } |
479 } | 485 } |
480 } | 486 } |
481 | 487 |
482 } // namespace internal | 488 } // namespace internal |
483 } // namespace v8 | 489 } // namespace v8 |
OLD | NEW |