Index: src/frames-arm.h |
diff --git a/src/frames-arm.h b/src/frames-arm.h |
index 0d1a27c3f3e2c36791df8489fc2cb4c0e6618293..930f6e0e0bd391fdb887fc000fede5bfb6a244a0 100644 |
--- a/src/frames-arm.h |
+++ b/src/frames-arm.h |
@@ -154,11 +154,9 @@ class InternalFrameConstants : public AllStatic { |
}; |
-inline Object* JavaScriptFrame::function() const { |
+inline Object* JavaScriptFrame::function_slot_object() const { |
const int offset = JavaScriptFrameConstants::kFunctionOffset; |
- Object* result = Memory::Object_at(fp() + offset); |
- ASSERT(result->IsJSFunction()); |
- return result; |
+ return Memory::Object_at(fp() + offset); |
} |