Index: src/lookup.h |
diff --git a/src/lookup.h b/src/lookup.h |
index b0564431c501e646e9a6b600b4281c8f2b72b9ba..5396619852ea94981531d46b2877a2bc1c06dada 100644 |
--- a/src/lookup.h |
+++ b/src/lookup.h |
@@ -162,6 +162,8 @@ class LookupIterator final BASE_EMBEDDED { |
Isolate* isolate, Handle<Object> receiver, Handle<Object> key, |
bool* success, Configuration configuration = DEFAULT); |
+ void Restart() { RestartInternal(InterceptorState::kUninitialized); } |
+ |
Isolate* isolate() const { return isolate_; } |
State state() const { return state_; } |
@@ -260,7 +262,10 @@ class LookupIterator final BASE_EMBEDDED { |
MUST_USE_RESULT inline JSReceiver* NextHolder(Map* map); |
inline State LookupInHolder(Map* map, JSReceiver* holder); |
- void RestartLookupForNonMaskingInterceptors(); |
+ void RestartLookupForNonMaskingInterceptors() { |
+ RestartInternal(InterceptorState::kProcessNonMasking); |
+ } |
+ void RestartInternal(InterceptorState interceptor_state); |
State LookupNonMaskingInterceptorInHolder(Map* map, JSReceiver* holder); |
Handle<Object> FetchValue() const; |
void ReloadPropertyInformation(); |