Index: src/frames-inl.h |
diff --git a/src/frames-inl.h b/src/frames-inl.h |
index 8d10645d1d06f9e5a3441eba8b65fbe3043cef86..0b85061d3d7e3ed89f4cc303c40910d19c60e367 100644 |
--- a/src/frames-inl.h |
+++ b/src/frames-inl.h |
@@ -274,10 +274,10 @@ inline bool JavaScriptFrame::has_adapted_arguments() const { |
} |
-inline Object* JavaScriptFrame::function() const { |
+inline JSFunction* JavaScriptFrame::function() const { |
Object* result = function_slot_object(); |
ASSERT(result->IsJSFunction()); |
Toon Verwaest
2013/07/11 15:23:46
You can remove this assert, it's implicit in the c
titzer
2013/07/11 15:30:19
Done.
|
- return result; |
+ return JSFunction::cast(result); |
} |