OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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_SNAPSHOT_NATIVES_H_ | 5 #ifndef V8_SNAPSHOT_NATIVES_H_ |
6 #define V8_SNAPSHOT_NATIVES_H_ | 6 #define V8_SNAPSHOT_NATIVES_H_ |
7 | 7 |
8 #include "src/objects.h" | 8 #include "src/objects.h" |
9 #include "src/vector.h" | 9 #include "src/vector.h" |
10 | 10 |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 typedef NativesCollection<EXPERIMENTAL_EXTRAS> ExperimentalExtraNatives; | 55 typedef NativesCollection<EXPERIMENTAL_EXTRAS> ExperimentalExtraNatives; |
56 | 56 |
57 | 57 |
58 #ifdef V8_USE_EXTERNAL_STARTUP_DATA | 58 #ifdef V8_USE_EXTERNAL_STARTUP_DATA |
59 // Used for reading the natives at runtime. Implementation in natives-empty.cc | 59 // Used for reading the natives at runtime. Implementation in natives-empty.cc |
60 void SetNativesFromFile(StartupData* natives_blob); | 60 void SetNativesFromFile(StartupData* natives_blob); |
61 void ReadNatives(); | 61 void ReadNatives(); |
62 void DisposeNatives(); | 62 void DisposeNatives(); |
63 #endif | 63 #endif |
64 | 64 |
65 } } // namespace v8::internal | 65 } // namespace internal |
| 66 } // namespace v8 |
66 | 67 |
67 #endif // V8_SNAPSHOT_NATIVES_H_ | 68 #endif // V8_SNAPSHOT_NATIVES_H_ |
OLD | NEW |