| 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/code-stubs.h" | 5 #include "src/code-stubs.h" |
| 6 | 6 |
| 7 #include <sstream> | 7 #include <sstream> |
| 8 | 8 |
| 9 #include "src/ast/ast.h" | 9 #include "src/ast/ast.h" |
| 10 #include "src/bootstrapper.h" | 10 #include "src/bootstrapper.h" |
| (...skipping 5652 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5663 | 5663 |
| 5664 | 5664 |
| 5665 void CreateWeakCellStub::GenerateAheadOfTime(Isolate* isolate) { | 5665 void CreateWeakCellStub::GenerateAheadOfTime(Isolate* isolate) { |
| 5666 CreateWeakCellStub stub(isolate); | 5666 CreateWeakCellStub stub(isolate); |
| 5667 stub.GetCode(); | 5667 stub.GetCode(); |
| 5668 } | 5668 } |
| 5669 | 5669 |
| 5670 | 5670 |
| 5671 void StoreElementStub::Generate(MacroAssembler* masm) { | 5671 void StoreElementStub::Generate(MacroAssembler* masm) { |
| 5672 DCHECK_EQ(DICTIONARY_ELEMENTS, elements_kind()); | 5672 DCHECK_EQ(DICTIONARY_ELEMENTS, elements_kind()); |
| 5673 ElementHandlerCompiler::GenerateStoreSlow(masm); | 5673 KeyedStoreIC::GenerateSlow(masm); |
| 5674 } | 5674 } |
| 5675 | 5675 |
| 5676 void StoreFastElementStub::GenerateAssembly( | 5676 void StoreFastElementStub::GenerateAssembly( |
| 5677 CodeStubAssembler* assembler) const { | 5677 CodeStubAssembler* assembler) const { |
| 5678 typedef CodeStubAssembler::Label Label; | 5678 typedef CodeStubAssembler::Label Label; |
| 5679 typedef compiler::Node Node; | 5679 typedef compiler::Node Node; |
| 5680 | 5680 |
| 5681 assembler->Comment( | 5681 assembler->Comment( |
| 5682 "StoreFastElementStub: js_array=%d, elements_kind=%s, store_mode=%d", | 5682 "StoreFastElementStub: js_array=%d, elements_kind=%s, store_mode=%d", |
| 5683 is_js_array(), ElementsKindToString(elements_kind()), store_mode()); | 5683 is_js_array(), ElementsKindToString(elements_kind()), store_mode()); |
| (...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6034 | 6034 |
| 6035 if (type == MachineType::Pointer()) { | 6035 if (type == MachineType::Pointer()) { |
| 6036 return Representation::External(); | 6036 return Representation::External(); |
| 6037 } | 6037 } |
| 6038 | 6038 |
| 6039 return Representation::Tagged(); | 6039 return Representation::Tagged(); |
| 6040 } | 6040 } |
| 6041 | 6041 |
| 6042 } // namespace internal | 6042 } // namespace internal |
| 6043 } // namespace v8 | 6043 } // namespace v8 |
| OLD | NEW |