| 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/mips64/assembler-mips64.h" |
| 36 |
| 35 #if V8_TARGET_ARCH_MIPS64 | 37 #if V8_TARGET_ARCH_MIPS64 |
| 36 | 38 |
| 37 #include "src/base/cpu.h" | 39 #include "src/base/cpu.h" |
| 38 #include "src/mips64/assembler-mips64-inl.h" | 40 #include "src/mips64/assembler-mips64-inl.h" |
| 39 | 41 |
| 40 namespace v8 { | 42 namespace v8 { |
| 41 namespace internal { | 43 namespace internal { |
| 42 | 44 |
| 43 | 45 |
| 44 // Get the CPU features enabled by the build. For cross compilation the | 46 // 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... |
| 3272 if (icache_flush_mode != SKIP_ICACHE_FLUSH) { | 3274 if (icache_flush_mode != SKIP_ICACHE_FLUSH) { |
| 3273 CpuFeatures::FlushICache(pc, 4 * Assembler::kInstrSize); | 3275 CpuFeatures::FlushICache(pc, 4 * Assembler::kInstrSize); |
| 3274 } | 3276 } |
| 3275 } | 3277 } |
| 3276 | 3278 |
| 3277 | 3279 |
| 3278 } // namespace internal | 3280 } // namespace internal |
| 3279 } // namespace v8 | 3281 } // namespace v8 |
| 3280 | 3282 |
| 3281 #endif // V8_TARGET_ARCH_MIPS64 | 3283 #endif // V8_TARGET_ARCH_MIPS64 |
| OLD | NEW |