Index: src/frames-ia32.h |
diff --git a/src/frames-ia32.h b/src/frames-ia32.h |
index e31906de3b82eb9425cd40a6ee8b5a1d61c23990..518b1ca553b409e5a6408ee7fb0eb562be620687 100644 |
--- a/src/frames-ia32.h |
+++ b/src/frames-ia32.h |
@@ -129,11 +129,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); |
} |