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

Unified Diff: src/objects.h

Issue 1704353002: [runtime] Force internalize names used before lookup in in DescriptorArray and TransitionArray (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 10 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
« no previous file with comments | « src/lookup.cc ('k') | src/objects.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects.h
diff --git a/src/objects.h b/src/objects.h
index d7d4dfa4e242968d2ba95c5fda2344e8eaae4eff..ca33b8892206456c3a1e595d1a25f8a602fc6e84 100644
--- a/src/objects.h
+++ b/src/objects.h
@@ -8572,10 +8572,7 @@ class Name: public HeapObject {
// If the name is private, it can only name own properties.
inline bool IsPrivate();
- // If the name is a non-flat string, this method returns a flat version of the
- // string. Otherwise it'll just return the input.
- static inline Handle<Name> Flatten(Handle<Name> name,
- PretenureFlag pretenure = NOT_TENURED);
+ inline bool IsUniqueName() const;
// Return a string version of this name that is converted according to the
// rules described in ES6 section 9.2.11.
« no previous file with comments | « src/lookup.cc ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698