Index: src/accessors.cc |
diff --git a/src/accessors.cc b/src/accessors.cc |
index 0b0f9b0757252a1852c0cc6203f931680e303b6a..64047a284711927db3c3f2bd9d805a79ece11675 100644 |
--- a/src/accessors.cc |
+++ b/src/accessors.cc |
@@ -441,6 +441,13 @@ const AccessorDescriptor Accessors::ScriptEvalFromFunctionName = { |
// |
+Handle<Object> Accessors::FunctionGetPrototype(Handle<Object> object) { |
+ Isolate* isolate = Isolate::Current(); |
+ CALL_HEAP_FUNCTION( |
+ isolate, Accessors::FunctionGetPrototype(*object, 0), Object); |
+} |
+ |
+ |
MaybeObject* Accessors::FunctionGetPrototype(Object* object, void*) { |
Isolate* isolate = Isolate::Current(); |
JSFunction* function = FindInstanceOf<JSFunction>(isolate, object); |