| 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 4337 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4348 | 4348 |
| 4349 __ bind(¬_array); | 4349 __ bind(¬_array); |
| 4350 __ CompareRoot(feedback, Heap::kmegamorphic_symbolRootIndex); | 4350 __ CompareRoot(feedback, Heap::kmegamorphic_symbolRootIndex); |
| 4351 __ j(not_equal, &miss); | 4351 __ j(not_equal, &miss); |
| 4352 Code::Flags code_flags = Code::RemoveTypeAndHolderFromFlags( | 4352 Code::Flags code_flags = Code::RemoveTypeAndHolderFromFlags( |
| 4353 Code::ComputeHandlerFlags(Code::LOAD_IC)); | 4353 Code::ComputeHandlerFlags(Code::LOAD_IC)); |
| 4354 masm->isolate()->stub_cache()->GenerateProbe( | 4354 masm->isolate()->stub_cache()->GenerateProbe( |
| 4355 masm, Code::LOAD_IC, code_flags, receiver, name, feedback, no_reg); | 4355 masm, Code::LOAD_IC, code_flags, receiver, name, feedback, no_reg); |
| 4356 | 4356 |
| 4357 __ bind(&miss); | 4357 __ bind(&miss); |
| 4358 LoadIC::GenerateMiss(masm, LoadIC::kStressDispatcher); | 4358 LoadIC::GenerateMiss(masm); |
| 4359 | 4359 |
| 4360 __ bind(&load_smi_map); | 4360 __ bind(&load_smi_map); |
| 4361 __ LoadRoot(receiver_map, Heap::kHeapNumberMapRootIndex); | 4361 __ LoadRoot(receiver_map, Heap::kHeapNumberMapRootIndex); |
| 4362 __ jmp(&compare_map); | 4362 __ jmp(&compare_map); |
| 4363 } | 4363 } |
| 4364 | 4364 |
| 4365 | 4365 |
| 4366 void KeyedLoadICStub::Generate(MacroAssembler* masm) { | 4366 void KeyedLoadICStub::Generate(MacroAssembler* masm) { |
| 4367 GenerateImpl(masm, false); | 4367 GenerateImpl(masm, false); |
| 4368 } | 4368 } |
| (...skipping 1203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5572 kStackSpace, nullptr, return_value_operand, NULL); | 5572 kStackSpace, nullptr, return_value_operand, NULL); |
| 5573 } | 5573 } |
| 5574 | 5574 |
| 5575 | 5575 |
| 5576 #undef __ | 5576 #undef __ |
| 5577 | 5577 |
| 5578 } // namespace internal | 5578 } // namespace internal |
| 5579 } // namespace v8 | 5579 } // namespace v8 |
| 5580 | 5580 |
| 5581 #endif // V8_TARGET_ARCH_X64 | 5581 #endif // V8_TARGET_ARCH_X64 |
| OLD | NEW |