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/counters.h" | 9 #include "src/counters.h" |
10 #include "src/deoptimizer.h" | 10 #include "src/deoptimizer.h" |
(...skipping 13 matching lines...) Expand all Loading... |
24 } | 24 } |
25 | 25 |
26 ExternalReferenceTable::ExternalReferenceTable(Isolate* isolate) { | 26 ExternalReferenceTable::ExternalReferenceTable(Isolate* isolate) { |
27 // Miscellaneous | 27 // Miscellaneous |
28 Add(ExternalReference::roots_array_start(isolate).address(), | 28 Add(ExternalReference::roots_array_start(isolate).address(), |
29 "Heap::roots_array_start()"); | 29 "Heap::roots_array_start()"); |
30 Add(ExternalReference::address_of_stack_limit(isolate).address(), | 30 Add(ExternalReference::address_of_stack_limit(isolate).address(), |
31 "StackGuard::address_of_jslimit()"); | 31 "StackGuard::address_of_jslimit()"); |
32 Add(ExternalReference::address_of_real_stack_limit(isolate).address(), | 32 Add(ExternalReference::address_of_real_stack_limit(isolate).address(), |
33 "StackGuard::address_of_real_jslimit()"); | 33 "StackGuard::address_of_real_jslimit()"); |
34 Add(ExternalReference::new_space_start(isolate).address(), | |
35 "Heap::NewSpaceStart()"); | |
36 Add(ExternalReference::new_space_allocation_limit_address(isolate).address(), | 34 Add(ExternalReference::new_space_allocation_limit_address(isolate).address(), |
37 "Heap::NewSpaceAllocationLimitAddress()"); | 35 "Heap::NewSpaceAllocationLimitAddress()"); |
38 Add(ExternalReference::new_space_allocation_top_address(isolate).address(), | 36 Add(ExternalReference::new_space_allocation_top_address(isolate).address(), |
39 "Heap::NewSpaceAllocationTopAddress()"); | 37 "Heap::NewSpaceAllocationTopAddress()"); |
40 Add(ExternalReference::mod_two_doubles_operation(isolate).address(), | 38 Add(ExternalReference::mod_two_doubles_operation(isolate).address(), |
41 "mod_two_doubles"); | 39 "mod_two_doubles"); |
42 // Keyed lookup cache. | 40 // Keyed lookup cache. |
43 Add(ExternalReference::keyed_lookup_cache_keys(isolate).address(), | 41 Add(ExternalReference::keyed_lookup_cache_keys(isolate).address(), |
44 "KeyedLookupCache::keys()"); | 42 "KeyedLookupCache::keys()"); |
45 Add(ExternalReference::keyed_lookup_cache_field_offsets(isolate).address(), | 43 Add(ExternalReference::keyed_lookup_cache_field_offsets(isolate).address(), |
(...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
347 for (int entry = 0; entry < kDeoptTableSerializeEntryCount; ++entry) { | 345 for (int entry = 0; entry < kDeoptTableSerializeEntryCount; ++entry) { |
348 Address address = Deoptimizer::GetDeoptimizationEntry( | 346 Address address = Deoptimizer::GetDeoptimizationEntry( |
349 isolate, entry, Deoptimizer::LAZY, | 347 isolate, entry, Deoptimizer::LAZY, |
350 Deoptimizer::CALCULATE_ENTRY_ADDRESS); | 348 Deoptimizer::CALCULATE_ENTRY_ADDRESS); |
351 Add(address, "lazy_deopt"); | 349 Add(address, "lazy_deopt"); |
352 } | 350 } |
353 } | 351 } |
354 | 352 |
355 } // namespace internal | 353 } // namespace internal |
356 } // namespace v8 | 354 } // namespace v8 |
OLD | NEW |