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

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

Issue 2655853010: [TypeFeedbackVector] Combine the literals array and the feedback vector. (Closed)
Patch Set: more comments. Created 3 years, 10 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
« no previous file with comments | « src/arm/macro-assembler-arm.cc ('k') | src/ast/ast.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 2619 matching lines...) Expand 10 before | Expand all | Expand 10 after
2630 Code* stub = Code::GetPreAgedCodeAgeStub(isolate()); 2630 Code* stub = Code::GetPreAgedCodeAgeStub(isolate());
2631 __ EmitCodeAgeSequence(stub); 2631 __ EmitCodeAgeSequence(stub);
2632 } else { 2632 } else {
2633 __ EmitFrameSetupForCodeAgePatching(); 2633 __ EmitFrameSetupForCodeAgePatching();
2634 } 2634 }
2635 } 2635 }
2636 2636
2637 2637
2638 void MacroAssembler::EmitLoadTypeFeedbackVector(Register vector) { 2638 void MacroAssembler::EmitLoadTypeFeedbackVector(Register vector) {
2639 Ldr(vector, MemOperand(fp, JavaScriptFrameConstants::kFunctionOffset)); 2639 Ldr(vector, MemOperand(fp, JavaScriptFrameConstants::kFunctionOffset));
2640 Ldr(vector, FieldMemOperand(vector, JSFunction::kLiteralsOffset)); 2640 Ldr(vector, FieldMemOperand(vector, JSFunction::kFeedbackVectorOffset));
2641 Ldr(vector, FieldMemOperand(vector, LiteralsArray::kFeedbackVectorOffset));
2642 } 2641 }
2643 2642
2644 2643
2645 void MacroAssembler::EnterFrame(StackFrame::Type type, 2644 void MacroAssembler::EnterFrame(StackFrame::Type type,
2646 bool load_constant_pool_pointer_reg) { 2645 bool load_constant_pool_pointer_reg) {
2647 // Out-of-line constant pool not implemented on arm64. 2646 // Out-of-line constant pool not implemented on arm64.
2648 UNREACHABLE(); 2647 UNREACHABLE();
2649 } 2648 }
2650 2649
2651 2650
(...skipping 2026 matching lines...) Expand 10 before | Expand all | Expand 10 after
4678 } 4677 }
4679 4678
4680 4679
4681 #undef __ 4680 #undef __
4682 4681
4683 4682
4684 } // namespace internal 4683 } // namespace internal
4685 } // namespace v8 4684 } // namespace v8
4686 4685
4687 #endif // V8_TARGET_ARCH_ARM64 4686 #endif // V8_TARGET_ARCH_ARM64
OLDNEW
« no previous file with comments | « src/arm/macro-assembler-arm.cc ('k') | src/ast/ast.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698