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 2635 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2646 Code* stub = Code::GetPreAgedCodeAgeStub(isolate()); | 2646 Code* stub = Code::GetPreAgedCodeAgeStub(isolate()); |
2647 __ EmitCodeAgeSequence(stub); | 2647 __ EmitCodeAgeSequence(stub); |
2648 } else { | 2648 } else { |
2649 __ EmitFrameSetupForCodeAgePatching(); | 2649 __ EmitFrameSetupForCodeAgePatching(); |
2650 } | 2650 } |
2651 } | 2651 } |
2652 | 2652 |
2653 | 2653 |
2654 void MacroAssembler::EmitLoadTypeFeedbackVector(Register vector) { | 2654 void MacroAssembler::EmitLoadTypeFeedbackVector(Register vector) { |
2655 Ldr(vector, MemOperand(fp, JavaScriptFrameConstants::kFunctionOffset)); | 2655 Ldr(vector, MemOperand(fp, JavaScriptFrameConstants::kFunctionOffset)); |
2656 Ldr(vector, FieldMemOperand(vector, JSFunction::kSharedFunctionInfoOffset)); | 2656 Ldr(vector, FieldMemOperand(vector, JSFunction::kLiteralsOffset)); |
2657 Ldr(vector, | 2657 Ldr(vector, FieldMemOperand(vector, LiteralsArray::kFeedbackVectorOffset)); |
2658 FieldMemOperand(vector, SharedFunctionInfo::kFeedbackVectorOffset)); | |
2659 } | 2658 } |
2660 | 2659 |
2661 | 2660 |
2662 void MacroAssembler::EnterFrame(StackFrame::Type type, | 2661 void MacroAssembler::EnterFrame(StackFrame::Type type, |
2663 bool load_constant_pool_pointer_reg) { | 2662 bool load_constant_pool_pointer_reg) { |
2664 // Out-of-line constant pool not implemented on arm64. | 2663 // Out-of-line constant pool not implemented on arm64. |
2665 UNREACHABLE(); | 2664 UNREACHABLE(); |
2666 } | 2665 } |
2667 | 2666 |
2668 | 2667 |
(...skipping 2216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4885 } | 4884 } |
4886 | 4885 |
4887 | 4886 |
4888 #undef __ | 4887 #undef __ |
4889 | 4888 |
4890 | 4889 |
4891 } // namespace internal | 4890 } // namespace internal |
4892 } // namespace v8 | 4891 } // namespace v8 |
4893 | 4892 |
4894 #endif // V8_TARGET_ARCH_ARM64 | 4893 #endif // V8_TARGET_ARCH_ARM64 |
OLD | NEW |