OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 #include "src/v8.h" | 5 #include "src/v8.h" |
6 | 6 |
7 #include "src/base/bits.h" | 7 #include "src/base/bits.h" |
8 #include "src/ic/stub-cache.h" | 8 #include "src/ic/stub-cache.h" |
9 #include "src/type-info.h" | 9 #include "src/type-info.h" |
10 | 10 |
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
136 | 136 |
137 // Lookup in secondary table and add matches. | 137 // Lookup in secondary table and add matches. |
138 int offset = SecondaryOffset(*name, flags, primary_offset); | 138 int offset = SecondaryOffset(*name, flags, primary_offset); |
139 if (entry(secondary_, offset) == &secondary_[i] && | 139 if (entry(secondary_, offset) == &secondary_[i] && |
140 TypeFeedbackOracle::IsRelevantFeedback(map, *native_context)) { | 140 TypeFeedbackOracle::IsRelevantFeedback(map, *native_context)) { |
141 types->AddMapIfMissing(Handle<Map>(map), zone); | 141 types->AddMapIfMissing(Handle<Map>(map), zone); |
142 } | 142 } |
143 } | 143 } |
144 } | 144 } |
145 } | 145 } |
146 } | 146 } // namespace internal |
147 } // namespace v8::internal | 147 } // namespace v8 |
OLD | NEW |