diff options
Diffstat (limited to 'deps/v8/src/version.cc')
-rw-r--r-- | deps/v8/src/version.cc | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/deps/v8/src/version.cc b/deps/v8/src/version.cc index 6e5b68f2fa..d2166b4db6 100644 --- a/deps/v8/src/version.cc +++ b/deps/v8/src/version.cc @@ -32,9 +32,9 @@ // These macros define the version number for the current version. // NOTE these macros are used by the SCons build script so their names // cannot be changed without changing the SCons build script. -#define MAJOR_VERSION 2 -#define MINOR_VERSION 5 -#define BUILD_NUMBER 9 +#define MAJOR_VERSION 3 +#define MINOR_VERSION 0 +#define BUILD_NUMBER 0 #define PATCH_LEVEL 1 #define CANDIDATE_VERSION false @@ -57,12 +57,19 @@ const char* Version::soname_ = SONAME; // Calculate the V8 version string. void Version::GetString(Vector<char> str) { const char* candidate = IsCandidate() ? " (candidate)" : ""; +#ifdef USE_SIMULATOR + const char* is_simulator = " SIMULATOR"; +#else + const char* is_simulator = ""; +#endif // USE_SIMULATOR if (GetPatch() > 0) { - OS::SNPrintF(str, "%d.%d.%d.%d%s", - GetMajor(), GetMinor(), GetBuild(), GetPatch(), candidate); + OS::SNPrintF(str, "%d.%d.%d.%d%s%s", + GetMajor(), GetMinor(), GetBuild(), GetPatch(), candidate, + is_simulator); } else { - OS::SNPrintF(str, "%d.%d.%d%s", - GetMajor(), GetMinor(), GetBuild(), candidate); + OS::SNPrintF(str, "%d.%d.%d%s%s", + GetMajor(), GetMinor(), GetBuild(), candidate, + is_simulator); } } |