| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 6165894 commit 11f790d
4 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -132,14 +132,14 @@ v8::EmbedderGraph::Node::Detachedness BaseObject::GetDetachedness() const { | |||
| 132 | 132 | ||
| 133 | 133 | template <int Field> | |
| 134 | 134 | void BaseObject::InternalFieldGet( | |
| 135 | - v8::Local<v8::String> property, | ||
| 135 | + v8::Local<v8::Name> property, | ||
| 136 | 136 | const v8::PropertyCallbackInfo<v8::Value>& info) { | |
| 137 | 137 | info.GetReturnValue().Set( | |
| 138 | 138 | info.This()->GetInternalField(Field).As<v8::Value>()); | |
| 139 | 139 | } | |
| 140 | 140 | ||
| 141 | - template <int Field, bool (v8::Value::* typecheck)() const> | ||
| 142 | - void BaseObject::InternalFieldSet(v8::Local<v8::String> property, | ||
| 141 | + template <int Field, bool (v8::Value::*typecheck)() const> | ||
| 142 | + void BaseObject::InternalFieldSet(v8::Local<v8::Name> property, | ||
| 143 | 143 | v8::Local<v8::Value> value, | |
| 144 | 144 | const v8::PropertyCallbackInfo<void>& info) { | |
| 145 | 145 | // This could be e.g. value->IsFunction(). | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -111,10 +111,10 @@ class BaseObject : public MemoryRetainer { | |||
| 111 | 111 | ||
| 112 | 112 | // Setter/Getter pair for internal fields that can be passed to SetAccessor. | |
| 113 | 113 | template <int Field> | |
| 114 | - static void InternalFieldGet(v8::Local<v8::String> property, | ||
| 114 | + static void InternalFieldGet(v8::Local<v8::Name> property, | ||
| 115 | 115 | const v8::PropertyCallbackInfo<v8::Value>& info); | |
| 116 | 116 | template <int Field, bool (v8::Value::*typecheck)() const> | |
| 117 | - static void InternalFieldSet(v8::Local<v8::String> property, | ||
| 117 | + static void InternalFieldSet(v8::Local<v8::Name> property, | ||
| 118 | 118 | v8::Local<v8::Value> value, | |
| 119 | 119 | const v8::PropertyCallbackInfo<void>& info); | |
| 120 | 120 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -11,7 +11,6 @@ namespace node { | |||
| 11 | 11 | namespace builtins { | |
| 12 | 12 | ||
| 13 | 13 | using v8::Context; | |
| 14 | - using v8::DEFAULT; | ||
| 15 | 14 | using v8::EscapableHandleScope; | |
| 16 | 15 | using v8::Function; | |
| 17 | 16 | using v8::FunctionCallbackInfo; | |
@@ -710,15 +709,13 @@ void BuiltinLoader::CreatePerIsolateProperties(IsolateData* isolate_data, | |||
| 710 | 709 | nullptr, | |
| 711 | 710 | Local<Value>(), | |
| 712 | 711 | None, | |
| 713 | - DEFAULT, | ||
| 714 | 712 | SideEffectType::kHasNoSideEffect); | |
| 715 | 713 | ||
| 716 | 714 | target->SetNativeDataProperty(FIXED_ONE_BYTE_STRING(isolate, "builtinIds"), | |
| 717 | 715 | BuiltinIdsGetter, | |
| 718 | 716 | nullptr, | |
| 719 | 717 | Local<Value>(), | |
| 720 | 718 | None, | |
| 721 | - DEFAULT, | ||
| 722 | 719 | SideEffectType::kHasNoSideEffect); | |
| 723 | 720 | ||
| 724 | 721 | target->SetNativeDataProperty( | |
@@ -727,15 +724,13 @@ void BuiltinLoader::CreatePerIsolateProperties(IsolateData* isolate_data, | |||
| 727 | 724 | nullptr, | |
| 728 | 725 | Local<Value>(), | |
| 729 | 726 | None, | |
| 730 | - DEFAULT, | ||
| 731 | 727 | SideEffectType::kHasNoSideEffect); | |
| 732 | 728 | ||
| 733 | 729 | target->SetNativeDataProperty(FIXED_ONE_BYTE_STRING(isolate, "natives"), | |
| 734 | 730 | GetNatives, | |
| 735 | 731 | nullptr, | |
| 736 | 732 | Local<Value>(), | |
| 737 | 733 | None, | |
| 738 | - DEFAULT, | ||
| 739 | 734 | SideEffectType::kHasNoSideEffect); | |
| 740 | 735 | ||
| 741 | 736 | SetMethod(isolate, target, "getCacheUsage", BuiltinLoader::GetCacheUsage); | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -68,8 +68,6 @@ class ExternalReferenceRegistry { | |||
| 68 | 68 | V(CFunctionWithBool) \ | |
| 69 | 69 | V(const v8::CFunctionInfo*) \ | |
| 70 | 70 | V(v8::FunctionCallback) \ | |
| 71 | - V(v8::AccessorGetterCallback) \ | ||
| 72 | - V(v8::AccessorSetterCallback) \ | ||
| 73 | 71 | V(v8::AccessorNameGetterCallback) \ | |
| 74 | 72 | V(v8::AccessorNameSetterCallback) \ | |
| 75 | 73 | V(v8::NamedPropertyGetterCallback) \ | |
| Back | FazBrowse Home | New Git URL |
0 commit comments