| 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/arm/simulator-arm.h" | 9 #include "src/arm/simulator-arm.h" |
| 10 #include "src/codegen.h" | 10 #include "src/codegen.h" |
| (...skipping 928 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 939 } else { | 939 } else { |
| 940 Code* stub = GetCodeAgeStub(isolate, age, parity); | 940 Code* stub = GetCodeAgeStub(isolate, age, parity); |
| 941 CodePatcher patcher(sequence, young_length / Assembler::kInstrSize); | 941 CodePatcher patcher(sequence, young_length / Assembler::kInstrSize); |
| 942 patcher.masm()->add(r0, pc, Operand(-8)); | 942 patcher.masm()->add(r0, pc, Operand(-8)); |
| 943 patcher.masm()->ldr(pc, MemOperand(pc, -4)); | 943 patcher.masm()->ldr(pc, MemOperand(pc, -4)); |
| 944 patcher.masm()->emit_code_stub_address(stub); | 944 patcher.masm()->emit_code_stub_address(stub); |
| 945 } | 945 } |
| 946 } | 946 } |
| 947 | 947 |
| 948 | 948 |
| 949 } } // namespace v8::internal | 949 } // namespace internal |
| 950 } // namespace v8 |
| 950 | 951 |
| 951 #endif // V8_TARGET_ARCH_ARM | 952 #endif // V8_TARGET_ARCH_ARM |
| OLD | NEW |