OLD | NEW |
1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 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_BOOTSTRAPPER_H_ | 5 #ifndef V8_BOOTSTRAPPER_H_ |
6 #define V8_BOOTSTRAPPER_H_ | 6 #define V8_BOOTSTRAPPER_H_ |
7 | 7 |
8 #include "src/factory.h" | 8 #include "src/factory.h" |
9 | 9 |
10 namespace v8 { | 10 namespace v8 { |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
116 static bool CompileExperimentalBuiltin(Isolate* isolate, int index); | 116 static bool CompileExperimentalBuiltin(Isolate* isolate, int index); |
117 static bool CompileExtraBuiltin(Isolate* isolate, int index); | 117 static bool CompileExtraBuiltin(Isolate* isolate, int index); |
118 static bool CompileExperimentalExtraBuiltin(Isolate* isolate, int index); | 118 static bool CompileExperimentalExtraBuiltin(Isolate* isolate, int index); |
119 static bool CompileCodeStubBuiltin(Isolate* isolate, int index); | 119 static bool CompileCodeStubBuiltin(Isolate* isolate, int index); |
120 static bool InstallCodeStubNatives(Isolate* isolate); | 120 static bool InstallCodeStubNatives(Isolate* isolate); |
121 | 121 |
122 static void ImportNatives(Isolate* isolate, Handle<JSObject> container); | 122 static void ImportNatives(Isolate* isolate, Handle<JSObject> container); |
123 static void ImportExperimentalNatives(Isolate* isolate, | 123 static void ImportExperimentalNatives(Isolate* isolate, |
124 Handle<JSObject> container); | 124 Handle<JSObject> container); |
125 static bool InstallJSBuiltins(Isolate* isolate, Handle<JSObject> container); | 125 static bool InstallJSBuiltins(Isolate* isolate, Handle<JSObject> container); |
| 126 static void ExportPrivateSymbols(Isolate* isolate, |
| 127 Handle<JSObject> container); |
126 | 128 |
127 private: | 129 private: |
128 Isolate* isolate_; | 130 Isolate* isolate_; |
129 typedef int NestingCounterType; | 131 typedef int NestingCounterType; |
130 NestingCounterType nesting_; | 132 NestingCounterType nesting_; |
131 SourceCodeCache extensions_cache_; | 133 SourceCodeCache extensions_cache_; |
132 | 134 |
133 friend class BootstrapperActive; | 135 friend class BootstrapperActive; |
134 friend class Isolate; | 136 friend class Isolate; |
135 friend class NativesExternalStringResource; | 137 friend class NativesExternalStringResource; |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
173 size_t length() const override { return length_; } | 175 size_t length() const override { return length_; } |
174 | 176 |
175 private: | 177 private: |
176 const char* data_; | 178 const char* data_; |
177 size_t length_; | 179 size_t length_; |
178 }; | 180 }; |
179 | 181 |
180 }} // namespace v8::internal | 182 }} // namespace v8::internal |
181 | 183 |
182 #endif // V8_BOOTSTRAPPER_H_ | 184 #endif // V8_BOOTSTRAPPER_H_ |
OLD | NEW |