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 #include "src/snapshot/natives.h" | 5 #include "src/snapshot/natives.h" |
6 | 6 |
7 #include "src/base/logging.h" | 7 #include "src/base/logging.h" |
8 #include "src/list.h" | 8 #include "src/list.h" |
9 #include "src/list-inl.h" | 9 #include "src/list-inl.h" |
10 #include "src/snapshot/snapshot-source-sink.h" | 10 #include "src/snapshot/snapshot-source-sink.h" |
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
225 Vector<const char> NativesCollection<type>::GetScriptsSource() { | 225 Vector<const char> NativesCollection<type>::GetScriptsSource() { |
226 return NativesHolder<type>::get()->GetScriptsSource(); | 226 return NativesHolder<type>::get()->GetScriptsSource(); |
227 } | 227 } |
228 | 228 |
229 | 229 |
230 // The compiler can't 'see' all uses of the static methods and hence | 230 // The compiler can't 'see' all uses of the static methods and hence |
231 // my choice to elide them. This we'll explicitly instantiate these. | 231 // my choice to elide them. This we'll explicitly instantiate these. |
232 template class NativesCollection<CORE>; | 232 template class NativesCollection<CORE>; |
233 template class NativesCollection<EXPERIMENTAL>; | 233 template class NativesCollection<EXPERIMENTAL>; |
234 template class NativesCollection<EXTRAS>; | 234 template class NativesCollection<EXTRAS>; |
235 | 235 } // namespace internal |
236 } // namespace v8::internal | |
237 } // namespace v8 | 236 } // namespace v8 |
OLD | NEW |