 Chromium Code Reviews
 Chromium Code Reviews Issue 9873023:
  Fix performance regressions due to lazy initialization.  (Closed) 
  Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge
    
  
    Issue 9873023:
  Fix performance regressions due to lazy initialization.  (Closed) 
  Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge| Index: src/platform-cygwin.cc | 
| diff --git a/src/platform-cygwin.cc b/src/platform-cygwin.cc | 
| index fa6fce024b66b25eaa17b04ce66e10bfd4f66707..273ffff47ee7e249c5f72890d4505ba590f9a429 100644 | 
| --- a/src/platform-cygwin.cc | 
| +++ b/src/platform-cygwin.cc | 
| @@ -73,6 +73,14 @@ void OS::SetUp() { | 
| } | 
| +void MathSetup(); // Defined in platform-posix.cc. | 
| 
danno
2012/03/29 12:32:42
I really don't like having this external declarati
 
Philippe
2012/03/29 13:06:53
Done. Indeed. platform-posix.h might also serve la
 | 
| + | 
| +void OS::PostSetUp() { | 
| + // Math functions depend on CPU features therefore they are initialized after | 
| + // CPU. | 
| + MathSetup(); | 
| +} | 
| + | 
| uint64_t OS::CpuFeaturesImpliedByPlatform() { | 
| return 0; // Nothing special about Cygwin. | 
| } |