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