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 2644 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2655 Code* stub = Code::GetPreAgedCodeAgeStub(isolate()); | 2655 Code* stub = Code::GetPreAgedCodeAgeStub(isolate()); |
2656 __ EmitCodeAgeSequence(stub); | 2656 __ EmitCodeAgeSequence(stub); |
2657 } else { | 2657 } else { |
2658 __ EmitFrameSetupForCodeAgePatching(); | 2658 __ EmitFrameSetupForCodeAgePatching(); |
2659 } | 2659 } |
2660 } | 2660 } |
2661 | 2661 |
2662 | 2662 |
2663 void MacroAssembler::EmitLoadTypeFeedbackVector(Register vector) { | 2663 void MacroAssembler::EmitLoadTypeFeedbackVector(Register vector) { |
2664 Ldr(vector, MemOperand(fp, JavaScriptFrameConstants::kFunctionOffset)); | 2664 Ldr(vector, MemOperand(fp, JavaScriptFrameConstants::kFunctionOffset)); |
2665 Ldr(vector, FieldMemOperand(vector, JSFunction::kLiteralsOffset)); | 2665 Ldr(vector, FieldMemOperand(vector, JSFunction::kSharedFunctionInfoOffset)); |
2666 Ldr(vector, FieldMemOperand(vector, LiteralsArray::kFeedbackVectorOffset)); | 2666 Ldr(vector, |
| 2667 FieldMemOperand(vector, SharedFunctionInfo::kFeedbackVectorOffset)); |
2667 } | 2668 } |
2668 | 2669 |
2669 | 2670 |
2670 void MacroAssembler::EnterFrame(StackFrame::Type type, | 2671 void MacroAssembler::EnterFrame(StackFrame::Type type, |
2671 bool load_constant_pool_pointer_reg) { | 2672 bool load_constant_pool_pointer_reg) { |
2672 // Out-of-line constant pool not implemented on arm64. | 2673 // Out-of-line constant pool not implemented on arm64. |
2673 UNREACHABLE(); | 2674 UNREACHABLE(); |
2674 } | 2675 } |
2675 | 2676 |
2676 | 2677 |
(...skipping 2275 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4952 } | 4953 } |
4953 | 4954 |
4954 | 4955 |
4955 #undef __ | 4956 #undef __ |
4956 | 4957 |
4957 | 4958 |
4958 } // namespace internal | 4959 } // namespace internal |
4959 } // namespace v8 | 4960 } // namespace v8 |
4960 | 4961 |
4961 #endif // V8_TARGET_ARCH_ARM64 | 4962 #endif // V8_TARGET_ARCH_ARM64 |
OLD | NEW |