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

Side by Side Diff: src/mips/cpu-mips.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/mips/constants-mips.cc ('k') | src/mips/deoptimizer-mips.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 arm independent of OS goes here. 5 // CPU specific code for arm independent of OS goes here.
6 6
7 #include <sys/syscall.h> 7 #include <sys/syscall.h>
8 #include <unistd.h> 8 #include <unistd.h>
9 9
10 #ifdef __mips 10 #ifdef __mips
11 #include <asm/cachectl.h> 11 #include <asm/cachectl.h>
12 #endif // #ifdef __mips 12 #endif // #ifdef __mips
13 13
14 #include "src/v8.h"
15
16 #if V8_TARGET_ARCH_MIPS 14 #if V8_TARGET_ARCH_MIPS
17 15
18 #include "src/assembler.h" 16 #include "src/assembler.h"
19 #include "src/macro-assembler.h" 17 #include "src/macro-assembler.h"
20 18
21 #include "src/simulator.h" // For cache flushing. 19 #include "src/simulator.h" // For cache flushing.
22 20
23 namespace v8 { 21 namespace v8 {
24 namespace internal { 22 namespace internal {
25 23
(...skipping 25 matching lines...) Expand all
51 // None of this code ends up in the snapshot so there are no issues 49 // None of this code ends up in the snapshot so there are no issues
52 // around whether or not to generate the code when building snapshots. 50 // around whether or not to generate the code when building snapshots.
53 Simulator::FlushICache(Isolate::Current()->simulator_i_cache(), start, size); 51 Simulator::FlushICache(Isolate::Current()->simulator_i_cache(), start, size);
54 #endif // USE_SIMULATOR. 52 #endif // USE_SIMULATOR.
55 } 53 }
56 54
57 } // namespace internal 55 } // namespace internal
58 } // namespace v8 56 } // namespace v8
59 57
60 #endif // V8_TARGET_ARCH_MIPS 58 #endif // V8_TARGET_ARCH_MIPS
OLDNEW
« no previous file with comments | « src/mips/constants-mips.cc ('k') | src/mips/deoptimizer-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698