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_IA32 | 7 #if V8_TARGET_ARCH_IA32 |
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 833 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
844 ? (*jmp_address == Assembler::kJncShortOpcode || | 844 ? (*jmp_address == Assembler::kJncShortOpcode || |
845 *jmp_address == Assembler::kJcShortOpcode) | 845 *jmp_address == Assembler::kJcShortOpcode) |
846 : (*jmp_address == Assembler::kJnzShortOpcode || | 846 : (*jmp_address == Assembler::kJnzShortOpcode || |
847 *jmp_address == Assembler::kJzShortOpcode)); | 847 *jmp_address == Assembler::kJzShortOpcode)); |
848 Condition cc = | 848 Condition cc = |
849 (check == ENABLE_INLINED_SMI_CHECK) | 849 (check == ENABLE_INLINED_SMI_CHECK) |
850 ? (*jmp_address == Assembler::kJncShortOpcode ? not_zero : zero) | 850 ? (*jmp_address == Assembler::kJncShortOpcode ? not_zero : zero) |
851 : (*jmp_address == Assembler::kJnzShortOpcode ? not_carry : carry); | 851 : (*jmp_address == Assembler::kJnzShortOpcode ? not_carry : carry); |
852 *jmp_address = static_cast<byte>(Assembler::kJccShortPrefix | cc); | 852 *jmp_address = static_cast<byte>(Assembler::kJccShortPrefix | cc); |
853 } | 853 } |
854 } | 854 } // namespace internal |
855 } // namespace v8::internal | 855 } // namespace v8 |
856 | 856 |
857 #endif // V8_TARGET_ARCH_IA32 | 857 #endif // V8_TARGET_ARCH_IA32 |
OLD | NEW |