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 16 matching lines...) Expand all Loading... |
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 2010 the V8 project authors. All rights reserved. | 33 // Copyright 2010 the V8 project authors. All rights reserved. |
34 | 34 |
35 | 35 |
36 #include "v8.h" | 36 #include "v8.h" |
| 37 |
| 38 #if defined(V8_TARGET_ARCH_MIPS) |
| 39 |
37 #include "mips/assembler-mips-inl.h" | 40 #include "mips/assembler-mips-inl.h" |
38 #include "serialize.h" | 41 #include "serialize.h" |
39 | 42 |
40 | 43 |
41 namespace v8 { | 44 namespace v8 { |
42 namespace internal { | 45 namespace internal { |
43 | 46 |
44 | 47 |
45 | 48 |
46 const Register no_reg = { -1 }; | 49 const Register no_reg = { -1 }; |
(...skipping 1152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1199 *p = LUI | rt_code | ((itarget & HIMask)>>16); | 1202 *p = LUI | rt_code | ((itarget & HIMask)>>16); |
1200 *(p+1) = ORI | rt_code | (rt_code << 5) | (itarget & LOMask); | 1203 *(p+1) = ORI | rt_code | (rt_code << 5) | (itarget & LOMask); |
1201 } | 1204 } |
1202 | 1205 |
1203 CPU::FlushICache(pc, 2 * sizeof(int32_t)); | 1206 CPU::FlushICache(pc, 2 * sizeof(int32_t)); |
1204 } | 1207 } |
1205 | 1208 |
1206 | 1209 |
1207 } } // namespace v8::internal | 1210 } } // namespace v8::internal |
1208 | 1211 |
| 1212 #endif // V8_TARGET_ARCH_MIPS |
OLD | NEW |