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

Side by Side Diff: src/platform.h

Issue 9580007: Revert r10908 due to flakiness and crashes. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 9 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/mips/lithium-mips.cc ('k') | src/platform-nullos.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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 // Use AtomicWord for a machine-sized pointer. It is assumed that 89 // Use AtomicWord for a machine-sized pointer. It is assumed that
90 // reads and writes of naturally aligned values of this type are atomic. 90 // reads and writes of naturally aligned values of this type are atomic.
91 typedef intptr_t AtomicWord; 91 typedef intptr_t AtomicWord;
92 92
93 class Semaphore; 93 class Semaphore;
94 class Mutex; 94 class Mutex;
95 95
96 double ceiling(double x); 96 double ceiling(double x);
97 double modulo(double x, double y); 97 double modulo(double x, double y);
98 98
99 // Custom implementation of sin, cos, tan and log.
100 double fast_sin(double input);
101 double fast_cos(double input);
102 double fast_tan(double input);
103 double fast_log(double input);
104
105 // Forward declarations. 99 // Forward declarations.
106 class Socket; 100 class Socket;
107 101
108 // ---------------------------------------------------------------------------- 102 // ----------------------------------------------------------------------------
109 // OS 103 // OS
110 // 104 //
111 // This class has static methods for the different platform specific 105 // This class has static methods for the different platform specific
112 // functions. Add methods here to cope with differences between the 106 // functions. Add methods here to cope with differences between the
113 // supported platforms. 107 // supported platforms.
114 108
(...skipping 588 matching lines...) Expand 10 before | Expand all | Expand 10 after
703 Atomic32 active_; 697 Atomic32 active_;
704 PlatformData* data_; // Platform specific data. 698 PlatformData* data_; // Platform specific data.
705 int samples_taken_; // Counts stack samples taken. 699 int samples_taken_; // Counts stack samples taken.
706 DISALLOW_IMPLICIT_CONSTRUCTORS(Sampler); 700 DISALLOW_IMPLICIT_CONSTRUCTORS(Sampler);
707 }; 701 };
708 702
709 703
710 } } // namespace v8::internal 704 } } // namespace v8::internal
711 705
712 #endif // V8_PLATFORM_H_ 706 #endif // V8_PLATFORM_H_
OLDNEW
« no previous file with comments | « src/mips/lithium-mips.cc ('k') | src/platform-nullos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698