| OLD | NEW |
| 1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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_ARM64 | 7 #if V8_TARGET_ARCH_ARM64 |
| 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 | 844 |
| 845 if (to_patch->Mask(TestBranchMask) == TBZ) { | 845 if (to_patch->Mask(TestBranchMask) == TBZ) { |
| 846 // This is JumpIfNotSmi(smi_reg, branch_imm). | 846 // This is JumpIfNotSmi(smi_reg, branch_imm). |
| 847 patcher.tbnz(smi_reg, 0, branch_imm); | 847 patcher.tbnz(smi_reg, 0, branch_imm); |
| 848 } else { | 848 } else { |
| 849 DCHECK(to_patch->Mask(TestBranchMask) == TBNZ); | 849 DCHECK(to_patch->Mask(TestBranchMask) == TBNZ); |
| 850 // This is JumpIfSmi(smi_reg, branch_imm). | 850 // This is JumpIfSmi(smi_reg, branch_imm). |
| 851 patcher.tbz(smi_reg, 0, branch_imm); | 851 patcher.tbz(smi_reg, 0, branch_imm); |
| 852 } | 852 } |
| 853 } | 853 } |
| 854 } | 854 } // namespace internal |
| 855 } // namespace v8::internal | 855 } // namespace v8 |
| 856 | 856 |
| 857 #endif // V8_TARGET_ARCH_ARM64 | 857 #endif // V8_TARGET_ARCH_ARM64 |
| OLD | NEW |