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_X87 | 5 #if V8_TARGET_ARCH_X87 |
8 | 6 |
9 #include "src/codegen.h" | 7 #include "src/codegen.h" |
10 #include "src/ic/ic.h" | 8 #include "src/ic/ic.h" |
11 #include "src/ic/ic-compiler.h" | 9 #include "src/ic/ic-compiler.h" |
12 #include "src/ic/stub-cache.h" | 10 #include "src/ic/stub-cache.h" |
13 | 11 |
14 namespace v8 { | 12 namespace v8 { |
15 namespace internal { | 13 namespace internal { |
16 | 14 |
(...skipping 871 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
888 Condition cc = | 886 Condition cc = |
889 (check == ENABLE_INLINED_SMI_CHECK) | 887 (check == ENABLE_INLINED_SMI_CHECK) |
890 ? (*jmp_address == Assembler::kJncShortOpcode ? not_zero : zero) | 888 ? (*jmp_address == Assembler::kJncShortOpcode ? not_zero : zero) |
891 : (*jmp_address == Assembler::kJnzShortOpcode ? not_carry : carry); | 889 : (*jmp_address == Assembler::kJnzShortOpcode ? not_carry : carry); |
892 *jmp_address = static_cast<byte>(Assembler::kJccShortPrefix | cc); | 890 *jmp_address = static_cast<byte>(Assembler::kJccShortPrefix | cc); |
893 } | 891 } |
894 } // namespace internal | 892 } // namespace internal |
895 } // namespace v8 | 893 } // namespace v8 |
896 | 894 |
897 #endif // V8_TARGET_ARCH_X87 | 895 #endif // V8_TARGET_ARCH_X87 |
OLD | NEW |