Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(199)

Side by Side Diff: src/arm64/macro-assembler-arm64.cc

Issue 1906823002: Move of the type feedback vector to the closure. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: REBASE. Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 2739 matching lines...) Expand 10 before | Expand all | Expand 10 after
2750 Code* stub = Code::GetPreAgedCodeAgeStub(isolate()); 2750 Code* stub = Code::GetPreAgedCodeAgeStub(isolate());
2751 __ EmitCodeAgeSequence(stub); 2751 __ EmitCodeAgeSequence(stub);
2752 } else { 2752 } else {
2753 __ EmitFrameSetupForCodeAgePatching(); 2753 __ EmitFrameSetupForCodeAgePatching();
2754 } 2754 }
2755 } 2755 }
2756 2756
2757 2757
2758 void MacroAssembler::EmitLoadTypeFeedbackVector(Register vector) { 2758 void MacroAssembler::EmitLoadTypeFeedbackVector(Register vector) {
2759 Ldr(vector, MemOperand(fp, JavaScriptFrameConstants::kFunctionOffset)); 2759 Ldr(vector, MemOperand(fp, JavaScriptFrameConstants::kFunctionOffset));
2760 Ldr(vector, FieldMemOperand(vector, JSFunction::kSharedFunctionInfoOffset)); 2760 Ldr(vector, FieldMemOperand(vector, JSFunction::kLiteralsOffset));
2761 Ldr(vector, 2761 Ldr(vector,
2762 FieldMemOperand(vector, SharedFunctionInfo::kFeedbackVectorOffset)); 2762 FieldMemOperand(vector, LiteralsArray::kFeedbackVectorOffset));
2763 } 2763 }
2764 2764
2765 2765
2766 void MacroAssembler::EnterFrame(StackFrame::Type type, 2766 void MacroAssembler::EnterFrame(StackFrame::Type type,
2767 bool load_constant_pool_pointer_reg) { 2767 bool load_constant_pool_pointer_reg) {
2768 // Out-of-line constant pool not implemented on arm64. 2768 // Out-of-line constant pool not implemented on arm64.
2769 UNREACHABLE(); 2769 UNREACHABLE();
2770 } 2770 }
2771 2771
2772 2772
(...skipping 2293 matching lines...) Expand 10 before | Expand all | Expand 10 after
5066 } 5066 }
5067 5067
5068 5068
5069 #undef __ 5069 #undef __
5070 5070
5071 5071
5072 } // namespace internal 5072 } // namespace internal
5073 } // namespace v8 5073 } // namespace v8
5074 5074
5075 #endif // V8_TARGET_ARCH_ARM64 5075 #endif // V8_TARGET_ARCH_ARM64
OLDNEW
« no previous file with comments | « src/arm/macro-assembler-arm.cc ('k') | src/code-stubs-hydrogen.cc » ('j') | src/compiler.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698