| 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 1057 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1068 Label* if_not_found); | 1068 Label* if_not_found); |
| 1069 compiler::Node* CallGetterIfAccessor(compiler::Node* value, | 1069 compiler::Node* CallGetterIfAccessor(compiler::Node* value, |
| 1070 compiler::Node* details, | 1070 compiler::Node* details, |
| 1071 compiler::Node* context, | 1071 compiler::Node* context, |
| 1072 compiler::Node* receiver, | 1072 compiler::Node* receiver, |
| 1073 Label* if_bailout); | 1073 Label* if_bailout); |
| 1074 | 1074 |
| 1075 void HandleLoadICHandlerCase( | 1075 void HandleLoadICHandlerCase( |
| 1076 const LoadICParameters* p, compiler::Node* handler, Label* miss, | 1076 const LoadICParameters* p, compiler::Node* handler, Label* miss, |
| 1077 ElementSupport support_elements = kOnlyProperties); | 1077 ElementSupport support_elements = kOnlyProperties); |
| 1078 | |
| 1079 void HandleStoreFieldAndReturn(compiler::Node* handler_word, | |
| 1080 compiler::Node* holder, | |
| 1081 Representation representation, | |
| 1082 compiler::Node* value, | |
| 1083 bool transition_to_field, Label* miss); | |
| 1084 | |
| 1085 void HandleStoreICSmiHandlerCase(compiler::Node* handler_word, | |
| 1086 compiler::Node* holder, | |
| 1087 compiler::Node* value, | |
| 1088 bool transition_to_field, Label* miss); | |
| 1089 | |
| 1090 void HandleStoreICHandlerCase(const StoreICParameters* p, | |
| 1091 compiler::Node* handler, Label* miss); | |
| 1092 | |
| 1093 compiler::Node* TryToIntptr(compiler::Node* key, Label* miss); | 1078 compiler::Node* TryToIntptr(compiler::Node* key, Label* miss); |
| 1094 void EmitFastElementsBoundsCheck(compiler::Node* object, | 1079 void EmitFastElementsBoundsCheck(compiler::Node* object, |
| 1095 compiler::Node* elements, | 1080 compiler::Node* elements, |
| 1096 compiler::Node* intptr_index, | 1081 compiler::Node* intptr_index, |
| 1097 compiler::Node* is_jsarray_condition, | 1082 compiler::Node* is_jsarray_condition, |
| 1098 Label* miss); | 1083 Label* miss); |
| 1099 void EmitElementLoad(compiler::Node* object, compiler::Node* elements, | 1084 void EmitElementLoad(compiler::Node* object, compiler::Node* elements, |
| 1100 compiler::Node* elements_kind, compiler::Node* key, | 1085 compiler::Node* elements_kind, compiler::Node* key, |
| 1101 compiler::Node* is_jsarray_condition, Label* if_hole, | 1086 compiler::Node* is_jsarray_condition, Label* if_hole, |
| 1102 Label* rebox_double, Variable* var_double_value, | 1087 Label* rebox_double, Variable* var_double_value, |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1138 static const int kElementLoopUnrollThreshold = 8; | 1123 static const int kElementLoopUnrollThreshold = 8; |
| 1139 }; | 1124 }; |
| 1140 | 1125 |
| 1141 #define CSA_ASSERT(x) Assert((x), #x, __FILE__, __LINE__) | 1126 #define CSA_ASSERT(x) Assert((x), #x, __FILE__, __LINE__) |
| 1142 | 1127 |
| 1143 DEFINE_OPERATORS_FOR_FLAGS(CodeStubAssembler::AllocationFlags); | 1128 DEFINE_OPERATORS_FOR_FLAGS(CodeStubAssembler::AllocationFlags); |
| 1144 | 1129 |
| 1145 } // namespace internal | 1130 } // namespace internal |
| 1146 } // namespace v8 | 1131 } // namespace v8 |
| 1147 #endif // V8_CODE_STUB_ASSEMBLER_H_ | 1132 #endif // V8_CODE_STUB_ASSEMBLER_H_ |
| OLD | NEW |