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

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

Issue 174602: Fix lint error. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 11 years, 3 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 | « no previous file | 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 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 1300 matching lines...) Expand 10 before | Expand all | Expand 10 after
1311 static const __int64 nanval = 0xfff8000000000000; 1311 static const __int64 nanval = 0xfff8000000000000;
1312 return *reinterpret_cast<const double*>(&nanval); 1312 return *reinterpret_cast<const double*>(&nanval);
1313 #else // _MSC_VER 1313 #else // _MSC_VER
1314 return NAN; 1314 return NAN;
1315 #endif // _MSC_VER 1315 #endif // _MSC_VER
1316 } 1316 }
1317 1317
1318 1318
1319 int OS::ActivationFrameAlignment() { 1319 int OS::ActivationFrameAlignment() {
1320 #ifdef _WIN64 1320 #ifdef _WIN64
1321 return 16; // C math library requires the stack to be 16-byte aligned. 1321 return 16; // Windows 64-bit ABI requires the stack to be 16-byte aligned.
1322 #else 1322 #else
1323 return 8; // Floating-point math runs faster if stack is at least 8-byte alig ned. 1323 return 8; // Floating-point math runs faster with 8-byte alignment.
1324 #endif 1324 #endif
1325 } 1325 }
1326 1326
1327 1327
1328 bool VirtualMemory::IsReserved() { 1328 bool VirtualMemory::IsReserved() {
1329 return address_ != NULL; 1329 return address_ != NULL;
1330 } 1330 }
1331 1331
1332 1332
1333 VirtualMemory::VirtualMemory(size_t size) { 1333 VirtualMemory::VirtualMemory(size_t size) {
(...skipping 547 matching lines...) Expand 10 before | Expand all | Expand 10 after
1881 1881
1882 // Release the thread handles 1882 // Release the thread handles
1883 CloseHandle(data_->sampler_thread_); 1883 CloseHandle(data_->sampler_thread_);
1884 CloseHandle(data_->profiled_thread_); 1884 CloseHandle(data_->profiled_thread_);
1885 } 1885 }
1886 1886
1887 1887
1888 #endif // ENABLE_LOGGING_AND_PROFILING 1888 #endif // ENABLE_LOGGING_AND_PROFILING
1889 1889
1890 } } // namespace v8::internal 1890 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698