Revision: 8615
Author:   [email protected]
Date:     Tue Jul 12 00:50:25 2011
Log:      Remove prematurely added dependencies from preparser.

Also remove some dead code.

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

Modified:
 /branches/bleeding_edge/src/SConscript
 /branches/bleeding_edge/src/conversions.cc

=======================================
--- /branches/bleeding_edge/src/SConscript      Wed Jul  6 02:15:10 2011
+++ /branches/bleeding_edge/src/SConscript      Tue Jul 12 00:50:25 2011
@@ -231,15 +231,11 @@
 PREPARSER_SOURCES = {
   'all': Split("""
     allocation.cc
-    bignum.cc
-    cached-powers.cc
-    conversions.cc
     hashmap.cc
     preparse-data.cc
     preparser.cc
     preparser-api.cc
     scanner-base.cc
-    strtod.cc
     token.cc
     unicode.cc
     utils.cc
=======================================
--- /branches/bleeding_edge/src/conversions.cc  Wed Jul  6 02:15:10 2011
+++ /branches/bleeding_edge/src/conversions.cc  Tue Jul 12 00:50:25 2011
@@ -429,25 +429,5 @@
   builder.AddSubstring(decimal_buffer, decimal_pos);
   return builder.Finalize();
 }
-
-
-static Mutex* dtoa_lock_one = OS::CreateMutex();
-static Mutex* dtoa_lock_zero = OS::CreateMutex();
-

 } }  // namespace v8::internal
-
-
-extern "C" {
-void ACQUIRE_DTOA_LOCK(int n) {
-  ASSERT(n == 0 || n == 1);
- (n == 0 ? v8::internal::dtoa_lock_zero : v8::internal::dtoa_lock_one)->Lock();
-}
-
-
-void FREE_DTOA_LOCK(int n) {
-  ASSERT(n == 0 || n == 1);
-  (n == 0 ? v8::internal::dtoa_lock_zero : v8::internal::dtoa_lock_one)->
-      Unlock();
-}
-}

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to