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 1955 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2012 | 2017 |
2013 void Sampler::Stop() { | 2018 void Sampler::Stop() { |
2014 ASSERT(IsActive()); | 2019 ASSERT(IsActive()); |
2015 SamplerThread::RemoveActiveSampler(this); | 2020 SamplerThread::RemoveActiveSampler(this); |
2016 SetActive(false); | 2021 SetActive(false); |
2017 } | 2022 } |
2018 | 2023 |
2019 #endif // ENABLE_LOGGING_AND_PROFILING | 2024 #endif // ENABLE_LOGGING_AND_PROFILING |
2020 | 2025 |
2021 } } // namespace v8::internal | 2026 } } // namespace v8::internal |
OLD | NEW |