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

Unified Diff: src/objects.h

Issue 426633002: Encapsulate type in the PropertyHandlerCompiler (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 5 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 59201653ce7b18df2d2baaf87a3bcadd02120b4e..15989e7fff742479bf2855001758565dea31c5a5 100644
--- a/src/objects.h
+++ b/src/objects.h
@@ -10526,7 +10526,10 @@ class AccessorInfo: public Struct {
inline void set_property_attributes(PropertyAttributes attributes);
// Checks whether the given receiver is compatible with this accessor.
- inline bool IsCompatibleReceiver(Object* receiver);
+ inline bool IsCompatibleReceiver(Map* map);
+ inline bool HasExpectedReceiverType() {
+ return expected_receiver_type()->IsFunctionTemplateInfo();
+ }
DECLARE_CAST(AccessorInfo)

Powered by Google App Engine
This is Rietveld 408576698