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

Side by Side Diff: src/mips64/macro-assembler-mips64.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/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 5677 matching lines...) Expand 10 before | Expand all | Expand 10 after
5688 } else { 5688 } else {
5689 PushStandardFrame(a1); 5689 PushStandardFrame(a1);
5690 nop(Assembler::CODE_AGE_SEQUENCE_NOP); 5690 nop(Assembler::CODE_AGE_SEQUENCE_NOP);
5691 nop(Assembler::CODE_AGE_SEQUENCE_NOP); 5691 nop(Assembler::CODE_AGE_SEQUENCE_NOP);
5692 nop(Assembler::CODE_AGE_SEQUENCE_NOP); 5692 nop(Assembler::CODE_AGE_SEQUENCE_NOP);
5693 } 5693 }
5694 } 5694 }
5695 5695
5696 void MacroAssembler::EmitLoadTypeFeedbackVector(Register vector) { 5696 void MacroAssembler::EmitLoadTypeFeedbackVector(Register vector) {
5697 ld(vector, MemOperand(fp, JavaScriptFrameConstants::kFunctionOffset)); 5697 ld(vector, MemOperand(fp, JavaScriptFrameConstants::kFunctionOffset));
5698 ld(vector, FieldMemOperand(vector, JSFunction::kLiteralsOffset)); 5698 ld(vector, FieldMemOperand(vector, JSFunction::kFeedbackVectorOffset));
5699 ld(vector, FieldMemOperand(vector, LiteralsArray::kFeedbackVectorOffset));
5700 } 5699 }
5701 5700
5702 5701
5703 void MacroAssembler::EnterFrame(StackFrame::Type type, 5702 void MacroAssembler::EnterFrame(StackFrame::Type type,
5704 bool load_constant_pool_pointer_reg) { 5703 bool load_constant_pool_pointer_reg) {
5705 // Out-of-line constant pool not implemented on mips64. 5704 // Out-of-line constant pool not implemented on mips64.
5706 UNREACHABLE(); 5705 UNREACHABLE();
5707 } 5706 }
5708 5707
5709 5708
(...skipping 1231 matching lines...) Expand 10 before | Expand all | Expand 10 after
6941 if (mag.shift > 0) sra(result, result, mag.shift); 6940 if (mag.shift > 0) sra(result, result, mag.shift);
6942 srl(at, dividend, 31); 6941 srl(at, dividend, 31);
6943 Addu(result, result, Operand(at)); 6942 Addu(result, result, Operand(at));
6944 } 6943 }
6945 6944
6946 6945
6947 } // namespace internal 6946 } // namespace internal
6948 } // namespace v8 6947 } // namespace v8
6949 6948
6950 #endif // V8_TARGET_ARCH_MIPS64 6949 #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