diff options
author | Michaël Zasso <targos@protonmail.com> | 2018-09-21 09:14:51 +0200 |
---|---|---|
committer | Michaël Zasso <targos@protonmail.com> | 2018-09-22 18:29:25 +0200 |
commit | 0e7ddbd3d7e9439c67573b854c49cf82c398ae82 (patch) | |
tree | 2afe372acde921cb57ddb3444ff00c5adef8848c /deps/v8/src/ic/handler-configuration.h | |
parent | 13245dc50da4cb7443c39ef6c68d419d5e6336d4 (diff) | |
download | android-node-v8-0e7ddbd3d7e9439c67573b854c49cf82c398ae82.tar.gz android-node-v8-0e7ddbd3d7e9439c67573b854c49cf82c398ae82.tar.bz2 android-node-v8-0e7ddbd3d7e9439c67573b854c49cf82c398ae82.zip |
deps: update V8 to 7.0.276.20
PR-URL: https://github.com/nodejs/node/pull/22754
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Diffstat (limited to 'deps/v8/src/ic/handler-configuration.h')
-rw-r--r-- | deps/v8/src/ic/handler-configuration.h | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/deps/v8/src/ic/handler-configuration.h b/deps/v8/src/ic/handler-configuration.h index 4807ad695d..305577a2df 100644 --- a/deps/v8/src/ic/handler-configuration.h +++ b/deps/v8/src/ic/handler-configuration.h @@ -8,6 +8,7 @@ #include "src/elements-kind.h" #include "src/field-index.h" #include "src/globals.h" +#include "src/maybe-handles.h" #include "src/objects.h" #include "src/objects/data-handler.h" #include "src/utils.h" @@ -18,6 +19,8 @@ namespace v8 { namespace internal { +class JSProxy; + // A set of bit fields representing Smi handlers for loads and a HeapObject // that represents load handlers that can't be encoded in a Smi. // TODO(ishell): move to load-handler.h @@ -147,7 +150,7 @@ class LoadHandler final : public DataHandler { // needed (e.g., for "nonexistent"), null_value() may be passed in. static Handle<Object> LoadFullChain(Isolate* isolate, Handle<Map> receiver_map, - Handle<Object> holder, + MaybeObjectHandle holder, Handle<Smi> smi_handler); // Creates a data handler that represents a prototype chain check followed @@ -156,8 +159,8 @@ class LoadHandler final : public DataHandler { static Handle<Object> LoadFromPrototype( Isolate* isolate, Handle<Map> receiver_map, Handle<JSReceiver> holder, Handle<Smi> smi_handler, - MaybeHandle<Object> maybe_data1 = MaybeHandle<Object>(), - MaybeHandle<Object> maybe_data2 = MaybeHandle<Object>()); + MaybeObjectHandle maybe_data1 = MaybeObjectHandle(), + MaybeObjectHandle maybe_data2 = MaybeObjectHandle()); // Creates a Smi-handler for loading a non-existent property. Works only as // a part of prototype chain check. @@ -266,8 +269,8 @@ class StoreHandler final : public DataHandler { static Handle<Object> StoreThroughPrototype( Isolate* isolate, Handle<Map> receiver_map, Handle<JSReceiver> holder, Handle<Smi> smi_handler, - MaybeHandle<Object> maybe_data1 = MaybeHandle<Object>(), - MaybeHandle<Object> maybe_data2 = MaybeHandle<Object>()); + MaybeObjectHandle maybe_data1 = MaybeObjectHandle(), + MaybeObjectHandle maybe_data2 = MaybeObjectHandle()); static Handle<Object> StoreElementTransition(Isolate* isolate, Handle<Map> receiver_map, @@ -280,8 +283,7 @@ class StoreHandler final : public DataHandler { // Creates a handler for storing a property to the property cell of a global // object. - static MaybeObjectHandle StoreGlobal(Isolate* isolate, - Handle<PropertyCell> cell); + static MaybeObjectHandle StoreGlobal(Handle<PropertyCell> cell); // Creates a Smi-handler for storing a property to a global proxy object. static inline Handle<Smi> StoreGlobalProxy(Isolate* isolate); |