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

Unified Diff: src/objects.h

Issue 1127983003: Use function wrapper argument to expose internal arrays to native scripts. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 7 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
Index: src/objects.h
diff --git a/src/objects.h b/src/objects.h
index 4823243f2384b510771dd53a76dfa3bdb80c9471..c2788dd49f00d119b8d5181fbaecd5661ab3e81e 100644
--- a/src/objects.h
+++ b/src/objects.h
@@ -1694,9 +1694,6 @@ class JSReceiver: public HeapObject {
// Forward declaration for JSObject::GetOrCreateHiddenPropertiesHashTable.
class ObjectHashTable;
-// Forward declaration for JSObject::Copy.
-class AllocationSite;
-
// The JSObject describes real heap allocated JavaScript objects with
// properties.
@@ -1733,6 +1730,7 @@ class JSObject: public JSReceiver {
DECL_ACCESSORS(elements, FixedArrayBase)
inline void initialize_elements();
static void ResetElements(Handle<JSObject> object);
+ static void ResetProperties(Handle<JSObject> object);
Jakob Kummerow 2015/05/11 15:25:26 I see no implementation and no callers of this.
static inline void SetMapAndElements(Handle<JSObject> object,
Handle<Map> map,
Handle<FixedArrayBase> elements);
@@ -2157,7 +2155,6 @@ class JSObject: public JSReceiver {
// Copy object.
enum DeepCopyHints { kNoHints = 0, kObjectIsShallow = 1 };
- static Handle<JSObject> Copy(Handle<JSObject> object);
MUST_USE_RESULT static MaybeHandle<JSObject> DeepCopy(
Handle<JSObject> object,
AllocationSiteUsageContext* site_context,
« src/bootstrapper.cc ('K') | « src/object-observe.js ('k') | src/promise.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698