From e4731f816817bc6ea52d1fa2d51cb024bd48c337 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Fri, 23 Dec 2011 15:57:10 -0800 Subject: [PATCH] Upgrade V8 to 3.8.2.1 --- deps/v8/build/common.gypi | 4 ---- deps/v8/src/version.cc | 2 +- deps/v8/tools/gyp/v8.gyp | 3 +++ 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/deps/v8/build/common.gypi b/deps/v8/build/common.gypi index e191679769..9129d0170c 100644 --- a/deps/v8/build/common.gypi +++ b/deps/v8/build/common.gypi @@ -84,10 +84,6 @@ # For a shared library build, results in "libv8-<(soname_version).so". 'soname_version%': '', - - # We want max optimization for the V8 build (if this is not set, chrome - # defaults to low optimization settings) - 'optimize': 'max', }, 'target_defaults': { 'conditions': [ diff --git a/deps/v8/src/version.cc b/deps/v8/src/version.cc index bbd26a4af1..5adcde86cf 100644 --- a/deps/v8/src/version.cc +++ b/deps/v8/src/version.cc @@ -35,7 +35,7 @@ #define MAJOR_VERSION 3 #define MINOR_VERSION 8 #define BUILD_NUMBER 2 -#define PATCH_LEVEL 0 +#define PATCH_LEVEL 1 // Use 1 for candidates and 0 otherwise. // (Boolean macro values are not supported by all preprocessors.) #define IS_CANDIDATE_VERSION 0 diff --git a/deps/v8/tools/gyp/v8.gyp b/deps/v8/tools/gyp/v8.gyp index 8fe9910f7f..66a26b5ed5 100644 --- a/deps/v8/tools/gyp/v8.gyp +++ b/deps/v8/tools/gyp/v8.gyp @@ -221,6 +221,9 @@ { 'target_name': 'v8_base', 'type': '<(library)', + 'variables': { + 'optimize': 'max', + }, 'include_dirs+': [ '../../src', ],