Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1182)

Side by Side Diff: src/code-stub-assembler.h

Issue 2438553003: [ic] Support data handlers that represent simple field stores. (Closed)
Patch Set: One more fix for GC stress issues Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | src/code-stub-assembler.cc » ('j') | src/ic/ic.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
1078 compiler::Node* TryToIntptr(compiler::Node* key, Label* miss); 1093 compiler::Node* TryToIntptr(compiler::Node* key, Label* miss);
1079 void EmitFastElementsBoundsCheck(compiler::Node* object, 1094 void EmitFastElementsBoundsCheck(compiler::Node* object,
1080 compiler::Node* elements, 1095 compiler::Node* elements,
1081 compiler::Node* intptr_index, 1096 compiler::Node* intptr_index,
1082 compiler::Node* is_jsarray_condition, 1097 compiler::Node* is_jsarray_condition,
1083 Label* miss); 1098 Label* miss);
1084 void EmitElementLoad(compiler::Node* object, compiler::Node* elements, 1099 void EmitElementLoad(compiler::Node* object, compiler::Node* elements,
1085 compiler::Node* elements_kind, compiler::Node* key, 1100 compiler::Node* elements_kind, compiler::Node* key,
1086 compiler::Node* is_jsarray_condition, Label* if_hole, 1101 compiler::Node* is_jsarray_condition, Label* if_hole,
1087 Label* rebox_double, Variable* var_double_value, 1102 Label* rebox_double, Variable* var_double_value,
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
1123 static const int kElementLoopUnrollThreshold = 8; 1138 static const int kElementLoopUnrollThreshold = 8;
1124 }; 1139 };
1125 1140
1126 #define CSA_ASSERT(x) Assert((x), #x, __FILE__, __LINE__) 1141 #define CSA_ASSERT(x) Assert((x), #x, __FILE__, __LINE__)
1127 1142
1128 DEFINE_OPERATORS_FOR_FLAGS(CodeStubAssembler::AllocationFlags); 1143 DEFINE_OPERATORS_FOR_FLAGS(CodeStubAssembler::AllocationFlags);
1129 1144
1130 } // namespace internal 1145 } // namespace internal
1131 } // namespace v8 1146 } // namespace v8
1132 #endif // V8_CODE_STUB_ASSEMBLER_H_ 1147 #endif // V8_CODE_STUB_ASSEMBLER_H_
OLDNEW
« no previous file with comments | « no previous file | src/code-stub-assembler.cc » ('j') | src/ic/ic.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698