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

Unified Diff: src/objects.h

Issue 1901423002: Always include js-getter as separate field in AccessorInfo (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 8 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/external-reference-table.cc ('k') | src/objects.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects.h
diff --git a/src/objects.h b/src/objects.h
index 70f26c177074b5b63b00840eac502086815ff6c2..fece0b232d8328ec7e29133a20b6acee0cf280d5 100644
--- a/src/objects.h
+++ b/src/objects.h
@@ -10259,11 +10259,9 @@ class AccessorInfo: public Struct {
DECL_ACCESSORS(js_getter, Object)
DECL_ACCESSORS(data, Object)
-#ifdef USE_SIMULATOR
static Address redirect(Isolate* isolate, Address address,
AccessorComponent component);
Address redirected_getter() const;
-#endif
// Dispatched behavior.
DECLARE_PRINTER(AccessorInfo)
@@ -10302,11 +10300,7 @@ class AccessorInfo: public Struct {
static const int kExpectedReceiverTypeOffset = kFlagOffset + kPointerSize;
static const int kSetterOffset = kExpectedReceiverTypeOffset + kPointerSize;
static const int kGetterOffset = kSetterOffset + kPointerSize;
-#ifdef USE_SIMULATOR
static const int kJsGetterOffset = kGetterOffset + kPointerSize;
-#else
- static const int kJsGetterOffset = kGetterOffset;
-#endif
static const int kDataOffset = kJsGetterOffset + kPointerSize;
static const int kSize = kDataOffset + kPointerSize;
« no previous file with comments | « src/external-reference-table.cc ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698