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 "src/v8.h" | |
6 | |
7 #if V8_TARGET_ARCH_IA32 | 5 #if V8_TARGET_ARCH_IA32 |
8 | 6 |
9 #include "src/base/bits.h" | 7 #include "src/base/bits.h" |
10 #include "src/base/division-by-constant.h" | 8 #include "src/base/division-by-constant.h" |
11 #include "src/bootstrapper.h" | 9 #include "src/bootstrapper.h" |
12 #include "src/codegen.h" | 10 #include "src/codegen.h" |
13 #include "src/cpu-profiler.h" | 11 #include "src/cpu-profiler.h" |
14 #include "src/debug/debug.h" | 12 #include "src/debug/debug.h" |
15 #include "src/ia32/frames-ia32.h" | 13 #include "src/ia32/frames-ia32.h" |
16 #include "src/runtime/runtime.h" | 14 #include "src/runtime/runtime.h" |
(...skipping 3205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3222 mov(eax, dividend); | 3220 mov(eax, dividend); |
3223 shr(eax, 31); | 3221 shr(eax, 31); |
3224 add(edx, eax); | 3222 add(edx, eax); |
3225 } | 3223 } |
3226 | 3224 |
3227 | 3225 |
3228 } // namespace internal | 3226 } // namespace internal |
3229 } // namespace v8 | 3227 } // namespace v8 |
3230 | 3228 |
3231 #endif // V8_TARGET_ARCH_IA32 | 3229 #endif // V8_TARGET_ARCH_IA32 |
OLD | NEW |