OLD | NEW |
1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 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_PPC | 7 #if V8_TARGET_ARCH_PPC |
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 659 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
670 // Don't use Call -- we need to preserve ip and lr. | 670 // Don't use Call -- we need to preserve ip and lr. |
671 // GenerateMakeCodeYoungAgainCommon for the stub code. | 671 // GenerateMakeCodeYoungAgainCommon for the stub code. |
672 patcher.masm()->nop(); // marker to detect sequence (see IsOld) | 672 patcher.masm()->nop(); // marker to detect sequence (see IsOld) |
673 patcher.masm()->mov(r3, Operand(target)); | 673 patcher.masm()->mov(r3, Operand(target)); |
674 patcher.masm()->Jump(r3); | 674 patcher.masm()->Jump(r3); |
675 for (int i = 0; i < kCodeAgingSequenceNops; i++) { | 675 for (int i = 0; i < kCodeAgingSequenceNops; i++) { |
676 patcher.masm()->nop(); | 676 patcher.masm()->nop(); |
677 } | 677 } |
678 } | 678 } |
679 } | 679 } |
680 } | 680 } // namespace internal |
681 } // namespace v8::internal | 681 } // namespace v8 |
682 | 682 |
683 #endif // V8_TARGET_ARCH_PPC | 683 #endif // V8_TARGET_ARCH_PPC |
OLD | NEW |