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