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

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

Issue 1364373003: Full code shouldn't embed the type feedback vector. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Ports. Created 5 years, 2 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 2762 matching lines...) Expand 10 before | Expand all | Expand 10 after
2773 void MacroAssembler::Prologue(bool code_pre_aging) { 2773 void MacroAssembler::Prologue(bool code_pre_aging) {
2774 if (code_pre_aging) { 2774 if (code_pre_aging) {
2775 Code* stub = Code::GetPreAgedCodeAgeStub(isolate()); 2775 Code* stub = Code::GetPreAgedCodeAgeStub(isolate());
2776 __ EmitCodeAgeSequence(stub); 2776 __ EmitCodeAgeSequence(stub);
2777 } else { 2777 } else {
2778 __ EmitFrameSetupForCodeAgePatching(); 2778 __ EmitFrameSetupForCodeAgePatching();
2779 } 2779 }
2780 } 2780 }
2781 2781
2782 2782
2783 void MacroAssembler::EmitLoadTypeFeedbackVector(Register vector) {
2784 Ldr(vector, MemOperand(fp, JavaScriptFrameConstants::kFunctionOffset));
2785 Ldr(vector, FieldMemOperand(vector, JSFunction::kSharedFunctionInfoOffset));
2786 Ldr(vector,
2787 FieldMemOperand(vector, SharedFunctionInfo::kFeedbackVectorOffset));
2788 }
2789
2790
2783 void MacroAssembler::EnterFrame(StackFrame::Type type, 2791 void MacroAssembler::EnterFrame(StackFrame::Type type,
2784 bool load_constant_pool_pointer_reg) { 2792 bool load_constant_pool_pointer_reg) {
2785 // Out-of-line constant pool not implemented on arm64. 2793 // Out-of-line constant pool not implemented on arm64.
2786 UNREACHABLE(); 2794 UNREACHABLE();
2787 } 2795 }
2788 2796
2789 2797
2790 void MacroAssembler::EnterFrame(StackFrame::Type type) { 2798 void MacroAssembler::EnterFrame(StackFrame::Type type) {
2791 DCHECK(jssp.Is(StackPointer())); 2799 DCHECK(jssp.Is(StackPointer()));
2792 UseScratchRegisterScope temps(this); 2800 UseScratchRegisterScope temps(this);
(...skipping 2261 matching lines...) Expand 10 before | Expand all | Expand 10 after
5054 } 5062 }
5055 5063
5056 5064
5057 #undef __ 5065 #undef __
5058 5066
5059 5067
5060 } // namespace internal 5068 } // namespace internal
5061 } // namespace v8 5069 } // namespace v8
5062 5070
5063 #endif // V8_TARGET_ARCH_ARM64 5071 #endif // V8_TARGET_ARCH_ARM64
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698