| 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/mips/assembler-mips.h" |
| 36 |
| 35 #if V8_TARGET_ARCH_MIPS | 37 #if V8_TARGET_ARCH_MIPS |
| 36 | 38 |
| 37 #include "src/base/bits.h" | 39 #include "src/base/bits.h" |
| 38 #include "src/base/cpu.h" | 40 #include "src/base/cpu.h" |
| 39 #include "src/mips/assembler-mips-inl.h" | 41 #include "src/mips/assembler-mips-inl.h" |
| 40 | 42 |
| 41 namespace v8 { | 43 namespace v8 { |
| 42 namespace internal { | 44 namespace internal { |
| 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 3046 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3091 if (patched) { | 3093 if (patched) { |
| 3092 CpuFeatures::FlushICache(pc + 2, sizeof(Address)); | 3094 CpuFeatures::FlushICache(pc + 2, sizeof(Address)); |
| 3093 } | 3095 } |
| 3094 } | 3096 } |
| 3095 | 3097 |
| 3096 | 3098 |
| 3097 } // namespace internal | 3099 } // namespace internal |
| 3098 } // namespace v8 | 3100 } // namespace v8 |
| 3099 | 3101 |
| 3100 #endif // V8_TARGET_ARCH_MIPS | 3102 #endif // V8_TARGET_ARCH_MIPS |
| OLD | NEW |