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

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

Issue 1451273002: [turbofan] Move JSCallFunction specialization to JSCallReducer. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix arm64 failures. Created 5 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 | « src/compiler/js-call-reducer.cc ('k') | 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/access-info.h" 9 #include "src/compiler/access-info.h"
10 #include "src/compiler/graph-reducer.h" 10 #include "src/compiler/graph-reducer.h"
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 typedef base::Flags<Flag> Flags; 43 typedef base::Flags<Flag> Flags;
44 44
45 JSNativeContextSpecialization(Editor* editor, JSGraph* jsgraph, Flags flags, 45 JSNativeContextSpecialization(Editor* editor, JSGraph* jsgraph, Flags flags,
46 Handle<Context> native_context, 46 Handle<Context> native_context,
47 CompilationDependencies* dependencies, 47 CompilationDependencies* dependencies,
48 Zone* zone); 48 Zone* zone);
49 49
50 Reduction Reduce(Node* node) final; 50 Reduction Reduce(Node* node) final;
51 51
52 private: 52 private:
53 Reduction ReduceJSCallFunction(Node* node);
54 Reduction ReduceJSLoadNamed(Node* node); 53 Reduction ReduceJSLoadNamed(Node* node);
55 Reduction ReduceJSStoreNamed(Node* node); 54 Reduction ReduceJSStoreNamed(Node* node);
56 Reduction ReduceJSLoadProperty(Node* node); 55 Reduction ReduceJSLoadProperty(Node* node);
57 Reduction ReduceJSStoreProperty(Node* node); 56 Reduction ReduceJSStoreProperty(Node* node);
58 57
59 Reduction ReduceElementAccess(Node* node, Node* index, Node* value, 58 Reduction ReduceElementAccess(Node* node, Node* index, Node* value,
60 MapHandleList const& receiver_maps, 59 MapHandleList const& receiver_maps,
61 AccessMode access_mode, 60 AccessMode access_mode,
62 LanguageMode language_mode, 61 LanguageMode language_mode,
63 KeyedAccessStoreMode store_mode); 62 KeyedAccessStoreMode store_mode);
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 DISALLOW_COPY_AND_ASSIGN(JSNativeContextSpecialization); 104 DISALLOW_COPY_AND_ASSIGN(JSNativeContextSpecialization);
106 }; 105 };
107 106
108 DEFINE_OPERATORS_FOR_FLAGS(JSNativeContextSpecialization::Flags) 107 DEFINE_OPERATORS_FOR_FLAGS(JSNativeContextSpecialization::Flags)
109 108
110 } // namespace compiler 109 } // namespace compiler
111 } // namespace internal 110 } // namespace internal
112 } // namespace v8 111 } // namespace v8
113 112
114 #endif // V8_COMPILER_JS_NATIVE_CONTEXT_SPECIALIZATION_H_ 113 #endif // V8_COMPILER_JS_NATIVE_CONTEXT_SPECIALIZATION_H_
OLDNEW
« no previous file with comments | « src/compiler/js-call-reducer.cc ('k') | src/compiler/js-native-context-specialization.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698