| 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 #include "src/v8.h" | 5 #include "src/v8.h" |
| 6 | 6 |
| 7 #if V8_TARGET_ARCH_IA32 | 7 #if V8_TARGET_ARCH_IA32 |
| 8 | 8 |
| 9 #include "src/bootstrapper.h" | 9 #include "src/bootstrapper.h" |
| 10 #include "src/code-stubs.h" | 10 #include "src/code-stubs.h" |
| (...skipping 4484 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4495 __ pop(ecx); | 4495 __ pop(ecx); |
| 4496 int additional_offset = | 4496 int additional_offset = |
| 4497 function_mode() == JS_FUNCTION_STUB_MODE ? kPointerSize : 0; | 4497 function_mode() == JS_FUNCTION_STUB_MODE ? kPointerSize : 0; |
| 4498 __ lea(esp, MemOperand(esp, ebx, times_pointer_size, additional_offset)); | 4498 __ lea(esp, MemOperand(esp, ebx, times_pointer_size, additional_offset)); |
| 4499 __ jmp(ecx); // Return to IC Miss stub, continuation still on stack. | 4499 __ jmp(ecx); // Return to IC Miss stub, continuation still on stack. |
| 4500 } | 4500 } |
| 4501 | 4501 |
| 4502 | 4502 |
| 4503 void LoadICTrampolineStub::Generate(MacroAssembler* masm) { | 4503 void LoadICTrampolineStub::Generate(MacroAssembler* masm) { |
| 4504 EmitLoadTypeFeedbackVector(masm, FullVectorLoadConvention::VectorRegister()); | 4504 EmitLoadTypeFeedbackVector(masm, FullVectorLoadConvention::VectorRegister()); |
| 4505 VectorLoadStub stub(isolate(), state_); | 4505 VectorLoadStub stub(isolate(), state()); |
| 4506 __ jmp(stub.GetCode(), RelocInfo::CODE_TARGET); | 4506 __ jmp(stub.GetCode(), RelocInfo::CODE_TARGET); |
| 4507 } | 4507 } |
| 4508 | 4508 |
| 4509 | 4509 |
| 4510 void KeyedLoadICTrampolineStub::Generate(MacroAssembler* masm) { | 4510 void KeyedLoadICTrampolineStub::Generate(MacroAssembler* masm) { |
| 4511 EmitLoadTypeFeedbackVector(masm, FullVectorLoadConvention::VectorRegister()); | 4511 EmitLoadTypeFeedbackVector(masm, FullVectorLoadConvention::VectorRegister()); |
| 4512 VectorKeyedLoadStub stub(isolate()); | 4512 VectorKeyedLoadStub stub(isolate()); |
| 4513 __ jmp(stub.GetCode(), RelocInfo::CODE_TARGET); | 4513 __ jmp(stub.GetCode(), RelocInfo::CODE_TARGET); |
| 4514 } | 4514 } |
| 4515 | 4515 |
| (...skipping 502 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5018 Operand(ebp, 7 * kPointerSize), | 5018 Operand(ebp, 7 * kPointerSize), |
| 5019 NULL); | 5019 NULL); |
| 5020 } | 5020 } |
| 5021 | 5021 |
| 5022 | 5022 |
| 5023 #undef __ | 5023 #undef __ |
| 5024 | 5024 |
| 5025 } } // namespace v8::internal | 5025 } } // namespace v8::internal |
| 5026 | 5026 |
| 5027 #endif // V8_TARGET_ARCH_IA32 | 5027 #endif // V8_TARGET_ARCH_IA32 |
| OLD | NEW |