Do not put D8 and TEST natives into the external snapshot.
authorbaixo <baixo@chromium.org>
Thu, 20 Nov 2014 21:04:19 +0000 (13:04 -0800)
committerCommit bot <commit-bot@chromium.org>
Thu, 20 Nov 2014 21:04:26 +0000 (21:04 +0000)
D8 natives, in particular, will cause Windows static builds to not link due to another definition in the generated file d8-js.cc.

BUG=421063

Review URL: https://codereview.chromium.org/738153003

Cr-Commit-Position: refs/heads/master@{#25449}

src/natives-external.cc

index fc66149..4e9111c 100644 (file)
@@ -191,8 +191,6 @@ void NativesCollection<type>::SetRawScriptsSource(
 // my chose to elide them. This we'll explicitly instantiate these.
 template class NativesCollection<CORE>;
 template class NativesCollection<EXPERIMENTAL>;
-template class NativesCollection<D8>;
-template class NativesCollection<TEST>;
 
 }  // namespace v8::internal
 }  // namespace v8