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

Side by Side Diff: src/compiler/js-operator.h

Issue 650073002: vector-based ICs did not update type feedback counts correctly. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: REBASE. Created 6 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 | Annotate | Revision Log
« no previous file with comments | « src/compiler/ast-graph-builder.cc ('k') | src/factory.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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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_OPERATOR_H_ 5 #ifndef V8_COMPILER_JS_OPERATOR_H_
6 #define V8_COMPILER_JS_OPERATOR_H_ 6 #define V8_COMPILER_JS_OPERATOR_H_
7 7
8 #include "src/runtime/runtime.h" 8 #include "src/runtime/runtime.h"
9 #include "src/unique.h" 9 #include "src/unique.h"
10 10
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 91
92 size_t hash_value(ContextAccess const&); 92 size_t hash_value(ContextAccess const&);
93 93
94 std::ostream& operator<<(std::ostream&, ContextAccess const&); 94 std::ostream& operator<<(std::ostream&, ContextAccess const&);
95 95
96 ContextAccess const& ContextAccessOf(Operator const*); 96 ContextAccess const& ContextAccessOf(Operator const*);
97 97
98 98
99 class VectorSlotPair { 99 class VectorSlotPair {
100 public: 100 public:
101 VectorSlotPair(Handle<TypeFeedbackVector> vector, FeedbackVectorSlot slot) 101 VectorSlotPair(Handle<TypeFeedbackVector> vector, FeedbackVectorICSlot slot)
102 : vector_(vector), slot_(slot) {} 102 : vector_(vector), slot_(slot) {}
103 103
104 Handle<TypeFeedbackVector> vector() const { return vector_; } 104 Handle<TypeFeedbackVector> vector() const { return vector_; }
105 FeedbackVectorSlot slot() const { return slot_; } 105 FeedbackVectorICSlot slot() const { return slot_; }
106 106
107 private: 107 private:
108 const Handle<TypeFeedbackVector> vector_; 108 const Handle<TypeFeedbackVector> vector_;
109 const FeedbackVectorSlot slot_; 109 const FeedbackVectorICSlot slot_;
110 }; 110 };
111 111
112 112
113 bool operator==(VectorSlotPair const& lhs, VectorSlotPair const& rhs); 113 bool operator==(VectorSlotPair const& lhs, VectorSlotPair const& rhs);
114 114
115 115
116 // Defines the property being loaded from an object by a named load. This is 116 // Defines the property being loaded from an object by a named load. This is
117 // used as a parameter by JSLoadNamed operators. 117 // used as a parameter by JSLoadNamed operators.
118 class LoadNamedParameters FINAL { 118 class LoadNamedParameters FINAL {
119 public: 119 public:
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
264 264
265 const JSOperatorBuilderImpl& impl_; 265 const JSOperatorBuilderImpl& impl_;
266 Zone* const zone_; 266 Zone* const zone_;
267 }; 267 };
268 268
269 } // namespace compiler 269 } // namespace compiler
270 } // namespace internal 270 } // namespace internal
271 } // namespace v8 271 } // namespace v8
272 272
273 #endif // V8_COMPILER_JS_OPERATOR_H_ 273 #endif // V8_COMPILER_JS_OPERATOR_H_
OLDNEW
« no previous file with comments | « src/compiler/ast-graph-builder.cc ('k') | src/factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698