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

Unified Diff: src/lookup.h

Issue 1689733002: Optimize @@species based on a global 'protector' cell (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Remove blank lines 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/isolate.cc ('k') | src/lookup.cc » ('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 b800a57bcb2dd97d449827a7845094bdc08c9be0..0c298d99bf7ed2a0de1015a1f383a1fb5292c34c 100644
--- a/src/lookup.h
+++ b/src/lookup.h
@@ -256,6 +256,7 @@ class LookupIterator final BASE_EMBEDDED {
}
Handle<Object> GetDataValue() const;
void WriteDataValue(Handle<Object> value);
+ void UpdateProtector();
private:
enum class InterceptorState {
@@ -320,6 +321,8 @@ class LookupIterator final BASE_EMBEDDED {
State NotFound(JSReceiver* const holder) const;
+ bool HolderIsInContextIndex(uint32_t index) const;
+
// If configuration_ becomes mutable, update
// HolderIsReceiverOrHiddenPrototype.
const Configuration configuration_;
« no previous file with comments | « src/isolate.cc ('k') | src/lookup.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698