OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include <limits.h> | 5 #include <limits.h> |
6 #include <stdarg.h> | 6 #include <stdarg.h> |
7 #include <stdlib.h> | 7 #include <stdlib.h> |
8 #include <cmath> | 8 #include <cmath> |
9 | 9 |
10 #include "src/v8.h" | 10 #include "src/v8.h" |
11 | 11 |
12 #if V8_TARGET_ARCH_MIPS | 12 #if V8_TARGET_ARCH_MIPS |
13 | 13 |
14 #include "src/assembler.h" | 14 #include "src/assembler.h" |
15 #include "src/disasm.h" | 15 #include "src/disasm.h" |
16 #include "src/globals.h" // Need the BitCast. | 16 #include "src/globals.h" // Need the BitCast. |
17 #include "src/mips/constants-mips.h" | 17 #include "src/mips/constants-mips.h" |
18 #include "src/mips/simulator-mips.h" | 18 #include "src/mips/simulator-mips.h" |
| 19 #include "src/ostreams.h" |
19 | 20 |
20 | 21 |
21 // Only build the simulator if not compiling for real MIPS hardware. | 22 // Only build the simulator if not compiling for real MIPS hardware. |
22 #if defined(USE_SIMULATOR) | 23 #if defined(USE_SIMULATOR) |
23 | 24 |
24 namespace v8 { | 25 namespace v8 { |
25 namespace internal { | 26 namespace internal { |
26 | 27 |
27 // Utils functions. | 28 // Utils functions. |
28 bool HaveSameSign(int32_t a, int32_t b) { | 29 bool HaveSameSign(int32_t a, int32_t b) { |
(...skipping 2889 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2918 } | 2919 } |
2919 | 2920 |
2920 | 2921 |
2921 #undef UNSUPPORTED | 2922 #undef UNSUPPORTED |
2922 | 2923 |
2923 } } // namespace v8::internal | 2924 } } // namespace v8::internal |
2924 | 2925 |
2925 #endif // USE_SIMULATOR | 2926 #endif // USE_SIMULATOR |
2926 | 2927 |
2927 #endif // V8_TARGET_ARCH_MIPS | 2928 #endif // V8_TARGET_ARCH_MIPS |
OLD | NEW |