| 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 #ifndef V8_CODE_STUB_ASSEMBLER_H_ | 5 #ifndef V8_CODE_STUB_ASSEMBLER_H_ |
| 6 #define V8_CODE_STUB_ASSEMBLER_H_ | 6 #define V8_CODE_STUB_ASSEMBLER_H_ |
| 7 | 7 |
| 8 #include <functional> | 8 #include <functional> |
| 9 | 9 |
| 10 #include "src/compiler/code-assembler.h" | 10 #include "src/compiler/code-assembler.h" |
| (...skipping 734 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 745 FixedArray::kHeaderSize); | 745 FixedArray::kHeaderSize); |
| 746 } | 746 } |
| 747 | 747 |
| 748 private: | 748 private: |
| 749 enum ElementSupport { kOnlyProperties, kSupportElements }; | 749 enum ElementSupport { kOnlyProperties, kSupportElements }; |
| 750 | 750 |
| 751 void DescriptorLookupLinear(compiler::Node* unique_name, | 751 void DescriptorLookupLinear(compiler::Node* unique_name, |
| 752 compiler::Node* descriptors, compiler::Node* nof, | 752 compiler::Node* descriptors, compiler::Node* nof, |
| 753 Label* if_found, Variable* var_name_index, | 753 Label* if_found, Variable* var_name_index, |
| 754 Label* if_not_found); | 754 Label* if_not_found); |
| 755 void ReturnValueOrCallGetter(Variable* var_value, Variable* var_details, |
| 756 compiler::Node* context, |
| 757 compiler::Node* receiver, Label* if_success, |
| 758 Label* if_bailout); |
| 755 | 759 |
| 756 void HandleLoadICHandlerCase( | 760 void HandleLoadICHandlerCase( |
| 757 const LoadICParameters* p, compiler::Node* handler, Label* miss, | 761 const LoadICParameters* p, compiler::Node* handler, Label* miss, |
| 758 ElementSupport support_elements = kOnlyProperties); | 762 ElementSupport support_elements = kOnlyProperties); |
| 759 compiler::Node* TryToIntptr(compiler::Node* key, Label* miss); | 763 compiler::Node* TryToIntptr(compiler::Node* key, Label* miss); |
| 760 void EmitFastElementsBoundsCheck(compiler::Node* object, | 764 void EmitFastElementsBoundsCheck(compiler::Node* object, |
| 761 compiler::Node* elements, | 765 compiler::Node* elements, |
| 762 compiler::Node* intptr_index, | 766 compiler::Node* intptr_index, |
| 763 compiler::Node* is_jsarray_condition, | 767 compiler::Node* is_jsarray_condition, |
| 764 Label* miss); | 768 Label* miss); |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 802 Label* bailout); | 806 Label* bailout); |
| 803 | 807 |
| 804 static const int kElementLoopUnrollThreshold = 8; | 808 static const int kElementLoopUnrollThreshold = 8; |
| 805 }; | 809 }; |
| 806 | 810 |
| 807 DEFINE_OPERATORS_FOR_FLAGS(CodeStubAssembler::AllocationFlags); | 811 DEFINE_OPERATORS_FOR_FLAGS(CodeStubAssembler::AllocationFlags); |
| 808 | 812 |
| 809 } // namespace internal | 813 } // namespace internal |
| 810 } // namespace v8 | 814 } // namespace v8 |
| 811 #endif // V8_CODE_STUB_ASSEMBLER_H_ | 815 #endif // V8_CODE_STUB_ASSEMBLER_H_ |
| OLD | NEW |