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

Side by Side Diff: src/mips64/macro-assembler-mips64.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/mips64/builtins-mips64.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 5481 matching lines...) Expand 10 before | Expand all | Expand 10 after
5492 nop(Assembler::CODE_AGE_SEQUENCE_NOP); 5492 nop(Assembler::CODE_AGE_SEQUENCE_NOP);
5493 nop(Assembler::CODE_AGE_SEQUENCE_NOP); 5493 nop(Assembler::CODE_AGE_SEQUENCE_NOP);
5494 // Adjust fp to point to caller's fp. 5494 // Adjust fp to point to caller's fp.
5495 Daddu(fp, sp, Operand(StandardFrameConstants::kFixedFrameSizeFromFp)); 5495 Daddu(fp, sp, Operand(StandardFrameConstants::kFixedFrameSizeFromFp));
5496 } 5496 }
5497 } 5497 }
5498 5498
5499 5499
5500 void MacroAssembler::EmitLoadTypeFeedbackVector(Register vector) { 5500 void MacroAssembler::EmitLoadTypeFeedbackVector(Register vector) {
5501 ld(vector, MemOperand(fp, JavaScriptFrameConstants::kFunctionOffset)); 5501 ld(vector, MemOperand(fp, JavaScriptFrameConstants::kFunctionOffset));
5502 ld(vector, FieldMemOperand(vector, JSFunction::kSharedFunctionInfoOffset)); 5502 ld(vector, FieldMemOperand(vector, JSFunction::kLiteralsOffset));
5503 ld(vector, 5503 ld(vector, FieldMemOperand(vector, LiteralsArray::kFeedbackVectorOffset));
5504 FieldMemOperand(vector, SharedFunctionInfo::kFeedbackVectorOffset));
5505 } 5504 }
5506 5505
5507 5506
5508 void MacroAssembler::EnterFrame(StackFrame::Type type, 5507 void MacroAssembler::EnterFrame(StackFrame::Type type,
5509 bool load_constant_pool_pointer_reg) { 5508 bool load_constant_pool_pointer_reg) {
5510 // Out-of-line constant pool not implemented on mips64. 5509 // Out-of-line constant pool not implemented on mips64.
5511 UNREACHABLE(); 5510 UNREACHABLE();
5512 } 5511 }
5513 5512
5514 5513
(...skipping 1032 matching lines...) Expand 10 before | Expand all | Expand 10 after
6547 if (mag.shift > 0) sra(result, result, mag.shift); 6546 if (mag.shift > 0) sra(result, result, mag.shift);
6548 srl(at, dividend, 31); 6547 srl(at, dividend, 31);
6549 Addu(result, result, Operand(at)); 6548 Addu(result, result, Operand(at));
6550 } 6549 }
6551 6550
6552 6551
6553 } // namespace internal 6552 } // namespace internal
6554 } // namespace v8 6553 } // namespace v8
6555 6554
6556 #endif // V8_TARGET_ARCH_MIPS64 6555 #endif // V8_TARGET_ARCH_MIPS64
OLDNEW
« no previous file with comments | « src/mips64/builtins-mips64.cc ('k') | src/objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698