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

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

Issue 9960006: Fix broken build on Windows due to r11198. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 8 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/lazy-instance.h ('k') | no next file » | 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 // 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 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 UNARY_MATH_FUNCTION(sin, CreateTranscendentalFunction(TranscendentalCache::SIN)) 207 UNARY_MATH_FUNCTION(sin, CreateTranscendentalFunction(TranscendentalCache::SIN))
208 UNARY_MATH_FUNCTION(cos, CreateTranscendentalFunction(TranscendentalCache::COS)) 208 UNARY_MATH_FUNCTION(cos, CreateTranscendentalFunction(TranscendentalCache::COS))
209 UNARY_MATH_FUNCTION(tan, CreateTranscendentalFunction(TranscendentalCache::TAN)) 209 UNARY_MATH_FUNCTION(tan, CreateTranscendentalFunction(TranscendentalCache::TAN))
210 UNARY_MATH_FUNCTION(log, CreateTranscendentalFunction(TranscendentalCache::LOG)) 210 UNARY_MATH_FUNCTION(log, CreateTranscendentalFunction(TranscendentalCache::LOG))
211 UNARY_MATH_FUNCTION(sqrt, CreateSqrtFunction()) 211 UNARY_MATH_FUNCTION(sqrt, CreateSqrtFunction())
212 212
213 #undef MATH_FUNCTION 213 #undef MATH_FUNCTION
214 214
215 215
216 void MathSetup() { 216 void MathSetup() {
217 #ifdef _WIN64
217 init_modulo_function(); 218 init_modulo_function();
219 #endif
218 init_fast_sin_function(); 220 init_fast_sin_function();
219 init_fast_cos_function(); 221 init_fast_cos_function();
220 init_fast_tan_function(); 222 init_fast_tan_function();
221 init_fast_log_function(); 223 init_fast_log_function();
222 init_fast_sqrt_function(); 224 init_fast_sqrt_function();
223 } 225 }
224 226
225 227
226 // ---------------------------------------------------------------------------- 228 // ----------------------------------------------------------------------------
227 // The Time class represents time on win32. A timestamp is represented as 229 // The Time class represents time on win32. A timestamp is represented as
(...skipping 1871 matching lines...) Expand 10 before | Expand all | Expand 10 after
2099 2101
2100 2102
2101 void Sampler::Stop() { 2103 void Sampler::Stop() {
2102 ASSERT(IsActive()); 2104 ASSERT(IsActive());
2103 SamplerThread::RemoveActiveSampler(this); 2105 SamplerThread::RemoveActiveSampler(this);
2104 SetActive(false); 2106 SetActive(false);
2105 } 2107 }
2106 2108
2107 2109
2108 } } // namespace v8::internal 2110 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/lazy-instance.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698