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

Side by Side Diff: src/mips64/macro-assembler-mips64.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, 6 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/macro-assembler-mips.cc ('k') | src/objects.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 #include <limits.h> // For LONG_MIN, LONG_MAX. 5 #include <limits.h> // For LONG_MIN, LONG_MAX.
6 6
7 #if V8_TARGET_ARCH_MIPS64 7 #if V8_TARGET_ARCH_MIPS64
8 8
9 #include "src/base/division-by-constant.h" 9 #include "src/base/division-by-constant.h"
10 #include "src/bootstrapper.h" 10 #include "src/bootstrapper.h"
(...skipping 6013 matching lines...) Expand 10 before | Expand all | Expand 10 after
6024 } else { 6024 } else {
6025 PushStandardFrame(a1); 6025 PushStandardFrame(a1);
6026 nop(Assembler::CODE_AGE_SEQUENCE_NOP); 6026 nop(Assembler::CODE_AGE_SEQUENCE_NOP);
6027 nop(Assembler::CODE_AGE_SEQUENCE_NOP); 6027 nop(Assembler::CODE_AGE_SEQUENCE_NOP);
6028 nop(Assembler::CODE_AGE_SEQUENCE_NOP); 6028 nop(Assembler::CODE_AGE_SEQUENCE_NOP);
6029 } 6029 }
6030 } 6030 }
6031 6031
6032 void MacroAssembler::EmitLoadTypeFeedbackVector(Register vector) { 6032 void MacroAssembler::EmitLoadTypeFeedbackVector(Register vector) {
6033 ld(vector, MemOperand(fp, JavaScriptFrameConstants::kFunctionOffset)); 6033 ld(vector, MemOperand(fp, JavaScriptFrameConstants::kFunctionOffset));
6034 ld(vector, FieldMemOperand(vector, JSFunction::kSharedFunctionInfoOffset)); 6034 ld(vector, FieldMemOperand(vector, JSFunction::kLiteralsOffset));
6035 ld(vector, 6035 ld(vector, FieldMemOperand(vector, LiteralsArray::kFeedbackVectorOffset));
6036 FieldMemOperand(vector, SharedFunctionInfo::kFeedbackVectorOffset));
6037 } 6036 }
6038 6037
6039 6038
6040 void MacroAssembler::EnterFrame(StackFrame::Type type, 6039 void MacroAssembler::EnterFrame(StackFrame::Type type,
6041 bool load_constant_pool_pointer_reg) { 6040 bool load_constant_pool_pointer_reg) {
6042 // Out-of-line constant pool not implemented on mips64. 6041 // Out-of-line constant pool not implemented on mips64.
6043 UNREACHABLE(); 6042 UNREACHABLE();
6044 } 6043 }
6045 6044
6046 6045
(...skipping 1094 matching lines...) Expand 10 before | Expand all | Expand 10 after
7141 if (mag.shift > 0) sra(result, result, mag.shift); 7140 if (mag.shift > 0) sra(result, result, mag.shift);
7142 srl(at, dividend, 31); 7141 srl(at, dividend, 31);
7143 Addu(result, result, Operand(at)); 7142 Addu(result, result, Operand(at));
7144 } 7143 }
7145 7144
7146 7145
7147 } // namespace internal 7146 } // namespace internal
7148 } // namespace v8 7147 } // namespace v8
7149 7148
7150 #endif // V8_TARGET_ARCH_MIPS64 7149 #endif // V8_TARGET_ARCH_MIPS64
OLDNEW
« no previous file with comments | « src/mips/macro-assembler-mips.cc ('k') | src/objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698