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

Unified Diff: src/accessors.cc

Issue 1600923002: [runtime] Stop cloning AccessorInfo, just rely on PropertyAttributes for readonly. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 11 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/accessors.h ('k') | src/objects.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/accessors.cc
diff --git a/src/accessors.cc b/src/accessors.cc
index 7563256a39118e464ad40b5e4931b6763f20dd2f..502dc4c1b256e1027dd2cf8234534da35b38a89e 100644
--- a/src/accessors.cc
+++ b/src/accessors.cc
@@ -41,20 +41,6 @@ Handle<AccessorInfo> Accessors::MakeAccessor(
}
-Handle<AccessorInfo> Accessors::CloneAccessor(Isolate* isolate,
- Handle<AccessorInfo> accessor) {
- Factory* factory = isolate->factory();
- Handle<AccessorInfo> info = factory->NewAccessorInfo();
- info->set_name(accessor->name());
- info->set_flag(accessor->flag());
- info->set_expected_receiver_type(accessor->expected_receiver_type());
- info->set_getter(accessor->getter());
- info->set_setter(accessor->setter());
- info->set_data(accessor->data());
- return info;
-}
-
-
static V8_INLINE bool CheckForName(Handle<Name> name,
Handle<String> property_name,
int offset,
« no previous file with comments | « src/accessors.h ('k') | src/objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698