OLD | NEW |
1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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/bootstrapper.h" | 7 #include "src/bootstrapper.h" |
8 #include "src/code-stubs.h" | 8 #include "src/code-stubs.h" |
9 #include "src/codegen.h" | 9 #include "src/codegen.h" |
10 #include "src/ic/handler-compiler.h" | 10 #include "src/ic/handler-compiler.h" |
(...skipping 4343 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4354 | 4354 |
4355 __ bind(¬_array); | 4355 __ bind(¬_array); |
4356 __ CompareRoot(feedback, Heap::kmegamorphic_symbolRootIndex); | 4356 __ CompareRoot(feedback, Heap::kmegamorphic_symbolRootIndex); |
4357 __ j(not_equal, &miss); | 4357 __ j(not_equal, &miss); |
4358 Code::Flags code_flags = Code::RemoveTypeAndHolderFromFlags( | 4358 Code::Flags code_flags = Code::RemoveTypeAndHolderFromFlags( |
4359 Code::ComputeHandlerFlags(Code::LOAD_IC)); | 4359 Code::ComputeHandlerFlags(Code::LOAD_IC)); |
4360 masm->isolate()->stub_cache()->GenerateProbe( | 4360 masm->isolate()->stub_cache()->GenerateProbe( |
4361 masm, Code::LOAD_IC, code_flags, receiver, name, feedback, no_reg); | 4361 masm, Code::LOAD_IC, code_flags, receiver, name, feedback, no_reg); |
4362 | 4362 |
4363 __ bind(&miss); | 4363 __ bind(&miss); |
4364 LoadIC::GenerateMiss(masm); | 4364 LoadIC::GenerateMiss(masm, LoadIC::kStressDispatcher); |
4365 | 4365 |
4366 __ bind(&load_smi_map); | 4366 __ bind(&load_smi_map); |
4367 __ LoadRoot(receiver_map, Heap::kHeapNumberMapRootIndex); | 4367 __ LoadRoot(receiver_map, Heap::kHeapNumberMapRootIndex); |
4368 __ jmp(&compare_map); | 4368 __ jmp(&compare_map); |
4369 } | 4369 } |
4370 | 4370 |
4371 | 4371 |
4372 void KeyedLoadICStub::Generate(MacroAssembler* masm) { | 4372 void KeyedLoadICStub::Generate(MacroAssembler* masm) { |
4373 GenerateImpl(masm, false); | 4373 GenerateImpl(masm, false); |
4374 } | 4374 } |
(...skipping 1203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5578 kStackSpace, nullptr, return_value_operand, NULL); | 5578 kStackSpace, nullptr, return_value_operand, NULL); |
5579 } | 5579 } |
5580 | 5580 |
5581 | 5581 |
5582 #undef __ | 5582 #undef __ |
5583 | 5583 |
5584 } // namespace internal | 5584 } // namespace internal |
5585 } // namespace v8 | 5585 } // namespace v8 |
5586 | 5586 |
5587 #endif // V8_TARGET_ARCH_X64 | 5587 #endif // V8_TARGET_ARCH_X64 |
OLD | NEW |