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

Side by Side Diff: src/lookup.h

Issue 1182303004: All private symbols are own symbols (Closed) Base URL: https://chromium.googlesource.com/v8/v8@master
Patch Set: Fix nits Created 5 years, 6 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/isolate.cc ('k') | src/macros.py » ('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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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_LOOKUP_H_ 5 #ifndef V8_LOOKUP_H_
6 #define V8_LOOKUP_H_ 6 #define V8_LOOKUP_H_
7 7
8 #include "src/factory.h" 8 #include "src/factory.h"
9 #include "src/isolate.h" 9 #include "src/isolate.h"
10 #include "src/objects.h" 10 #include "src/objects.h"
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after
270 return number_; 270 return number_;
271 } 271 }
272 int dictionary_entry() const { 272 int dictionary_entry() const {
273 DCHECK(has_property_); 273 DCHECK(has_property_);
274 DCHECK(holder_map_->is_dictionary_map()); 274 DCHECK(holder_map_->is_dictionary_map());
275 return number_; 275 return number_;
276 } 276 }
277 277
278 static Configuration ComputeConfiguration( 278 static Configuration ComputeConfiguration(
279 Configuration configuration, Handle<Name> name) { 279 Configuration configuration, Handle<Name> name) {
280 if (name->IsOwn()) { 280 if (name->IsPrivate()) {
281 return static_cast<Configuration>(configuration & 281 return static_cast<Configuration>(configuration &
282 HIDDEN_SKIP_INTERCEPTOR); 282 HIDDEN_SKIP_INTERCEPTOR);
283 } else { 283 } else {
284 return configuration; 284 return configuration;
285 } 285 }
286 } 286 }
287 287
288 enum class ExoticIndexState { kUninitialized, kNotExotic, kExotic }; 288 enum class ExoticIndexState { kUninitialized, kNotExotic, kExotic };
289 bool IsIntegerIndexedExotic(JSReceiver* holder); 289 bool IsIntegerIndexedExotic(JSReceiver* holder);
290 290
(...skipping 13 matching lines...) Expand all
304 Handle<JSReceiver> holder_; 304 Handle<JSReceiver> holder_;
305 Handle<Map> holder_map_; 305 Handle<Map> holder_map_;
306 const Handle<JSReceiver> initial_holder_; 306 const Handle<JSReceiver> initial_holder_;
307 uint32_t number_; 307 uint32_t number_;
308 }; 308 };
309 309
310 310
311 } } // namespace v8::internal 311 } } // namespace v8::internal
312 312
313 #endif // V8_LOOKUP_H_ 313 #endif // V8_LOOKUP_H_
OLDNEW
« no previous file with comments | « src/isolate.cc ('k') | src/macros.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698