| 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 | 5 |
| 6 #include "src/v8.h" | 6 #include "src/v8.h" |
| 7 | 7 |
| 8 #if V8_TARGET_ARCH_MIPS | 8 #if V8_TARGET_ARCH_MIPS |
| 9 | 9 |
| 10 #include "src/codegen.h" | 10 #include "src/codegen.h" |
| (...skipping 852 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 863 patcher.masm()->andi(at, reg, 0); | 863 patcher.masm()->andi(at, reg, 0); |
| 864 } | 864 } |
| 865 DCHECK(Assembler::IsBranch(branch_instr)); | 865 DCHECK(Assembler::IsBranch(branch_instr)); |
| 866 if (Assembler::IsBeq(branch_instr)) { | 866 if (Assembler::IsBeq(branch_instr)) { |
| 867 patcher.ChangeBranchCondition(ne); | 867 patcher.ChangeBranchCondition(ne); |
| 868 } else { | 868 } else { |
| 869 DCHECK(Assembler::IsBne(branch_instr)); | 869 DCHECK(Assembler::IsBne(branch_instr)); |
| 870 patcher.ChangeBranchCondition(eq); | 870 patcher.ChangeBranchCondition(eq); |
| 871 } | 871 } |
| 872 } | 872 } |
| 873 } | 873 } // namespace internal |
| 874 } // namespace v8::internal | 874 } // namespace v8 |
| 875 | 875 |
| 876 #endif // V8_TARGET_ARCH_MIPS | 876 #endif // V8_TARGET_ARCH_MIPS |
| OLD | NEW |