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

Unified Diff: src/objects.h

Issue 2084923003: Optimize HandleApiCallHelper and friends (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 6 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/builtins.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 694b93265a67b5d1042f42b74c3fbf8f9ecbb4c3..00082afb520d3a112e7625a98dacce8f2c4572ac 100644
--- a/src/objects.h
+++ b/src/objects.h
@@ -10545,13 +10545,9 @@ class FunctionTemplateInfo: public TemplateInfo {
static const int kSize = kLengthOffset + kPointerSize;
// Returns true if |object| is an instance of this function template.
- bool IsTemplateFor(Object* object);
+ bool IsTemplateFor(JSObject* object);
bool IsTemplateFor(Map* map);
- // Returns the holder JSObject if the function can legally be called with this
- // receiver. Returns Heap::null_value() if the call is illegal.
- Object* GetCompatibleReceiver(Isolate* isolate, Object* receiver);
-
private:
// Bit position in the flag, from least significant bit position.
static const int kHiddenPrototypeBit = 0;
« no previous file with comments | « src/builtins.cc ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698