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

Unified Diff: src/objects.h

Issue 697603002: Optimized nodeType dom binding by removing HandleScope and the preparation of ordinary c function c… (Closed) Base URL: https://chromium.googlesource.com/external/v8.git@master
Patch Set: Created 6 years, 2 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/ic/x64/handler-compiler-x64.cc ('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 d513f979226806e4be9ae6f5c69b0c64996c1e1b..855501532f094cdaf1d83fb28a5c315e45644a38 100644
--- a/src/objects.h
+++ b/src/objects.h
@@ -10223,6 +10223,9 @@ class AccessorInfo: public Struct {
inline PropertyAttributes property_attributes();
inline void set_property_attributes(PropertyAttributes attributes);
+ inline bool can_fast_call();
+ inline void set_can_fast_call(bool value);
+
// Checks whether the given receiver is compatible with this accessor.
static bool IsCompatibleReceiverType(Isolate* isolate,
Handle<AccessorInfo> info,
@@ -10252,7 +10255,9 @@ class AccessorInfo: public Struct {
// Bit positions in flag.
static const int kAllCanReadBit = 0;
static const int kAllCanWriteBit = 1;
+ static const int kCanFastCall = 0;
class AttributesField: public BitField<PropertyAttributes, 2, 3> {};
+ class AccessorOptimizeLevel: public BitField<int, 5, 2> {};
DISALLOW_IMPLICIT_CONSTRUCTORS(AccessorInfo);
};
« no previous file with comments | « src/ic/x64/handler-compiler-x64.cc ('k') | src/objects-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698