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

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

Issue 2674593003: [TypeFeedbackVector] Root feedback vectors at function literal site. (Closed)
Patch Set: REBASE+liveedit fix. 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 5678 matching lines...) Expand 10 before | Expand all | Expand 10 after
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::kFeedbackVectorOffset)); 5698 ld(vector, FieldMemOperand(vector, JSFunction::kFeedbackVectorOffset));
5699 ld(vector, FieldMemOperand(vector, Cell::kValueOffset));
5699 } 5700 }
5700 5701
5701 5702
5702 void MacroAssembler::EnterFrame(StackFrame::Type type, 5703 void MacroAssembler::EnterFrame(StackFrame::Type type,
5703 bool load_constant_pool_pointer_reg) { 5704 bool load_constant_pool_pointer_reg) {
5704 // Out-of-line constant pool not implemented on mips64. 5705 // Out-of-line constant pool not implemented on mips64.
5705 UNREACHABLE(); 5706 UNREACHABLE();
5706 } 5707 }
5707 5708
5708 5709
(...skipping 1231 matching lines...) Expand 10 before | Expand all | Expand 10 after
6940 if (mag.shift > 0) sra(result, result, mag.shift); 6941 if (mag.shift > 0) sra(result, result, mag.shift);
6941 srl(at, dividend, 31); 6942 srl(at, dividend, 31);
6942 Addu(result, result, Operand(at)); 6943 Addu(result, result, Operand(at));
6943 } 6944 }
6944 6945
6945 6946
6946 } // namespace internal 6947 } // namespace internal
6947 } // namespace v8 6948 } // namespace v8
6948 6949
6949 #endif // V8_TARGET_ARCH_MIPS64 6950 #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