| 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 "v8.h" | 5 #include "v8.h" |
| 6 | 6 |
| 7 #if V8_TARGET_ARCH_ARM | 7 #if V8_TARGET_ARCH_ARM |
| 8 | 8 |
| 9 #include "codegen.h" | 9 #include "codegen.h" |
| 10 #include "debug.h" | 10 #include "debug.h" |
| (...skipping 880 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 891 __ mov(r1, Operand(ExternalReference::isolate_address(masm->isolate()))); | 891 __ mov(r1, Operand(ExternalReference::isolate_address(masm->isolate()))); |
| 892 __ CallCFunction(ExternalReference::get_mark_code_as_executed_function( | 892 __ CallCFunction(ExternalReference::get_mark_code_as_executed_function( |
| 893 masm->isolate()), 2); | 893 masm->isolate()), 2); |
| 894 __ ldm(ia_w, sp, r0.bit() | r1.bit() | fp.bit() | lr.bit()); | 894 __ ldm(ia_w, sp, r0.bit() | r1.bit() | fp.bit() | lr.bit()); |
| 895 | 895 |
| 896 // Perform prologue operations usually performed by the young code stub. | 896 // Perform prologue operations usually performed by the young code stub. |
| 897 __ PushFixedFrame(r1); | 897 __ PushFixedFrame(r1); |
| 898 __ add(fp, sp, Operand(StandardFrameConstants::kFixedFrameSizeFromFp)); | 898 __ add(fp, sp, Operand(StandardFrameConstants::kFixedFrameSizeFromFp)); |
| 899 | 899 |
| 900 // Jump to point after the code-age stub. | 900 // Jump to point after the code-age stub. |
| 901 __ add(r0, r0, Operand(kNoCodeAgeSequenceLength * Assembler::kInstrSize)); | 901 __ add(r0, r0, Operand(kNoCodeAgeSequenceLength)); |
| 902 __ mov(pc, r0); | 902 __ mov(pc, r0); |
| 903 } | 903 } |
| 904 | 904 |
| 905 | 905 |
| 906 void Builtins::Generate_MarkCodeAsExecutedTwice(MacroAssembler* masm) { | 906 void Builtins::Generate_MarkCodeAsExecutedTwice(MacroAssembler* masm) { |
| 907 GenerateMakeCodeYoungAgainCommon(masm); | 907 GenerateMakeCodeYoungAgainCommon(masm); |
| 908 } | 908 } |
| 909 | 909 |
| 910 | 910 |
| 911 static void Generate_NotifyStubFailureHelper(MacroAssembler* masm, | 911 static void Generate_NotifyStubFailureHelper(MacroAssembler* masm, |
| (...skipping 639 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1551 __ bkpt(0); | 1551 __ bkpt(0); |
| 1552 } | 1552 } |
| 1553 } | 1553 } |
| 1554 | 1554 |
| 1555 | 1555 |
| 1556 #undef __ | 1556 #undef __ |
| 1557 | 1557 |
| 1558 } } // namespace v8::internal | 1558 } } // namespace v8::internal |
| 1559 | 1559 |
| 1560 #endif // V8_TARGET_ARCH_ARM | 1560 #endif // V8_TARGET_ARCH_ARM |
| OLD | NEW |