| OLD | NEW |
| 1 // Copyright 2016 the V8 project authors. All rights reserved. | 1 // Copyright 2016 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/builtins/builtins.h" | 5 #include "src/builtins/builtins.h" |
| 6 #include "src/builtins/builtins-utils.h" | 6 #include "src/builtins/builtins-utils.h" |
| 7 #include "src/ic/handler-compiler.h" | 7 #include "src/ic/handler-compiler.h" |
| 8 #include "src/ic/ic.h" | 8 #include "src/ic/ic.h" |
| 9 | 9 |
| 10 namespace v8 { | 10 namespace v8 { |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 | 42 |
| 43 void Builtins::Generate_KeyedStoreIC_Megamorphic_Strict(MacroAssembler* masm) { | 43 void Builtins::Generate_KeyedStoreIC_Megamorphic_Strict(MacroAssembler* masm) { |
| 44 KeyedStoreIC::GenerateMegamorphic(masm, STRICT); | 44 KeyedStoreIC::GenerateMegamorphic(masm, STRICT); |
| 45 } | 45 } |
| 46 | 46 |
| 47 void Builtins::Generate_KeyedStoreIC_Miss(MacroAssembler* masm) { | 47 void Builtins::Generate_KeyedStoreIC_Miss(MacroAssembler* masm) { |
| 48 KeyedStoreIC::GenerateMiss(masm); | 48 KeyedStoreIC::GenerateMiss(masm); |
| 49 } | 49 } |
| 50 | 50 |
| 51 void Builtins::Generate_KeyedStoreIC_Slow(MacroAssembler* masm) { | 51 void Builtins::Generate_KeyedStoreIC_Slow(MacroAssembler* masm) { |
| 52 ElementHandlerCompiler::GenerateStoreSlow(masm); | 52 KeyedStoreIC::GenerateSlow(masm); |
| 53 } | 53 } |
| 54 | 54 |
| 55 void Builtins::Generate_LoadGlobalIC_Miss(CodeStubAssembler* assembler) { | 55 void Builtins::Generate_LoadGlobalIC_Miss(CodeStubAssembler* assembler) { |
| 56 typedef compiler::Node Node; | 56 typedef compiler::Node Node; |
| 57 typedef LoadGlobalWithVectorDescriptor Descriptor; | 57 typedef LoadGlobalWithVectorDescriptor Descriptor; |
| 58 | 58 |
| 59 Node* slot = assembler->Parameter(Descriptor::kSlot); | 59 Node* slot = assembler->Parameter(Descriptor::kSlot); |
| 60 Node* vector = assembler->Parameter(Descriptor::kVector); | 60 Node* vector = assembler->Parameter(Descriptor::kVector); |
| 61 Node* context = assembler->Parameter(Descriptor::kContext); | 61 Node* context = assembler->Parameter(Descriptor::kContext); |
| 62 | 62 |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 154 void Builtins::Generate_StoreIC_SlowSloppy(CodeStubAssembler* assembler) { | 154 void Builtins::Generate_StoreIC_SlowSloppy(CodeStubAssembler* assembler) { |
| 155 Generate_StoreIC_Slow(assembler, SLOPPY); | 155 Generate_StoreIC_Slow(assembler, SLOPPY); |
| 156 } | 156 } |
| 157 | 157 |
| 158 void Builtins::Generate_StoreIC_SlowStrict(CodeStubAssembler* assembler) { | 158 void Builtins::Generate_StoreIC_SlowStrict(CodeStubAssembler* assembler) { |
| 159 Generate_StoreIC_Slow(assembler, STRICT); | 159 Generate_StoreIC_Slow(assembler, STRICT); |
| 160 } | 160 } |
| 161 | 161 |
| 162 } // namespace internal | 162 } // namespace internal |
| 163 } // namespace v8 | 163 } // namespace v8 |
| OLD | NEW |