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

Side by Side Diff: src/base/platform/platform.h

Issue 864803002: Remove deprecated v8::base::OS::nan_value(). (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix invalid test expectation. Created 5 years, 11 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
« no previous file with comments | « src/assembler.cc ('k') | src/base/platform/platform-posix.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // This module contains the platform-specific code. This make the rest of the 5 // This module contains the platform-specific code. This make the rest of the
6 // code less dependent on operating system, compilers and runtime libraries. 6 // code less dependent on operating system, compilers and runtime libraries.
7 // This module does specifically not deal with differences between different 7 // This module does specifically not deal with differences between different
8 // processor architecture. 8 // processor architecture.
9 // The platform classes have the same definition for all platforms. The 9 // The platform classes have the same definition for all platforms. The
10 // implementation for a particular platform is put in platform_<os>.cc. 10 // implementation for a particular platform is put in platform_<os>.cc.
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after
239 }; 239 };
240 240
241 static std::vector<SharedLibraryAddress> GetSharedLibraryAddresses(); 241 static std::vector<SharedLibraryAddress> GetSharedLibraryAddresses();
242 242
243 // Support for the profiler. Notifies the external profiling 243 // Support for the profiler. Notifies the external profiling
244 // process that a code moving garbage collection starts. Can do 244 // process that a code moving garbage collection starts. Can do
245 // nothing, in which case the code objects must not move (e.g., by 245 // nothing, in which case the code objects must not move (e.g., by
246 // using --never-compact) if accurate profiling is desired. 246 // using --never-compact) if accurate profiling is desired.
247 static void SignalCodeMovingGC(); 247 static void SignalCodeMovingGC();
248 248
249 // Returns the double constant NAN
250 static double nan_value();
251
252 // Support runtime detection of whether the hard float option of the 249 // Support runtime detection of whether the hard float option of the
253 // EABI is used. 250 // EABI is used.
254 static bool ArmUsingHardFloat(); 251 static bool ArmUsingHardFloat();
255 252
256 // Returns the activation frame alignment constraint or zero if 253 // Returns the activation frame alignment constraint or zero if
257 // the platform doesn't care. Guaranteed to be a power of two. 254 // the platform doesn't care. Guaranteed to be a power of two.
258 static int ActivationFrameAlignment(); 255 static int ActivationFrameAlignment();
259 256
260 static int GetCurrentProcessId(); 257 static int GetCurrentProcessId();
261 258
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
469 char name_[kMaxThreadNameLength]; 466 char name_[kMaxThreadNameLength];
470 int stack_size_; 467 int stack_size_;
471 Semaphore* start_semaphore_; 468 Semaphore* start_semaphore_;
472 469
473 DISALLOW_COPY_AND_ASSIGN(Thread); 470 DISALLOW_COPY_AND_ASSIGN(Thread);
474 }; 471 };
475 472
476 } } // namespace v8::base 473 } } // namespace v8::base
477 474
478 #endif // V8_BASE_PLATFORM_PLATFORM_H_ 475 #endif // V8_BASE_PLATFORM_PLATFORM_H_
OLDNEW
« no previous file with comments | « src/assembler.cc ('k') | src/base/platform/platform-posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698