| 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 #ifndef V8_EXTERNAL_REFERENCE_TABLE_H_ | 5 #ifndef V8_EXTERNAL_REFERENCE_TABLE_H_ |
| 6 #define V8_EXTERNAL_REFERENCE_TABLE_H_ | 6 #define V8_EXTERNAL_REFERENCE_TABLE_H_ |
| 7 | 7 |
| 8 #include "src/address-map.h" | 8 #include "src/address-map.h" |
| 9 | 9 |
| 10 namespace v8 { | 10 namespace v8 { |
| (...skipping 22 matching lines...) Expand all Loading... |
| 33 const char* name; | 33 const char* name; |
| 34 }; | 34 }; |
| 35 | 35 |
| 36 explicit ExternalReferenceTable(Isolate* isolate); | 36 explicit ExternalReferenceTable(Isolate* isolate); |
| 37 | 37 |
| 38 void Add(Address address, const char* name) { | 38 void Add(Address address, const char* name) { |
| 39 ExternalReferenceEntry entry = {address, name}; | 39 ExternalReferenceEntry entry = {address, name}; |
| 40 refs_.Add(entry); | 40 refs_.Add(entry); |
| 41 } | 41 } |
| 42 | 42 |
| 43 void AddReferences(Isolate* isolate); |
| 44 void AddBuiltins(Isolate* isolate); |
| 45 void AddRuntimeFunctions(Isolate* isolate); |
| 46 void AddStatCounters(Isolate* isolate); |
| 47 void AddIsolateAddresses(Isolate* isolate); |
| 48 void AddAccessors(Isolate* isolate); |
| 49 void AddStubCache(Isolate* isolate); |
| 50 void AddDeoptEntries(Isolate* isolate); |
| 51 void AddApiReferences(Isolate* isolate); |
| 52 |
| 43 List<ExternalReferenceEntry> refs_; | 53 List<ExternalReferenceEntry> refs_; |
| 44 | 54 |
| 45 DISALLOW_COPY_AND_ASSIGN(ExternalReferenceTable); | 55 DISALLOW_COPY_AND_ASSIGN(ExternalReferenceTable); |
| 46 }; | 56 }; |
| 47 | 57 |
| 48 } // namespace internal | 58 } // namespace internal |
| 49 } // namespace v8 | 59 } // namespace v8 |
| 50 #endif // V8_EXTERNAL_REFERENCE_TABLE_H_ | 60 #endif // V8_EXTERNAL_REFERENCE_TABLE_H_ |
| OLD | NEW |