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 #if V8_TARGET_ARCH_ARM64 | 5 #if V8_TARGET_ARCH_ARM64 |
6 | 6 |
7 #include "src/base/bits.h" | 7 #include "src/base/bits.h" |
8 #include "src/base/division-by-constant.h" | 8 #include "src/base/division-by-constant.h" |
9 #include "src/bootstrapper.h" | 9 #include "src/bootstrapper.h" |
10 #include "src/codegen.h" | 10 #include "src/codegen.h" |
(...skipping 2650 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2661 Code* stub = Code::GetPreAgedCodeAgeStub(isolate()); | 2661 Code* stub = Code::GetPreAgedCodeAgeStub(isolate()); |
2662 __ EmitCodeAgeSequence(stub); | 2662 __ EmitCodeAgeSequence(stub); |
2663 } else { | 2663 } else { |
2664 __ EmitFrameSetupForCodeAgePatching(); | 2664 __ EmitFrameSetupForCodeAgePatching(); |
2665 } | 2665 } |
2666 } | 2666 } |
2667 | 2667 |
2668 | 2668 |
2669 void MacroAssembler::EmitLoadTypeFeedbackVector(Register vector) { | 2669 void MacroAssembler::EmitLoadTypeFeedbackVector(Register vector) { |
2670 Ldr(vector, MemOperand(fp, JavaScriptFrameConstants::kFunctionOffset)); | 2670 Ldr(vector, MemOperand(fp, JavaScriptFrameConstants::kFunctionOffset)); |
2671 Ldr(vector, FieldMemOperand(vector, JSFunction::kSharedFunctionInfoOffset)); | 2671 Ldr(vector, FieldMemOperand(vector, JSFunction::kLiteralsOffset)); |
2672 Ldr(vector, | 2672 Ldr(vector, FieldMemOperand(vector, LiteralsArray::kFeedbackVectorOffset)); |
2673 FieldMemOperand(vector, SharedFunctionInfo::kFeedbackVectorOffset)); | |
2674 } | 2673 } |
2675 | 2674 |
2676 | 2675 |
2677 void MacroAssembler::EnterFrame(StackFrame::Type type, | 2676 void MacroAssembler::EnterFrame(StackFrame::Type type, |
2678 bool load_constant_pool_pointer_reg) { | 2677 bool load_constant_pool_pointer_reg) { |
2679 // Out-of-line constant pool not implemented on arm64. | 2678 // Out-of-line constant pool not implemented on arm64. |
2680 UNREACHABLE(); | 2679 UNREACHABLE(); |
2681 } | 2680 } |
2682 | 2681 |
2683 | 2682 |
(...skipping 2194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4878 } | 4877 } |
4879 | 4878 |
4880 | 4879 |
4881 #undef __ | 4880 #undef __ |
4882 | 4881 |
4883 | 4882 |
4884 } // namespace internal | 4883 } // namespace internal |
4885 } // namespace v8 | 4884 } // namespace v8 |
4886 | 4885 |
4887 #endif // V8_TARGET_ARCH_ARM64 | 4886 #endif // V8_TARGET_ARCH_ARM64 |
OLD | NEW |