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

Unified Diff: src/objects.h

Issue 414213002: Add a new api in ObjectTemplate to prohibit interceptor for V8DOM binding (Closed) Base URL: https://chromium.googlesource.com/external/v8.git@master
Patch Set: rework the patch by adding new kind of interceptor Created 6 years, 3 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/lookup-inl.h ('k') | src/objects-inl.h » ('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 32dd94f39b64457b6cbe853647222c22d49ba8e5..83b7c815cef00996a2b5a9a49749e25e76bdc11c 100644
--- a/src/objects.h
+++ b/src/objects.h
@@ -10703,6 +10703,8 @@ class InterceptorInfo: public Struct {
DECL_ACCESSORS(deleter, Object)
DECL_ACCESSORS(enumerator, Object)
DECL_ACCESSORS(data, Object)
+ DECL_ACCESSORS(flag, Smi)
+ DECL_BOOLEAN_ACCESSORS(do_not_interceptor_real_name)
DECLARE_CAST(InterceptorInfo)
@@ -10716,9 +10718,11 @@ class InterceptorInfo: public Struct {
static const int kDeleterOffset = kQueryOffset + kPointerSize;
static const int kEnumeratorOffset = kDeleterOffset + kPointerSize;
static const int kDataOffset = kEnumeratorOffset + kPointerSize;
- static const int kSize = kDataOffset + kPointerSize;
+ static const int kFlagOffset = kDataOffset + kPointerSize;
+ static const int kSize = kFlagOffset + kPointerSize;
private:
+ static const int kNotInterceptorRealName = 0;
DISALLOW_IMPLICIT_CONSTRUCTORS(InterceptorInfo);
};
« no previous file with comments | « src/lookup-inl.h ('k') | src/objects-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698