OLD | NEW |
1 // Copyright 2006-2008 the V8 project authors. All rights reserved. | 1 // Copyright 2006-2008 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 26 matching lines...) Expand all Loading... |
37 | 37 |
38 // Extra POSIX/ANSI routines for Win32 when when using Visual Studio C++. Please | 38 // Extra POSIX/ANSI routines for Win32 when when using Visual Studio C++. Please |
39 // refer to The Open Group Base Specification for specification of the correct | 39 // refer to The Open Group Base Specification for specification of the correct |
40 // semantics for these functions. | 40 // semantics for these functions. |
41 // (http://www.opengroup.org/onlinepubs/000095399/) | 41 // (http://www.opengroup.org/onlinepubs/000095399/) |
42 #ifdef _MSC_VER | 42 #ifdef _MSC_VER |
43 | 43 |
44 namespace v8 { | 44 namespace v8 { |
45 namespace internal { | 45 namespace internal { |
46 | 46 |
| 47 intptr_t OS::MaxVirtualMemory() { |
| 48 return 0; |
| 49 } |
| 50 |
| 51 |
47 // Test for finite value - usually defined in math.h | 52 // Test for finite value - usually defined in math.h |
48 int isfinite(double x) { | 53 int isfinite(double x) { |
49 return _finite(x); | 54 return _finite(x); |
50 } | 55 } |
51 | 56 |
52 } // namespace v8 | 57 } // namespace v8 |
53 } // namespace internal | 58 } // namespace internal |
54 | 59 |
55 // Test for a NaN (not a number) value - usually defined in math.h | 60 // Test for a NaN (not a number) value - usually defined in math.h |
56 int isnan(double x) { | 61 int isnan(double x) { |
(...skipping 1946 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2003 | 2008 |
2004 void Sampler::Stop() { | 2009 void Sampler::Stop() { |
2005 ASSERT(IsActive()); | 2010 ASSERT(IsActive()); |
2006 SamplerThread::RemoveActiveSampler(this); | 2011 SamplerThread::RemoveActiveSampler(this); |
2007 SetActive(false); | 2012 SetActive(false); |
2008 } | 2013 } |
2009 | 2014 |
2010 #endif // ENABLE_LOGGING_AND_PROFILING | 2015 #endif // ENABLE_LOGGING_AND_PROFILING |
2011 | 2016 |
2012 } } // namespace v8::internal | 2017 } } // namespace v8::internal |
OLD | NEW |