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

Side by Side Diff: src/compiler/js-type-feedback.h

Issue 1038953002: [turbofan] Reduce JSLoadProperty and JSStoreProperty of strings to JSLoadNamed and JSStoreNamed. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 8 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-type-feedback.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_TYPE_FEEDBACK_H_ 5 #ifndef V8_COMPILER_JS_TYPE_FEEDBACK_H_
6 #define V8_COMPILER_JS_TYPE_FEEDBACK_H_ 6 #define V8_COMPILER_JS_TYPE_FEEDBACK_H_
7 7
8 #include "src/utils.h" 8 #include "src/utils.h"
9 9
10 #include "src/compiler/graph-reducer.h" 10 #include "src/compiler/graph-reducer.h"
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 Reduction ReduceJSStoreProperty(Node* node); 67 Reduction ReduceJSStoreProperty(Node* node);
68 68
69 private: 69 private:
70 JSGraph* jsgraph_; 70 JSGraph* jsgraph_;
71 SimplifiedOperatorBuilder simplified_; 71 SimplifiedOperatorBuilder simplified_;
72 JSTypeFeedbackTable* js_type_feedback_; 72 JSTypeFeedbackTable* js_type_feedback_;
73 TypeFeedbackOracle* oracle_; 73 TypeFeedbackOracle* oracle_;
74 74
75 TypeFeedbackOracle* oracle() { return oracle_; } 75 TypeFeedbackOracle* oracle() { return oracle_; }
76 Graph* graph() { return jsgraph_->graph(); } 76 Graph* graph() { return jsgraph_->graph(); }
77 JSGraph* jsgraph() { return jsgraph_; }
77 CommonOperatorBuilder* common() { return jsgraph_->common(); } 78 CommonOperatorBuilder* common() { return jsgraph_->common(); }
78 SimplifiedOperatorBuilder* simplified() { return &simplified_; } 79 SimplifiedOperatorBuilder* simplified() { return &simplified_; }
79 80
80 void BuildMapCheck(Node* receiver, Handle<Map> map, bool smi_check, 81 void BuildMapCheck(Node* receiver, Handle<Map> map, bool smi_check,
81 Node* effect, Node* control, Node** success, Node** fail); 82 Node* effect, Node* control, Node** success, Node** fail);
82 83
83 void GatherReceiverTypes(Node* receiver, Node* effect, TypeFeedbackId id, 84 void GatherReceiverTypes(Node* receiver, Node* effect, TypeFeedbackId id,
84 Handle<Name> property, SmallMapList* maps); 85 Handle<Name> property, SmallMapList* maps);
85 }; 86 };
86 87
87 } // namespace compiler 88 } // namespace compiler
88 } // namespace internal 89 } // namespace internal
89 } // namespace v8 90 } // namespace v8
90 91
91 #endif 92 #endif
OLDNEW
« no previous file with comments | « no previous file | src/compiler/js-type-feedback.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698