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

Unified Diff: src/lookup.h

Issue 1062163005: track global accesses to constant types (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: comment out STORE_TO_INITIALIZED_ENTRY 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 side-by-side diff with in-line comments
Download patch
« src/hydrogen.cc ('K') | « src/ic/ic.cc ('k') | src/objects.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/lookup.h
diff --git a/src/lookup.h b/src/lookup.h
index f658b1382904c352d12e92b7f74b7dcac3ed6e65..7443bbc7be919f3ddfb38f2738ad22d078bbd93f 100644
--- a/src/lookup.h
+++ b/src/lookup.h
@@ -145,6 +145,12 @@ class LookupIterator FINAL BASE_EMBEDDED {
Handle<Object> WriteDataValue(Handle<Object> value);
void InternalizeName();
+ int dictionary_entry() const {
+ DCHECK(has_property_);
+ DCHECK(holder_map_->is_dictionary_map());
+ return number_;
+ }
+
private:
enum class InterceptorState {
kUninitialized,
@@ -176,11 +182,6 @@ class LookupIterator FINAL BASE_EMBEDDED {
DCHECK(!holder_map_->is_dictionary_map());
return number_;
}
- int dictionary_entry() const {
- DCHECK(has_property_);
- DCHECK(holder_map_->is_dictionary_map());
- return number_;
- }
static Configuration ComputeConfiguration(
Configuration configuration, Handle<Name> name) {
« src/hydrogen.cc ('K') | « src/ic/ic.cc ('k') | src/objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698