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

Side by Side Diff: src/compiler/js-native-context-specialization.h

Issue 2210883002: [turbofan] Add support for "ignore OOB stores" to typed arrays. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 4 months 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/compiler/js-native-context-specialization.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 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_COMPILER_JS_NATIVE_CONTEXT_SPECIALIZATION_H_ 5 #ifndef V8_COMPILER_JS_NATIVE_CONTEXT_SPECIALIZATION_H_
6 #define V8_COMPILER_JS_NATIVE_CONTEXT_SPECIALIZATION_H_ 6 #define V8_COMPILER_JS_NATIVE_CONTEXT_SPECIALIZATION_H_
7 7
8 #include "src/base/flags.h" 8 #include "src/base/flags.h"
9 #include "src/compiler/graph-reducer.h" 9 #include "src/compiler/graph-reducer.h"
10 #include "src/deoptimize-reason.h" 10 #include "src/deoptimize-reason.h"
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 // Construct the appropriate subgraph for property access. 102 // Construct the appropriate subgraph for property access.
103 ValueEffectControl BuildPropertyAccess(Node* receiver, Node* value, 103 ValueEffectControl BuildPropertyAccess(Node* receiver, Node* value,
104 Node* context, Node* frame_state, 104 Node* context, Node* frame_state,
105 Node* effect, Node* control, 105 Node* effect, Node* control,
106 Handle<Name> name, 106 Handle<Name> name,
107 Handle<Context> native_context, 107 Handle<Context> native_context,
108 PropertyAccessInfo const& access_info, 108 PropertyAccessInfo const& access_info,
109 AccessMode access_mode); 109 AccessMode access_mode);
110 110
111 // Construct the appropriate subgraph for element access. 111 // Construct the appropriate subgraph for element access.
112 ValueEffectControl BuildElementAccess(Node* receiver, Node* index, 112 ValueEffectControl BuildElementAccess(
113 Node* value, Node* effect, 113 Node* receiver, Node* index, Node* value, Node* effect, Node* control,
114 Node* control, 114 Handle<Context> native_context, ElementAccessInfo const& access_info,
115 Handle<Context> native_context, 115 AccessMode access_mode, KeyedAccessStoreMode store_mode);
116 ElementAccessInfo const& access_info,
117 AccessMode access_mode);
118 116
119 // Construct an appropriate map check. 117 // Construct an appropriate map check.
120 Node* BuildCheckMaps(Node* receiver, Node* effect, Node* control, 118 Node* BuildCheckMaps(Node* receiver, Node* effect, Node* control,
121 std::vector<Handle<Map>> const& maps); 119 std::vector<Handle<Map>> const& maps);
122 120
123 // Construct an appropriate heap object check. 121 // Construct an appropriate heap object check.
124 Node* BuildCheckTaggedPointer(Node* receiver, Node* effect, Node* control); 122 Node* BuildCheckTaggedPointer(Node* receiver, Node* effect, Node* control);
125 123
126 // Adds stability dependencies on all prototypes of every class in 124 // Adds stability dependencies on all prototypes of every class in
127 // {receiver_type} up to (and including) the {holder}. 125 // {receiver_type} up to (and including) the {holder}.
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 DISALLOW_COPY_AND_ASSIGN(JSNativeContextSpecialization); 167 DISALLOW_COPY_AND_ASSIGN(JSNativeContextSpecialization);
170 }; 168 };
171 169
172 DEFINE_OPERATORS_FOR_FLAGS(JSNativeContextSpecialization::Flags) 170 DEFINE_OPERATORS_FOR_FLAGS(JSNativeContextSpecialization::Flags)
173 171
174 } // namespace compiler 172 } // namespace compiler
175 } // namespace internal 173 } // namespace internal
176 } // namespace v8 174 } // namespace v8
177 175
178 #endif // V8_COMPILER_JS_NATIVE_CONTEXT_SPECIALIZATION_H_ 176 #endif // V8_COMPILER_JS_NATIVE_CONTEXT_SPECIALIZATION_H_
OLDNEW
« no previous file with comments | « no previous file | src/compiler/js-native-context-specialization.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698