Reviewers: Mads Ager,
Description:
Make fast tls the default
Now V8_NO_FAST_TLS needs to be defined to switch off fast tls access on
platform
which supports it.
[email protected]
BUG=none
TEST=none
Please review this at http://codereview.chromium.org/7350017/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files:
M SConstruct
M src/d8.gyp
M src/platform-tls.h
M tools/gyp/v8.gyp
Index: SConstruct
diff --git a/SConstruct b/SConstruct
index
e629d18b6c7df9b28969ee15e2e8613aa2559b7e..5276ce2cae6e2769cfeecb11f48f5e4f060ed37b
100644
--- a/SConstruct
+++ b/SConstruct
@@ -69,8 +69,8 @@ LIBRARY_FLAGS = {
'inspector:on': {
'CPPDEFINES': ['INSPECTOR'],
},
- 'fasttls:on': {
- 'CPPDEFINES': ['V8_FAST_TLS'],
+ 'fasttls:off': {
+ 'CPPDEFINES': ['V8_NO_FAST_TLS'],
},
'liveobjectlist:on': {
'CPPDEFINES': ['ENABLE_DEBUGGER_SUPPORT', 'INSPECTOR',
Index: src/d8.gyp
diff --git a/src/d8.gyp b/src/d8.gyp
index
445d230cbfd39c564b064f68e06973c9d3f242f2..85914ec672a1e6e6bde97a2674aa281df19b3412
100644
--- a/src/d8.gyp
+++ b/src/d8.gyp
@@ -39,7 +39,6 @@
],
'defines': [
'ENABLE_DEBUGGER_SUPPORT',
- 'V8_FAST_TLS',
],
'sources': [
'd8.cc',
Index: src/platform-tls.h
diff --git a/src/platform-tls.h b/src/platform-tls.h
index
564917540b1e8afe4425bdf570db320546fe5c17..32516636be0b166fa66011efe00658b96a4e1fa3
100644
--- a/src/platform-tls.h
+++ b/src/platform-tls.h
@@ -30,7 +30,7 @@
#ifndef V8_PLATFORM_TLS_H_
#define V8_PLATFORM_TLS_H_
-#ifdef V8_FAST_TLS
+#ifndef V8_NO_FAST_TLS
// When fast TLS is requested we include the appropriate
// implementation header.
Index: tools/gyp/v8.gyp
diff --git a/tools/gyp/v8.gyp b/tools/gyp/v8.gyp
index
3be5cc052411a1f3375b269cccc538ae133ca47a..26504836afddad8b8b879557fded77a8b08bd026
100644
--- a/tools/gyp/v8.gyp
+++ b/tools/gyp/v8.gyp
@@ -63,7 +63,6 @@
'target_defaults': {
'defines': [
'ENABLE_DEBUGGER_SUPPORT',
- 'V8_FAST_TLS',
],
'conditions': [
['OS!="mac"', {
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev