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

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

Issue 1563213002: Type Feedback Vector lives in the closure (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Exclude an ignition test. Created 4 years, 11 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/mips/builtins-mips.cc ('k') | src/mips64/builtins-mips64.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 1
2 // Copyright 2012 the V8 project authors. All rights reserved. 2 // Copyright 2012 the V8 project authors. All rights reserved.
3 // Use of this source code is governed by a BSD-style license that can be 3 // Use of this source code is governed by a BSD-style license that can be
4 // found in the LICENSE file. 4 // found in the LICENSE file.
5 5
6 #include <limits.h> // For LONG_MIN, LONG_MAX. 6 #include <limits.h> // For LONG_MIN, LONG_MAX.
7 7
8 #if V8_TARGET_ARCH_MIPS 8 #if V8_TARGET_ARCH_MIPS
9 9
10 #include "src/base/bits.h" 10 #include "src/base/bits.h"
(...skipping 4765 matching lines...) Expand 10 before | Expand all | Expand 10 after
4776 Push(ra, fp, cp, a1); 4776 Push(ra, fp, cp, a1);
4777 nop(Assembler::CODE_AGE_SEQUENCE_NOP); 4777 nop(Assembler::CODE_AGE_SEQUENCE_NOP);
4778 // Adjust fp to point to caller's fp. 4778 // Adjust fp to point to caller's fp.
4779 Addu(fp, sp, Operand(StandardFrameConstants::kFixedFrameSizeFromFp)); 4779 Addu(fp, sp, Operand(StandardFrameConstants::kFixedFrameSizeFromFp));
4780 } 4780 }
4781 } 4781 }
4782 4782
4783 4783
4784 void MacroAssembler::EmitLoadTypeFeedbackVector(Register vector) { 4784 void MacroAssembler::EmitLoadTypeFeedbackVector(Register vector) {
4785 lw(vector, MemOperand(fp, JavaScriptFrameConstants::kFunctionOffset)); 4785 lw(vector, MemOperand(fp, JavaScriptFrameConstants::kFunctionOffset));
4786 lw(vector, FieldMemOperand(vector, JSFunction::kSharedFunctionInfoOffset)); 4786 lw(vector, FieldMemOperand(vector, JSFunction::kLiteralsOffset));
4787 lw(vector, 4787 lw(vector, FieldMemOperand(vector, LiteralsArray::kFeedbackVectorOffset));
4788 FieldMemOperand(vector, SharedFunctionInfo::kFeedbackVectorOffset));
4789 } 4788 }
4790 4789
4791 4790
4792 void MacroAssembler::EnterFrame(StackFrame::Type type, 4791 void MacroAssembler::EnterFrame(StackFrame::Type type,
4793 bool load_constant_pool_pointer_reg) { 4792 bool load_constant_pool_pointer_reg) {
4794 // Out-of-line constant pool not implemented on mips. 4793 // Out-of-line constant pool not implemented on mips.
4795 UNREACHABLE(); 4794 UNREACHABLE();
4796 } 4795 }
4797 4796
4798 4797
(...skipping 969 matching lines...) Expand 10 before | Expand all | Expand 10 after
5768 if (mag.shift > 0) sra(result, result, mag.shift); 5767 if (mag.shift > 0) sra(result, result, mag.shift);
5769 srl(at, dividend, 31); 5768 srl(at, dividend, 31);
5770 Addu(result, result, Operand(at)); 5769 Addu(result, result, Operand(at));
5771 } 5770 }
5772 5771
5773 5772
5774 } // namespace internal 5773 } // namespace internal
5775 } // namespace v8 5774 } // namespace v8
5776 5775
5777 #endif // V8_TARGET_ARCH_MIPS 5776 #endif // V8_TARGET_ARCH_MIPS
OLDNEW
« no previous file with comments | « src/mips/builtins-mips.cc ('k') | src/mips64/builtins-mips64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698