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

Side by Side Diff: src/compiler/state-values-utils.h

Issue 2369963002: [base] Remove PointersMatch, making a separate std::equals hashmap (Closed)
Patch Set: Fix the other simulators Created 4 years, 2 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 | « src/bootstrapper.cc ('k') | src/crankshaft/hydrogen-bce.h » ('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_STATE_VALUES_UTILS_H_ 5 #ifndef V8_COMPILER_STATE_VALUES_UTILS_H_
6 #define V8_COMPILER_STATE_VALUES_UTILS_H_ 6 #define V8_COMPILER_STATE_VALUES_UTILS_H_
7 7
8 #include "src/compiler/js-graph.h" 8 #include "src/compiler/js-graph.h"
9 9
10 namespace v8 { 10 namespace v8 {
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 NodeVector* GetWorkingSpace(size_t level); 48 NodeVector* GetWorkingSpace(size_t level);
49 Node* GetEmptyStateValues(); 49 Node* GetEmptyStateValues();
50 Node* GetValuesNodeFromCache(Node** nodes, size_t count); 50 Node* GetValuesNodeFromCache(Node** nodes, size_t count);
51 51
52 Graph* graph() { return js_graph_->graph(); } 52 Graph* graph() { return js_graph_->graph(); }
53 CommonOperatorBuilder* common() { return js_graph_->common(); } 53 CommonOperatorBuilder* common() { return js_graph_->common(); }
54 54
55 Zone* zone() { return graph()->zone(); } 55 Zone* zone() { return graph()->zone(); }
56 56
57 JSGraph* js_graph_; 57 JSGraph* js_graph_;
58 ZoneHashMap hash_map_; 58 CustomMatcherZoneHashMap hash_map_;
59 ZoneVector<NodeVector*> working_space_; // One working space per level. 59 ZoneVector<NodeVector*> working_space_; // One working space per level.
60 Node* empty_state_values_; 60 Node* empty_state_values_;
61 }; 61 };
62 62
63 class StateValuesAccess { 63 class StateValuesAccess {
64 public: 64 public:
65 struct TypedNode { 65 struct TypedNode {
66 Node* node; 66 Node* node;
67 MachineType type; 67 MachineType type;
68 TypedNode(Node* node, MachineType type) : node(node), type(type) {} 68 TypedNode(Node* node, MachineType type) : node(node), type(type) {}
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 111
112 private: 112 private:
113 Node* node_; 113 Node* node_;
114 }; 114 };
115 115
116 } // namespace compiler 116 } // namespace compiler
117 } // namespace internal 117 } // namespace internal
118 } // namespace v8 118 } // namespace v8
119 119
120 #endif // V8_COMPILER_STATE_VALUES_UTILS_H_ 120 #endif // V8_COMPILER_STATE_VALUES_UTILS_H_
OLDNEW
« no previous file with comments | « src/bootstrapper.cc ('k') | src/crankshaft/hydrogen-bce.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698