| OLD | NEW |
| 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_IA32 | 5 #if V8_TARGET_ARCH_IA32 |
| 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 982 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 993 push(ebp); // Caller's frame pointer. | 993 push(ebp); // Caller's frame pointer. |
| 994 mov(ebp, esp); | 994 mov(ebp, esp); |
| 995 push(esi); // Callee's context. | 995 push(esi); // Callee's context. |
| 996 push(edi); // Callee's JS function. | 996 push(edi); // Callee's JS function. |
| 997 } | 997 } |
| 998 } | 998 } |
| 999 | 999 |
| 1000 | 1000 |
| 1001 void MacroAssembler::EmitLoadTypeFeedbackVector(Register vector) { | 1001 void MacroAssembler::EmitLoadTypeFeedbackVector(Register vector) { |
| 1002 mov(vector, Operand(ebp, JavaScriptFrameConstants::kFunctionOffset)); | 1002 mov(vector, Operand(ebp, JavaScriptFrameConstants::kFunctionOffset)); |
| 1003 mov(vector, FieldOperand(vector, JSFunction::kLiteralsOffset)); | 1003 mov(vector, FieldOperand(vector, JSFunction::kSharedFunctionInfoOffset)); |
| 1004 mov(vector, FieldOperand(vector, LiteralsArray::kFeedbackVectorOffset)); | 1004 mov(vector, FieldOperand(vector, SharedFunctionInfo::kFeedbackVectorOffset)); |
| 1005 } | 1005 } |
| 1006 | 1006 |
| 1007 | 1007 |
| 1008 void MacroAssembler::EnterFrame(StackFrame::Type type, | 1008 void MacroAssembler::EnterFrame(StackFrame::Type type, |
| 1009 bool load_constant_pool_pointer_reg) { | 1009 bool load_constant_pool_pointer_reg) { |
| 1010 // Out-of-line constant pool not implemented on ia32. | 1010 // Out-of-line constant pool not implemented on ia32. |
| 1011 UNREACHABLE(); | 1011 UNREACHABLE(); |
| 1012 } | 1012 } |
| 1013 | 1013 |
| 1014 | 1014 |
| (...skipping 2199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3214 mov(eax, dividend); | 3214 mov(eax, dividend); |
| 3215 shr(eax, 31); | 3215 shr(eax, 31); |
| 3216 add(edx, eax); | 3216 add(edx, eax); |
| 3217 } | 3217 } |
| 3218 | 3218 |
| 3219 | 3219 |
| 3220 } // namespace internal | 3220 } // namespace internal |
| 3221 } // namespace v8 | 3221 } // namespace v8 |
| 3222 | 3222 |
| 3223 #endif // V8_TARGET_ARCH_IA32 | 3223 #endif // V8_TARGET_ARCH_IA32 |
| OLD | NEW |