Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(186)

Side by Side Diff: src/platform-win32.cc

Issue 7104048: Revert 8133: Lower heap size limits on systems that are short of virtual memory. (Closed) Base URL: http://v8.googlecode.com/svn/trunk/
Patch Set: Created 9 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/platform-posix.cc ('k') | src/version.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
52 // Test for finite value - usually defined in math.h 47 // Test for finite value - usually defined in math.h
53 int isfinite(double x) { 48 int isfinite(double x) {
54 return _finite(x); 49 return _finite(x);
55 } 50 }
56 51
57 } // namespace v8 52 } // namespace v8
58 } // namespace internal 53 } // namespace internal
59 54
60 // Test for a NaN (not a number) value - usually defined in math.h 55 // Test for a NaN (not a number) value - usually defined in math.h
61 int isnan(double x) { 56 int isnan(double x) {
(...skipping 1955 matching lines...) Expand 10 before | Expand all | Expand 10 after
2017 2012
2018 void Sampler::Stop() { 2013 void Sampler::Stop() {
2019 ASSERT(IsActive()); 2014 ASSERT(IsActive());
2020 SamplerThread::RemoveActiveSampler(this); 2015 SamplerThread::RemoveActiveSampler(this);
2021 SetActive(false); 2016 SetActive(false);
2022 } 2017 }
2023 2018
2024 #endif // ENABLE_LOGGING_AND_PROFILING 2019 #endif // ENABLE_LOGGING_AND_PROFILING
2025 2020
2026 } } // namespace v8::internal 2021 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/platform-posix.cc ('k') | src/version.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698