// Copyright 2011 Google Inc. All Rights Reserved. // This file was generated from .js source files by GYP. If you // want to make changes to this file you should either change the // javascript source files or the GYP script. #include "src/init/v8.h" #include "src/snapshot/natives.h" #include "src/utils/utils.h" namespace v8 { namespace internal { static const char sources[] = { 40, 102, 117, 110, 99, 116, 105, 111, 110, 40, 41, 32, 123, 125, 41 }; template <> int NativesCollection::GetBuiltinsCount() { return 1; } template <> int NativesCollection::GetIndex(const char* name) { if (strcmp(name, "dummy") == 0) return 0; return -1; } template <> Vector NativesCollection::GetScriptSource(int index) { if (index == 0) return Vector(sources + 0, 15); return Vector("", 0); } template <> Vector NativesCollection::GetScriptName(int index) { if (index == 0) return Vector("native dummy.js", 15); return Vector("", 0); } template <> Vector NativesCollection::GetScriptsSource() { return Vector(sources, 15); } } // internal } // v8