| Index: src/version.cc
|
| diff --git a/src/version.cc b/src/version.cc
|
| index 692360f1c2ccb6e527c4ddb3d9bb1cd5c3cc885b..b8cceb5e60f3c7df4ac18996e996b960110356f0 100644
|
| --- a/src/version.cc
|
| +++ b/src/version.cc
|
| @@ -32,8 +32,8 @@
|
| // 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 6
|
| +#define MAJOR_VERSION 3
|
| +#define MINOR_VERSION 0
|
| #define BUILD_NUMBER 0
|
| #define PATCH_LEVEL 0
|
| // Use 1 for candidates and 0 otherwise.
|
| @@ -78,12 +78,19 @@ const char* Version::version_string_ = VERSION_STRING;
|
| // 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);
|
| }
|
| }
|
|
|
|
|