OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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> // For LONG_MIN, LONG_MAX. | 5 #include <limits.h> // For LONG_MIN, LONG_MAX. |
6 | 6 |
7 #include "src/v8.h" | |
8 | |
9 #if V8_TARGET_ARCH_MIPS | 7 #if V8_TARGET_ARCH_MIPS |
10 | 8 |
11 #include "src/base/bits.h" | 9 #include "src/base/bits.h" |
12 #include "src/base/division-by-constant.h" | 10 #include "src/base/division-by-constant.h" |
13 #include "src/bootstrapper.h" | 11 #include "src/bootstrapper.h" |
14 #include "src/codegen.h" | 12 #include "src/codegen.h" |
15 #include "src/cpu-profiler.h" | 13 #include "src/cpu-profiler.h" |
16 #include "src/debug/debug.h" | 14 #include "src/debug/debug.h" |
17 #include "src/runtime/runtime.h" | 15 #include "src/runtime/runtime.h" |
18 | 16 |
(...skipping 6099 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6118 if (mag.shift > 0) sra(result, result, mag.shift); | 6116 if (mag.shift > 0) sra(result, result, mag.shift); |
6119 srl(at, dividend, 31); | 6117 srl(at, dividend, 31); |
6120 Addu(result, result, Operand(at)); | 6118 Addu(result, result, Operand(at)); |
6121 } | 6119 } |
6122 | 6120 |
6123 | 6121 |
6124 } // namespace internal | 6122 } // namespace internal |
6125 } // namespace v8 | 6123 } // namespace v8 |
6126 | 6124 |
6127 #endif // V8_TARGET_ARCH_MIPS | 6125 #endif // V8_TARGET_ARCH_MIPS |
OLD | NEW |