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

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

Issue 1672643002: X87: 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/x87/builtins-x87.cc ('k') | no next file » | 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_X87 5 #if V8_TARGET_ARCH_X87
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 836 matching lines...) Expand 10 before | Expand all | Expand 10 after
847 push(ebp); // Caller's frame pointer. 847 push(ebp); // Caller's frame pointer.
848 mov(ebp, esp); 848 mov(ebp, esp);
849 push(esi); // Callee's context. 849 push(esi); // Callee's context.
850 push(edi); // Callee's JS function. 850 push(edi); // Callee's JS function.
851 } 851 }
852 } 852 }
853 853
854 854
855 void MacroAssembler::EmitLoadTypeFeedbackVector(Register vector) { 855 void MacroAssembler::EmitLoadTypeFeedbackVector(Register vector) {
856 mov(vector, Operand(ebp, JavaScriptFrameConstants::kFunctionOffset)); 856 mov(vector, Operand(ebp, JavaScriptFrameConstants::kFunctionOffset));
857 mov(vector, FieldOperand(vector, JSFunction::kSharedFunctionInfoOffset)); 857 mov(vector, FieldOperand(vector, JSFunction::kLiteralsOffset));
858 mov(vector, FieldOperand(vector, SharedFunctionInfo::kFeedbackVectorOffset)); 858 mov(vector, FieldOperand(vector, LiteralsArray::kFeedbackVectorOffset));
859 } 859 }
860 860
861 861
862 void MacroAssembler::EnterFrame(StackFrame::Type type, 862 void MacroAssembler::EnterFrame(StackFrame::Type type,
863 bool load_constant_pool_pointer_reg) { 863 bool load_constant_pool_pointer_reg) {
864 // Out-of-line constant pool not implemented on x87. 864 // Out-of-line constant pool not implemented on x87.
865 UNREACHABLE(); 865 UNREACHABLE();
866 } 866 }
867 867
868 868
(...skipping 2099 matching lines...) Expand 10 before | Expand all | Expand 10 after
2968 mov(eax, dividend); 2968 mov(eax, dividend);
2969 shr(eax, 31); 2969 shr(eax, 31);
2970 add(edx, eax); 2970 add(edx, eax);
2971 } 2971 }
2972 2972
2973 2973
2974 } // namespace internal 2974 } // namespace internal
2975 } // namespace v8 2975 } // namespace v8
2976 2976
2977 #endif // V8_TARGET_ARCH_X87 2977 #endif // V8_TARGET_ARCH_X87
OLDNEW
« no previous file with comments | « src/x87/builtins-x87.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698