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_MIPS64 | 7 #if V8_TARGET_ARCH_MIPS64 |
8 | 8 |
9 #include "src/codegen.h" | 9 #include "src/codegen.h" |
10 #include "src/macro-assembler.h" | 10 #include "src/macro-assembler.h" |
(...skipping 1135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1146 patcher.masm()->nop(); // Prevent jalr to jal optimization. | 1146 patcher.masm()->nop(); // Prevent jalr to jal optimization. |
1147 patcher.masm()->jalr(t9, a0); | 1147 patcher.masm()->jalr(t9, a0); |
1148 patcher.masm()->nop(); // Branch delay slot nop. | 1148 patcher.masm()->nop(); // Branch delay slot nop. |
1149 patcher.masm()->nop(); // Pad the empty space. | 1149 patcher.masm()->nop(); // Pad the empty space. |
1150 } | 1150 } |
1151 } | 1151 } |
1152 | 1152 |
1153 | 1153 |
1154 #undef __ | 1154 #undef __ |
1155 | 1155 |
1156 } } // namespace v8::internal | 1156 } // namespace internal |
| 1157 } // namespace v8 |
1157 | 1158 |
1158 #endif // V8_TARGET_ARCH_MIPS64 | 1159 #endif // V8_TARGET_ARCH_MIPS64 |
OLD | NEW |