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

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

Issue 2198473002: [turbofan] Add support for accessor inlining. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@TurboFan_CheckMaps
Patch Set: Fix bailouts 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
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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 Node* control() const { return control_; } 93 Node* control() const { return control_; }
94 94
95 private: 95 private:
96 Node* const value_; 96 Node* const value_;
97 Node* const effect_; 97 Node* const effect_;
98 Node* const control_; 98 Node* const control_;
99 }; 99 };
100 100
101 // Construct the appropriate subgraph for property access. 101 // Construct the appropriate subgraph for property access.
102 ValueEffectControl BuildPropertyAccess(Node* receiver, Node* value, 102 ValueEffectControl BuildPropertyAccess(Node* receiver, Node* value,
103 Node* context, Node* frame_state,
103 Node* effect, Node* control, 104 Node* effect, Node* control,
104 Handle<Name> name, 105 Handle<Name> name,
105 Handle<Context> native_context, 106 Handle<Context> native_context,
106 PropertyAccessInfo const& access_info, 107 PropertyAccessInfo const& access_info,
107 AccessMode access_mode); 108 AccessMode access_mode);
108 109
109 // Construct the appropriate subgraph for element access. 110 // Construct the appropriate subgraph for element access.
110 ValueEffectControl BuildElementAccess(Node* receiver, Node* index, 111 ValueEffectControl BuildElementAccess(Node* receiver, Node* index,
111 Node* value, Node* effect, 112 Node* value, Node* effect,
112 Node* control, 113 Node* control,
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 DISALLOW_COPY_AND_ASSIGN(JSNativeContextSpecialization); 168 DISALLOW_COPY_AND_ASSIGN(JSNativeContextSpecialization);
168 }; 169 };
169 170
170 DEFINE_OPERATORS_FOR_FLAGS(JSNativeContextSpecialization::Flags) 171 DEFINE_OPERATORS_FOR_FLAGS(JSNativeContextSpecialization::Flags)
171 172
172 } // namespace compiler 173 } // namespace compiler
173 } // namespace internal 174 } // namespace internal
174 } // namespace v8 175 } // namespace v8
175 176
176 #endif // V8_COMPILER_JS_NATIVE_CONTEXT_SPECIALIZATION_H_ 177 #endif // V8_COMPILER_JS_NATIVE_CONTEXT_SPECIALIZATION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698