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

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

Issue 1668103002: Type Feedback Vector lives in the closure (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: REBASE. Created 4 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/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 4826 matching lines...) Expand 10 before | Expand all | Expand 10 after
4837 Push(ra, fp, cp, a1); 4837 Push(ra, fp, cp, a1);
4838 nop(Assembler::CODE_AGE_SEQUENCE_NOP); 4838 nop(Assembler::CODE_AGE_SEQUENCE_NOP);
4839 // Adjust fp to point to caller's fp. 4839 // Adjust fp to point to caller's fp.
4840 Addu(fp, sp, Operand(StandardFrameConstants::kFixedFrameSizeFromFp)); 4840 Addu(fp, sp, Operand(StandardFrameConstants::kFixedFrameSizeFromFp));
4841 } 4841 }
4842 } 4842 }
4843 4843
4844 4844
4845 void MacroAssembler::EmitLoadTypeFeedbackVector(Register vector) { 4845 void MacroAssembler::EmitLoadTypeFeedbackVector(Register vector) {
4846 lw(vector, MemOperand(fp, JavaScriptFrameConstants::kFunctionOffset)); 4846 lw(vector, MemOperand(fp, JavaScriptFrameConstants::kFunctionOffset));
4847 lw(vector, FieldMemOperand(vector, JSFunction::kSharedFunctionInfoOffset)); 4847 lw(vector, FieldMemOperand(vector, JSFunction::kLiteralsOffset));
4848 lw(vector, 4848 lw(vector, FieldMemOperand(vector, LiteralsArray::kFeedbackVectorOffset));
4849 FieldMemOperand(vector, SharedFunctionInfo::kFeedbackVectorOffset));
4850 } 4849 }
4851 4850
4852 4851
4853 void MacroAssembler::EnterFrame(StackFrame::Type type, 4852 void MacroAssembler::EnterFrame(StackFrame::Type type,
4854 bool load_constant_pool_pointer_reg) { 4853 bool load_constant_pool_pointer_reg) {
4855 // Out-of-line constant pool not implemented on mips. 4854 // Out-of-line constant pool not implemented on mips.
4856 UNREACHABLE(); 4855 UNREACHABLE();
4857 } 4856 }
4858 4857
4859 4858
(...skipping 969 matching lines...) Expand 10 before | Expand all | Expand 10 after
5829 if (mag.shift > 0) sra(result, result, mag.shift); 5828 if (mag.shift > 0) sra(result, result, mag.shift);
5830 srl(at, dividend, 31); 5829 srl(at, dividend, 31);
5831 Addu(result, result, Operand(at)); 5830 Addu(result, result, Operand(at));
5832 } 5831 }
5833 5832
5834 5833
5835 } // namespace internal 5834 } // namespace internal
5836 } // namespace v8 5835 } // namespace v8
5837 5836
5838 #endif // V8_TARGET_ARCH_MIPS 5837 #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