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

Side by Side Diff: src/atomicops_internals_x86_gcc.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/atomicops.h ('k') | src/atomicops_internals_x86_msvc.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 2010 the V8 project authors. All rights reserved. 1 // Copyright 2010 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 gets enough CPU information to optimize the 5 // This module gets enough CPU information to optimize the
6 // atomicops module on x86. 6 // atomicops module on x86.
7 7
8 #include <string.h> 8 #include <string.h>
9 9
10 #include "atomicops.h" 10 #include "src/atomicops.h"
11 11
12 // This file only makes sense with atomicops_internals_x86_gcc.h -- it 12 // This file only makes sense with atomicops_internals_x86_gcc.h -- it
13 // depends on structs that are defined in that file. If atomicops.h 13 // depends on structs that are defined in that file. If atomicops.h
14 // doesn't sub-include that file, then we aren't needed, and shouldn't 14 // doesn't sub-include that file, then we aren't needed, and shouldn't
15 // try to do anything. 15 // try to do anything.
16 #ifdef V8_ATOMICOPS_INTERNALS_X86_GCC_H_ 16 #ifdef V8_ATOMICOPS_INTERNALS_X86_GCC_H_
17 17
18 // Inline cpuid instruction. In PIC compilations, %ebx contains the address 18 // Inline cpuid instruction. In PIC compilations, %ebx contains the address
19 // of the global offset table. To avoid breaking such executables, this code 19 // of the global offset table. To avoid breaking such executables, this code
20 // must preserve that register's value across cpuid instructions. 20 // must preserve that register's value across cpuid instructions.
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 102
103 103
104 // A global to get use initialized on startup via static initialization :/ 104 // A global to get use initialized on startup via static initialization :/
105 AtomicOpsx86Initializer g_initer; 105 AtomicOpsx86Initializer g_initer;
106 106
107 } // namespace 107 } // namespace
108 108
109 #endif // if x86 109 #endif // if x86
110 110
111 #endif // ifdef V8_ATOMICOPS_INTERNALS_X86_GCC_H_ 111 #endif // ifdef V8_ATOMICOPS_INTERNALS_X86_GCC_H_
OLDNEW
« no previous file with comments | « src/atomicops.h ('k') | src/atomicops_internals_x86_msvc.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698