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

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

Issue 2019263002: X87: Move of the type feedback vector to the closure. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 6 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 | « no previous file | 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 1025 matching lines...) Expand 10 before | Expand all | Expand 10 after
1036 push(ebp); // Caller's frame pointer. 1036 push(ebp); // Caller's frame pointer.
1037 mov(ebp, esp); 1037 mov(ebp, esp);
1038 push(esi); // Callee's context. 1038 push(esi); // Callee's context.
1039 push(edi); // Callee's JS function. 1039 push(edi); // Callee's JS function.
1040 } 1040 }
1041 } 1041 }
1042 1042
1043 1043
1044 void MacroAssembler::EmitLoadTypeFeedbackVector(Register vector) { 1044 void MacroAssembler::EmitLoadTypeFeedbackVector(Register vector) {
1045 mov(vector, Operand(ebp, JavaScriptFrameConstants::kFunctionOffset)); 1045 mov(vector, Operand(ebp, JavaScriptFrameConstants::kFunctionOffset));
1046 mov(vector, FieldOperand(vector, JSFunction::kSharedFunctionInfoOffset)); 1046 mov(vector, FieldOperand(vector, JSFunction::kLiteralsOffset));
1047 mov(vector, FieldOperand(vector, SharedFunctionInfo::kFeedbackVectorOffset)); 1047 mov(vector, FieldOperand(vector, LiteralsArray::kFeedbackVectorOffset));
1048 } 1048 }
1049 1049
1050 1050
1051 void MacroAssembler::EnterFrame(StackFrame::Type type, 1051 void MacroAssembler::EnterFrame(StackFrame::Type type,
1052 bool load_constant_pool_pointer_reg) { 1052 bool load_constant_pool_pointer_reg) {
1053 // Out-of-line constant pool not implemented on x87. 1053 // Out-of-line constant pool not implemented on x87.
1054 UNREACHABLE(); 1054 UNREACHABLE();
1055 } 1055 }
1056 1056
1057 1057
(...skipping 2244 matching lines...) Expand 10 before | Expand all | Expand 10 after
3302 mov(eax, dividend); 3302 mov(eax, dividend);
3303 shr(eax, 31); 3303 shr(eax, 31);
3304 add(edx, eax); 3304 add(edx, eax);
3305 } 3305 }
3306 3306
3307 3307
3308 } // namespace internal 3308 } // namespace internal
3309 } // namespace v8 3309 } // namespace v8
3310 3310
3311 #endif // V8_TARGET_ARCH_X87 3311 #endif // V8_TARGET_ARCH_X87
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698