Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(578)

Side by Side Diff: src/natives-external.cc

Issue 738153003: Do not put D8 and TEST natives into the external snapshot. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/natives.h" 5 #include "src/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-source-sink.h" 10 #include "src/snapshot-source-sink.h"
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 void NativesCollection<type>::SetRawScriptsSource( 184 void NativesCollection<type>::SetRawScriptsSource(
185 Vector<const char> raw_source) { 185 Vector<const char> raw_source) {
186 CHECK(false); // Use SetNativesFromFile for this implementation. 186 CHECK(false); // Use SetNativesFromFile for this implementation.
187 } 187 }
188 188
189 189
190 // The compiler can't 'see' all uses of the static methods and hence 190 // The compiler can't 'see' all uses of the static methods and hence
191 // my chose to elide them. This we'll explicitly instantiate these. 191 // my chose to elide them. This we'll explicitly instantiate these.
192 template class NativesCollection<CORE>; 192 template class NativesCollection<CORE>;
193 template class NativesCollection<EXPERIMENTAL>; 193 template class NativesCollection<EXPERIMENTAL>;
194 template class NativesCollection<D8>;
195 template class NativesCollection<TEST>;
196 194
197 } // namespace v8::internal 195 } // namespace v8::internal
198 } // namespace v8 196 } // namespace v8
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698