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

Side by Side Diff: src/cpu.cc

Issue 304153016: Use full include paths everywhere (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 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/cpu.h ('k') | src/cpu-profiler.h » ('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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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 #include "cpu.h" 5 #include "src/cpu.h"
6 6
7 #if V8_LIBC_MSVCRT 7 #if V8_LIBC_MSVCRT
8 #include <intrin.h> // __cpuid() 8 #include <intrin.h> // __cpuid()
9 #endif 9 #endif
10 #if V8_OS_POSIX 10 #if V8_OS_POSIX
11 #include <unistd.h> // sysconf() 11 #include <unistd.h> // sysconf()
12 #endif 12 #endif
13 #if V8_OS_QNX 13 #if V8_OS_QNX
14 #include <sys/syspage.h> // cpuinfo 14 #include <sys/syspage.h> // cpuinfo
15 #endif 15 #endif
16 16
17 #include <ctype.h> 17 #include <ctype.h>
18 #include <limits.h> 18 #include <limits.h>
19 #include <stdio.h> 19 #include <stdio.h>
20 #include <stdlib.h> 20 #include <stdlib.h>
21 #include <string.h> 21 #include <string.h>
22 #include <algorithm> 22 #include <algorithm>
23 23
24 #include "checks.h" 24 #include "src/checks.h"
25 #if V8_OS_WIN 25 #if V8_OS_WIN
26 #include "win32-headers.h" 26 #include "src/win32-headers.h"
27 #endif 27 #endif
28 28
29 namespace v8 { 29 namespace v8 {
30 namespace internal { 30 namespace internal {
31 31
32 #if V8_HOST_ARCH_IA32 || V8_HOST_ARCH_X64 32 #if V8_HOST_ARCH_IA32 || V8_HOST_ARCH_X64
33 33
34 // Define __cpuid() for non-MSVC libraries. 34 // Define __cpuid() for non-MSVC libraries.
35 #if !V8_LIBC_MSVCRT 35 #if !V8_LIBC_MSVCRT
36 36
(...skipping 453 matching lines...) Expand 10 before | Expand all | Expand 10 after
490 if (end == part) { 490 if (end == part) {
491 part_ = 0; 491 part_ = 0;
492 } 492 }
493 delete[] part; 493 delete[] part;
494 } 494 }
495 495
496 #endif 496 #endif
497 } 497 }
498 498
499 } } // namespace v8::internal 499 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/cpu.h ('k') | src/cpu-profiler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698