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

Side by Side Diff: src/ia32/cpu-ia32.cc

Issue 1299563003: Remove grab-bag includes of v8.h from architecture ports. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 4 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
« no previous file with comments | « src/ia32/codegen-ia32.cc ('k') | src/ia32/deoptimizer-ia32.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 // 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 // CPU specific code for ia32 independent of OS goes here. 5 // CPU specific code for ia32 independent of OS goes here.
6 6
7 #ifdef __GNUC__ 7 #ifdef __GNUC__
8 #include "src/third_party/valgrind/valgrind.h" 8 #include "src/third_party/valgrind/valgrind.h"
9 #endif 9 #endif
10 10
11 #include "src/v8.h"
12
13 #if V8_TARGET_ARCH_IA32 11 #if V8_TARGET_ARCH_IA32
14 12
15 #include "src/assembler.h" 13 #include "src/assembler.h"
16 #include "src/macro-assembler.h" 14 #include "src/macro-assembler.h"
17 15
18 namespace v8 { 16 namespace v8 {
19 namespace internal { 17 namespace internal {
20 18
21 void CpuFeatures::FlushICache(void* start, size_t size) { 19 void CpuFeatures::FlushICache(void* start, size_t size) {
22 // No need to flush the instruction cache on Intel. On Intel instruction 20 // No need to flush the instruction cache on Intel. On Intel instruction
(...skipping 13 matching lines...) Expand all
36 #ifdef VALGRIND_DISCARD_TRANSLATIONS 34 #ifdef VALGRIND_DISCARD_TRANSLATIONS
37 unsigned res = VALGRIND_DISCARD_TRANSLATIONS(start, size); 35 unsigned res = VALGRIND_DISCARD_TRANSLATIONS(start, size);
38 USE(res); 36 USE(res);
39 #endif 37 #endif
40 } 38 }
41 39
42 } // namespace internal 40 } // namespace internal
43 } // namespace v8 41 } // namespace v8
44 42
45 #endif // V8_TARGET_ARCH_IA32 43 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/ia32/codegen-ia32.cc ('k') | src/ia32/deoptimizer-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698