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_X64 | 5 #if V8_TARGET_ARCH_X64 |
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 863 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
880 Condition cc = | 878 Condition cc = |
881 (check == ENABLE_INLINED_SMI_CHECK) | 879 (check == ENABLE_INLINED_SMI_CHECK) |
882 ? (*jmp_address == Assembler::kJncShortOpcode ? not_zero : zero) | 880 ? (*jmp_address == Assembler::kJncShortOpcode ? not_zero : zero) |
883 : (*jmp_address == Assembler::kJnzShortOpcode ? not_carry : carry); | 881 : (*jmp_address == Assembler::kJnzShortOpcode ? not_carry : carry); |
884 *jmp_address = static_cast<byte>(Assembler::kJccShortPrefix | cc); | 882 *jmp_address = static_cast<byte>(Assembler::kJccShortPrefix | cc); |
885 } | 883 } |
886 } // namespace internal | 884 } // namespace internal |
887 } // namespace v8 | 885 } // namespace v8 |
888 | 886 |
889 #endif // V8_TARGET_ARCH_X64 | 887 #endif // V8_TARGET_ARCH_X64 |
OLD | NEW |