| Index: src/frames-inl.h
|
| diff --git a/src/frames-inl.h b/src/frames-inl.h
|
| index 1244092cafa19b9ba2056aa88a997df65d2288a4..07a8976f5d64815828d27178e5895ec0e2f72ea1 100644
|
| --- a/src/frames-inl.h
|
| +++ b/src/frames-inl.h
|
| @@ -276,10 +276,8 @@ inline bool JavaScriptFrame::has_adapted_arguments() const {
|
| }
|
|
|
|
|
| -inline Object* JavaScriptFrame::function() const {
|
| - Object* result = function_slot_object();
|
| - ASSERT(result->IsJSFunction());
|
| - return result;
|
| +inline JSFunction* JavaScriptFrame::function() const {
|
| + return JSFunction::cast(function_slot_object());
|
| }
|
|
|
|
|
|
|