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

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

Issue 1670813005: Revert of Type Feedback Vector lives in the closure (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: 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/x64/builtins-x64.cc ('k') | test/cctest/cctest.status » ('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 #if V8_TARGET_ARCH_X64 5 #if V8_TARGET_ARCH_X64
6 6
7 #include "src/base/bits.h" 7 #include "src/base/bits.h"
8 #include "src/base/division-by-constant.h" 8 #include "src/base/division-by-constant.h"
9 #include "src/bootstrapper.h" 9 #include "src/bootstrapper.h"
10 #include "src/codegen.h" 10 #include "src/codegen.h"
(...skipping 4311 matching lines...) Expand 10 before | Expand all | Expand 10 after
4322 pushq(rbp); // Caller's frame pointer. 4322 pushq(rbp); // Caller's frame pointer.
4323 movp(rbp, rsp); 4323 movp(rbp, rsp);
4324 Push(rsi); // Callee's context. 4324 Push(rsi); // Callee's context.
4325 Push(rdi); // Callee's JS function. 4325 Push(rdi); // Callee's JS function.
4326 } 4326 }
4327 } 4327 }
4328 4328
4329 4329
4330 void MacroAssembler::EmitLoadTypeFeedbackVector(Register vector) { 4330 void MacroAssembler::EmitLoadTypeFeedbackVector(Register vector) {
4331 movp(vector, Operand(rbp, JavaScriptFrameConstants::kFunctionOffset)); 4331 movp(vector, Operand(rbp, JavaScriptFrameConstants::kFunctionOffset));
4332 movp(vector, FieldOperand(vector, JSFunction::kLiteralsOffset)); 4332 movp(vector, FieldOperand(vector, JSFunction::kSharedFunctionInfoOffset));
4333 movp(vector, FieldOperand(vector, LiteralsArray::kFeedbackVectorOffset)); 4333 movp(vector, FieldOperand(vector, SharedFunctionInfo::kFeedbackVectorOffset));
4334 } 4334 }
4335 4335
4336 4336
4337 void MacroAssembler::EnterFrame(StackFrame::Type type, 4337 void MacroAssembler::EnterFrame(StackFrame::Type type,
4338 bool load_constant_pool_pointer_reg) { 4338 bool load_constant_pool_pointer_reg) {
4339 // Out-of-line constant pool not implemented on x64. 4339 // Out-of-line constant pool not implemented on x64.
4340 UNREACHABLE(); 4340 UNREACHABLE();
4341 } 4341 }
4342 4342
4343 4343
(...skipping 1251 matching lines...) Expand 10 before | Expand all | Expand 10 after
5595 movl(rax, dividend); 5595 movl(rax, dividend);
5596 shrl(rax, Immediate(31)); 5596 shrl(rax, Immediate(31));
5597 addl(rdx, rax); 5597 addl(rdx, rax);
5598 } 5598 }
5599 5599
5600 5600
5601 } // namespace internal 5601 } // namespace internal
5602 } // namespace v8 5602 } // namespace v8
5603 5603
5604 #endif // V8_TARGET_ARCH_X64 5604 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « src/x64/builtins-x64.cc ('k') | test/cctest/cctest.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698