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_ARM | 7 #if V8_TARGET_ARCH_ARM |
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 847 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
858 patcher.masm()->cmp(reg, reg); | 858 patcher.masm()->cmp(reg, reg); |
859 } | 859 } |
860 DCHECK(Assembler::IsBranch(branch_instr)); | 860 DCHECK(Assembler::IsBranch(branch_instr)); |
861 if (Assembler::GetCondition(branch_instr) == eq) { | 861 if (Assembler::GetCondition(branch_instr) == eq) { |
862 patcher.EmitCondition(ne); | 862 patcher.EmitCondition(ne); |
863 } else { | 863 } else { |
864 DCHECK(Assembler::GetCondition(branch_instr) == ne); | 864 DCHECK(Assembler::GetCondition(branch_instr) == ne); |
865 patcher.EmitCondition(eq); | 865 patcher.EmitCondition(eq); |
866 } | 866 } |
867 } | 867 } |
868 } | 868 } // namespace internal |
869 } // namespace v8::internal | 869 } // namespace v8 |
870 | 870 |
871 #endif // V8_TARGET_ARCH_ARM | 871 #endif // V8_TARGET_ARCH_ARM |
OLD | NEW |