diff options
Diffstat (limited to 'deps/v8/src/ic/ic.h')
-rw-r--r-- | deps/v8/src/ic/ic.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/deps/v8/src/ic/ic.h b/deps/v8/src/ic/ic.h index acbfccd4c6..a63202395b 100644 --- a/deps/v8/src/ic/ic.h +++ b/deps/v8/src/ic/ic.h @@ -119,6 +119,7 @@ class IC { bool IsTransitionOfMonomorphicTarget(Map* source_map, Map* target_map); void PatchCache(Handle<Name> name, Handle<Object> code); FeedbackSlotKind kind() const { return kind_; } + bool IsGlobalIC() const { return IsLoadGlobalIC() || IsStoreGlobalIC(); } bool IsLoadIC() const { return IsLoadICKind(kind_); } bool IsLoadGlobalIC() const { return IsLoadGlobalICKind(kind_); } bool IsKeyedLoadIC() const { return IsKeyedLoadICKind(kind_); } @@ -339,8 +340,7 @@ class StoreGlobalIC : public StoreIC { StoreGlobalIC(Isolate* isolate, FeedbackNexus* nexus) : StoreIC(isolate, nexus) {} - MUST_USE_RESULT MaybeHandle<Object> Store(Handle<Object> object, - Handle<Name> name, + MUST_USE_RESULT MaybeHandle<Object> Store(Handle<Name> name, Handle<Object> value); protected: |