OLD | NEW |
1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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_ARM64 | 7 #if V8_TARGET_ARCH_ARM64 |
8 | 8 |
9 #include "codegen.h" | 9 #include "codegen.h" |
10 #include "debug.h" | 10 #include "debug.h" |
(...skipping 869 matching lines...) Loading... |
880 __ CallCFunction( | 880 __ CallCFunction( |
881 ExternalReference::get_mark_code_as_executed_function( | 881 ExternalReference::get_mark_code_as_executed_function( |
882 masm->isolate()), 2); | 882 masm->isolate()), 2); |
883 __ Pop(lr, fp, x1, x0); | 883 __ Pop(lr, fp, x1, x0); |
884 | 884 |
885 // Perform prologue operations usually performed by the young code stub. | 885 // Perform prologue operations usually performed by the young code stub. |
886 __ EmitFrameSetupForCodeAgePatching(masm); | 886 __ EmitFrameSetupForCodeAgePatching(masm); |
887 } | 887 } |
888 | 888 |
889 // Jump to point after the code-age stub. | 889 // Jump to point after the code-age stub. |
890 __ Add(x0, x0, kCodeAgeSequenceSize); | 890 __ Add(x0, x0, kNoCodeAgeSequenceLength); |
891 __ Br(x0); | 891 __ Br(x0); |
892 } | 892 } |
893 | 893 |
894 | 894 |
895 void Builtins::Generate_MarkCodeAsExecutedTwice(MacroAssembler* masm) { | 895 void Builtins::Generate_MarkCodeAsExecutedTwice(MacroAssembler* masm) { |
896 GenerateMakeCodeYoungAgainCommon(masm); | 896 GenerateMakeCodeYoungAgainCommon(masm); |
897 } | 897 } |
898 | 898 |
899 | 899 |
900 static void Generate_NotifyStubFailureHelper(MacroAssembler* masm, | 900 static void Generate_NotifyStubFailureHelper(MacroAssembler* masm, |
(...skipping 659 matching lines...) Loading... |
1560 __ Unreachable(); | 1560 __ Unreachable(); |
1561 } | 1561 } |
1562 } | 1562 } |
1563 | 1563 |
1564 | 1564 |
1565 #undef __ | 1565 #undef __ |
1566 | 1566 |
1567 } } // namespace v8::internal | 1567 } } // namespace v8::internal |
1568 | 1568 |
1569 #endif // V8_TARGET_ARCH_ARM | 1569 #endif // V8_TARGET_ARCH_ARM |
OLD | NEW |