OLD | NEW |
1 // Copyright (c) 1994-2006 Sun Microsystems Inc. | 1 // Copyright (c) 1994-2006 Sun Microsystems Inc. |
2 // All Rights Reserved. | 2 // All Rights Reserved. |
3 // | 3 // |
4 // Redistribution and use in source and binary forms, with or without | 4 // Redistribution and use in source and binary forms, with or without |
5 // modification, are permitted provided that the following conditions are | 5 // modification, are permitted provided that the following conditions are |
6 // met: | 6 // met: |
7 // | 7 // |
8 // - Redistributions of source code must retain the above copyright notice, | 8 // - Redistributions of source code must retain the above copyright notice, |
9 // this list of conditions and the following disclaimer. | 9 // this list of conditions and the following disclaimer. |
10 // | 10 // |
(...skipping 14 matching lines...) Expand all Loading... |
25 // PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR | 25 // PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR |
26 // PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF | 26 // PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF |
27 // LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING | 27 // LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING |
28 // NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS | 28 // NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS |
29 // SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 29 // SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
30 | 30 |
31 // The original source code covered by the above license above has been | 31 // The original source code covered by the above license above has been |
32 // modified significantly by Google Inc. | 32 // modified significantly by Google Inc. |
33 // Copyright 2012 the V8 project authors. All rights reserved. | 33 // Copyright 2012 the V8 project authors. All rights reserved. |
34 | 34 |
35 #include "src/v8.h" | |
36 | |
37 #if V8_TARGET_ARCH_MIPS64 | 35 #if V8_TARGET_ARCH_MIPS64 |
38 | 36 |
39 #include "src/base/cpu.h" | 37 #include "src/base/cpu.h" |
40 #include "src/mips64/assembler-mips64-inl.h" | 38 #include "src/mips64/assembler-mips64-inl.h" |
41 | 39 |
42 namespace v8 { | 40 namespace v8 { |
43 namespace internal { | 41 namespace internal { |
44 | 42 |
45 | 43 |
46 // Get the CPU features enabled by the build. For cross compilation the | 44 // Get the CPU features enabled by the build. For cross compilation the |
(...skipping 3227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3274 if (icache_flush_mode != SKIP_ICACHE_FLUSH) { | 3272 if (icache_flush_mode != SKIP_ICACHE_FLUSH) { |
3275 CpuFeatures::FlushICache(pc, 4 * Assembler::kInstrSize); | 3273 CpuFeatures::FlushICache(pc, 4 * Assembler::kInstrSize); |
3276 } | 3274 } |
3277 } | 3275 } |
3278 | 3276 |
3279 | 3277 |
3280 } // namespace internal | 3278 } // namespace internal |
3281 } // namespace v8 | 3279 } // namespace v8 |
3282 | 3280 |
3283 #endif // V8_TARGET_ARCH_MIPS64 | 3281 #endif // V8_TARGET_ARCH_MIPS64 |
OLD | NEW |