Revision: 8624
Author:   [email protected]
Date:     Wed Jul 13 03:00:33 2011
Log:      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

Review URL: http://codereview.chromium.org//7350017
http://code.google.com/p/v8/source/detail?r=8624

Modified:
 /branches/bleeding_edge/SConstruct
 /branches/bleeding_edge/src/d8.gyp
 /branches/bleeding_edge/src/platform-tls.h
 /branches/bleeding_edge/tools/gyp/v8.gyp

=======================================
--- /branches/bleeding_edge/SConstruct  Wed Jul 13 02:09:04 2011
+++ /branches/bleeding_edge/SConstruct  Wed Jul 13 03:00:33 2011
@@ -69,8 +69,8 @@
     'inspector:on': {
       'CPPDEFINES':   ['INSPECTOR'],
     },
-    'fasttls:on': {
-      'CPPDEFINES':   ['V8_FAST_TLS'],
+    'fasttls:off': {
+      'CPPDEFINES':   ['V8_NO_FAST_TLS'],
     },
     'liveobjectlist:on': {
       'CPPDEFINES':   ['ENABLE_DEBUGGER_SUPPORT', 'INSPECTOR',
=======================================
--- /branches/bleeding_edge/src/d8.gyp  Wed Jul 13 02:09:04 2011
+++ /branches/bleeding_edge/src/d8.gyp  Wed Jul 13 03:00:33 2011
@@ -39,7 +39,6 @@
       ],
       'defines': [
         'ENABLE_DEBUGGER_SUPPORT',
-        'V8_FAST_TLS',
       ],
       'sources': [
         'd8.cc',
=======================================
--- /branches/bleeding_edge/src/platform-tls.h  Sun Mar 27 11:40:48 2011
+++ /branches/bleeding_edge/src/platform-tls.h  Wed Jul 13 03:00:33 2011
@@ -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.
=======================================
--- /branches/bleeding_edge/tools/gyp/v8.gyp    Wed Jul 13 02:09:04 2011
+++ /branches/bleeding_edge/tools/gyp/v8.gyp    Wed Jul 13 03:00:33 2011
@@ -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

Reply via email to