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" | 5 #include "src/v8.h" |
6 | 6 |
7 #if V8_TARGET_ARCH_X87 | 7 #if V8_TARGET_ARCH_X87 |
8 | 8 |
9 #include "src/codegen.h" | 9 #include "src/codegen.h" |
10 #include "src/ic/ic.h" | 10 #include "src/ic/ic.h" |
(...skipping 931 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
942 ? (*jmp_address == Assembler::kJncShortOpcode || | 942 ? (*jmp_address == Assembler::kJncShortOpcode || |
943 *jmp_address == Assembler::kJcShortOpcode) | 943 *jmp_address == Assembler::kJcShortOpcode) |
944 : (*jmp_address == Assembler::kJnzShortOpcode || | 944 : (*jmp_address == Assembler::kJnzShortOpcode || |
945 *jmp_address == Assembler::kJzShortOpcode)); | 945 *jmp_address == Assembler::kJzShortOpcode)); |
946 Condition cc = | 946 Condition cc = |
947 (check == ENABLE_INLINED_SMI_CHECK) | 947 (check == ENABLE_INLINED_SMI_CHECK) |
948 ? (*jmp_address == Assembler::kJncShortOpcode ? not_zero : zero) | 948 ? (*jmp_address == Assembler::kJncShortOpcode ? not_zero : zero) |
949 : (*jmp_address == Assembler::kJnzShortOpcode ? not_carry : carry); | 949 : (*jmp_address == Assembler::kJnzShortOpcode ? not_carry : carry); |
950 *jmp_address = static_cast<byte>(Assembler::kJccShortPrefix | cc); | 950 *jmp_address = static_cast<byte>(Assembler::kJccShortPrefix | cc); |
951 } | 951 } |
952 } | 952 } // namespace internal |
953 } // namespace v8::internal | 953 } // namespace v8 |
954 | 954 |
955 #endif // V8_TARGET_ARCH_X87 | 955 #endif // V8_TARGET_ARCH_X87 |
OLD | NEW |